You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -260,7 +260,7 @@ ATL objects normally acquire a class factory by deriving from [CComCoClass](../.
260
260
261
261
Declares a virtual function `GetControllingUnknown`.
262
262
263
-
```
263
+
```cpp
264
264
DECLARE_GET_CONTROLLING_UNKNOWN()
265
265
```
266
266
@@ -272,7 +272,7 @@ Add this macro to your object if you get the compiler error message that `GetCon
272
272
273
273
Specifies that your object cannot be aggregated.
274
274
275
-
```
275
+
```cpp
276
276
DECLARE_NOT_AGGREGATABLE( x )
277
277
```
278
278
@@ -295,7 +295,7 @@ By default, [CComCoClass](../../atl/reference/ccomcoclass-class.md) contains the
295
295
296
296
Specifies that your object must be aggregated.
297
297
298
-
```
298
+
```cpp
299
299
DECLARE_ONLY_AGGREGATABLE( x )
300
300
```
301
301
@@ -318,7 +318,7 @@ By default, [CComCoClass](../../atl/reference/ccomcoclass-class.md) contains the
318
318
319
319
Specifies that an instance of **CComPolyObject \<***x***>** is created when your object is created.
320
320
321
-
```
321
+
```cpp
322
322
DECLARE_POLY_AGGREGATABLE( x )
323
323
```
324
324
@@ -339,15 +339,15 @@ The DECLARE_POLY_AGGREGATABLE macro is automatically declared in your object if
339
339
340
340
Protects your object from being deleted if (during [FinalConstruct](ccomobjectrootex-class.md#finalconstruct)) the internal aggregated object increments the reference count then decrements the count to 0.
@@ -65,7 +65,7 @@ Returns TRUE if the objects are not equal, FALSE if they are equal.
65
65
66
66
Tests if the `CSid` object or `SID` structure on the left side of the operator is less than the `CSid` object or `SID` structure on the right side (for C++ Standard Library compatibility).
@@ -89,7 +89,7 @@ This operator acts on the address of the `CSid` object or `SID` structure, and i
89
89
90
90
Tests if the `CSid` object or `SID` structure on the left side of the operator is greater than the `CSid` object or `SID` structure on the right side (for C++ Standard Library compatibility).
@@ -113,7 +113,7 @@ This operator acts on the address of the `CSid` object or `SID` structure, and i
113
113
114
114
Tests if the `CSid` object or `SID` structure on the left side of the operator is less than or equal to the `CSid` object or `SID` structure on the right side (for C++ Standard Library compatibility).
@@ -137,7 +137,7 @@ This operator acts on the address of the `CSid` object or `SID` structure, and i
137
137
138
138
Tests if the `CSid` object or `SID` structure on the left side of the operator is greater than or equal to the `CSid` object or `SID` structure on the right side (for C++ Standard Library compatibility).
0 commit comments