Skip to content

Commit 270a963

Browse files
committed
added documentation for atl modules
1 parent 49c37b6 commit 270a963

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/atl/reference/compiler-options-macros.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ These macros control specific compiler features.
2323
|[ATL_NO_VTABLE](#atl_no_vtable)|A symbol that prevents the vtable pointer from being initialized in the class's constructor and destructor.|
2424
|[ATL_NOINLINE](#atl_noinline)|A symbol that indicates a function shouldn't be inlined.|
2525
|[_ATL_SINGLE_THREADED](#_atl_single_threaded)|Define if all of your objects use the single threading model.|
26+
|[_ATL_MODULES](#_ATL_MODULES)|Removes the use of __if_exists/__if_not_exists in ATL headers.|
2627

2728
## <a name="_atl_all_warnings"></a> _ATL_ALL_WARNINGS
2829

@@ -203,6 +204,14 @@ _ATL_SINGLE_THREADED
203204

204205
Specifies that the object always runs in the primary COM thread. See [Specifying the Project's Threading Model](../../atl/specifying-the-threading-model-for-a-project-atl.md) for other threading options, and [Options, ATL Simple Object Wizard](../../atl/reference/options-atl-simple-object-wizard.md) for a description of the threading models available for an ATL object.
205206

207+
```
208+
_ATL_MODULES
209+
```
210+
211+
### Remarks
212+
213+
Removes the use of __if_exists/__if_not_exists in ATL headers. This prevents crashes on ATL when ussing permissive-
214+
206215
## See also
207216

208217
[Macros](../../atl/reference/atl-macros.md)

0 commit comments

Comments
 (0)