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
Copy file name to clipboardexpand all lines: docs/atl/reference/options-atl-active-server-page-component-wizard.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Use this page of the ATL Active Server Page Component Wizard to design for incre
24
24
25
25
|Option|Description|
26
26
|------------|-----------------|
27
-
|`Single`|Specifies that the object uses the single threading model. In the single threading model, an object always runs in the primary COM thread. See [Single-Threaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms680112) and [InprocServer32](http://msdn.microsoft.com/library/windows/desktop/ms682390) for more information.|
27
+
|**Single**|Specifies that the object uses the single threading model. In the single threading model, an object always runs in the primary COM thread. See [Single-Threaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms680112) and [InprocServer32](http://msdn.microsoft.com/library/windows/desktop/ms682390) for more information.|
28
28
|**Apartment**|Specifies that the object uses apartment threading. Equivalent to single thread apartment. Each object of an apartment-threaded component is assigned an apartment for its thread, for the life of the object; however, multiple threads can be used for multiple objects. Each apartment is tied to a specific thread and has a Windows message pump (default).<br /><br /> See [Single-Threaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms680112) for more information.|
29
29
|**Both**|Specifies that the object can use either apartment or free threading, depending from which kind of a thread it is created.|
30
30
|**Free**|Specifies that the object uses free threading. Free threading is equivalent to a multithread apartment model. See [Multithreaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms693421) for more information.|
@@ -44,7 +44,7 @@ Use this page of the ATL Active Server Page Component Wizard to design for incre
44
44
45
45
|Option|Description|
46
46
|------------|-----------------|
47
-
|**ISupportErrorInfo**|Creates support for the [ISupportErrorInfo](../../atl/reference/isupporterrorinfoimpl-class.md) interface so the object can return error information to the client.|
47
+
|`ISupportErrorInfo`|Creates support for the [ISupportErrorInfo](../../atl/reference/isupporterrorinfoimpl-class.md) interface so the object can return error information to the client.|
48
48
|**Connection points**|Enables connection points for your object by making your object's class derive from [IConnectionPointContainerImpl](../../atl/reference/iconnectionpointcontainerimpl-class.md).|
49
49
|**Free-threaded marshaler**|Creates a free-threaded marshaler object to marshal interface pointers efficiently between threads in the same process. Available to object specifying either **Both** or **Free** as the threading model.|
If you select **Custom**, then you can specify that the control is **Automation compatible**. If you select **Automation compatible**, then the wizard adds the [oleautomation](../../windows/oleautomation.md) attribute to the interface in the IDL, and the interface can be marshaled by the universal marshaler in oleaut32.dll. See [Marshaling Details](http://msdn.microsoft.com/library/windows/desktop/ms692621) in the Windows SDK for more information.
71
71
72
-
Additionally, if you select **Automation compatible**, then all parameters for all methods in the control must be **VARIANT** compatible.
72
+
Additionally, if you select **Automation compatible**, then all parameters for all methods in the control must be VARIANT compatible.
73
73
74
74
**Support**
75
75
Sets additional miscellaneous support for the control.
Copy file name to clipboardexpand all lines: docs/atl/reference/options-atl-simple-object-wizard.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Use this page of the ATL Simple Object Wizard to design for increased efficiency
24
24
25
25
|Option|Description|
26
26
|------------|-----------------|
27
-
|`Single`|Specifies that the object always runs in the primary COM thread. See [Single-Threaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms680112) and [InprocServer32](http://msdn.microsoft.com/library/windows/desktop/ms682390) for more information.|
27
+
|**Single**|Specifies that the object always runs in the primary COM thread. See [Single-Threaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms680112) and [InprocServer32](http://msdn.microsoft.com/library/windows/desktop/ms682390) for more information.|
28
28
|**Apartment**|Specifies that the object uses apartment threading. Equivalent to single thread apartment. Each object of an apartment-threaded component is assigned an apartment for its thread, for the life of the object; however, multiple threads can be used for multiple objects. Each apartment is tied to a specific thread and has a Windows message pump (default).<br /><br /> See [Single-Threaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms680112) for more information.|
29
29
|**Both**|Specifies that the object can use either apartment or free threading, depending from which kind of a thread it is created.|
30
30
|**Free**|Specifies that the object uses free threading. Free threading is equivalent to a multithread apartment model. See [Multithreaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms693421) for more information.|
@@ -52,10 +52,10 @@ Use this page of the ATL Simple Object Wizard to design for increased efficiency
52
52
53
53
|Option|Description|
54
54
|------------|-----------------|
55
-
|**ISupportErrorInfo**|Creates support for the [ISupportErrorInfo](../../atl/reference/isupporterrorinfoimpl-class.md) interface so the object can return error information to the client.|
55
+
|`ISupportErrorInfo`|Creates support for the [ISupportErrorInfo](../../atl/reference/isupporterrorinfoimpl-class.md) interface so the object can return error information to the client.|
56
56
|**Connection points**|Enables connection points for your object by making your object's class derive from [IConnectionPointContainerImpl](../../atl/reference/iconnectionpointcontainerimpl-class.md).|
57
57
|**Free-threaded marshaler**|Creates a free-threaded marshaler object to marshal interface pointers efficiently between threads in the same process. Available to object specifying **Both** as the threading model.|
58
-
|**IObjectWithSite(IE object support)**|Implements [IObjectWithSiteImpl](../../atl/reference/iobjectwithsiteimpl-class.md), which provides a simple way to support communication between an object and its site in a container.|
58
+
|`IObjectWithSite`**(IE object support)**|Implements [IObjectWithSiteImpl](../../atl/reference/iobjectwithsiteimpl-class.md), which provides a simple way to support communication between an object and its site in a container.|
Copy file name to clipboardexpand all lines: docs/atl/reference/property-map-macros.md
+23-23
Original file line number
Diff line number
Diff line change
@@ -35,15 +35,15 @@ BEGIN_PROP_MAP(theClass)
35
35
```
36
36
37
37
### Parameters
38
-
`theClass`
38
+
*theClass*
39
39
[in] Specifies the class containing the property map.
40
40
41
41
### Remarks
42
42
The property map stores property descriptions, property DISPIDs, property page CLSIDs, and `IDispatch` IIDs. Classes [IPerPropertyBrowsingImpl](../../atl/reference/iperpropertybrowsingimpl-class.md), [IPersistPropertyBagImpl](../../atl/reference/ipersistpropertybagimpl-class.md), [IPersistStreamInitImpl](../../atl/reference/ipersiststreaminitimpl-class.md), and [ISpecifyPropertyPagesImpl](../../atl/reference/ispecifypropertypagesimpl-class.md) use the property map to retrieve and set this information.
43
43
44
-
When you create an object with the ATL Project Wizard, the wizard will create an empty property map by specifying `BEGIN_PROP_MAP` followed by [END_PROP_MAP](#end_prop_map).
44
+
When you create an object with the ATL Project Wizard, the wizard will create an empty property map by specifying BEGIN_PROP_MAP followed by [END_PROP_MAP](#end_prop_map).
45
45
46
-
`BEGIN_PROP_MAP` does not save out the extent (that is, the dimensions) of a property map, because an object using a property map may not have a user interface, so it would have no extent. If the object is an ActiveX control with a user interface, it has an extent. In this case, you must specify [PROP_DATA_ENTRY](#prop_data_entry) in your property map to supply the extent.
46
+
BEGIN_PROP_MAP does not save out the extent (that is, the dimensions) of a property map, because an object using a property map may not have a user interface, so it would have no extent. If the object is an ActiveX control with a user interface, it has an extent. In this case, you must specify [PROP_DATA_ENTRY](#prop_data_entry) in your property map to supply the extent.
When you create an ActiveX control, the wizard inserts this macro after the property map macro [BEGIN_PROP_MAP](#begin_prop_map) and before the property map macro [END_PROP_MAP](#end_prop_map).
72
72
73
73
### Example
74
-
In the following example, the extent of the object (`m_sizeExtent`) is being persisted.
74
+
In the following example, the extent of the object (`m_sizeExtent`) is being persisted.
[in] The CLSID of the associated property page. Use the special value `CLSID_NULL` for a property that does not have an associated property page.
122
+
*clsid*
123
+
[in] The CLSID of the associated property page. Use the special value CLSID_NULL for a property that does not have an associated property page.
124
124
125
-
`iidDispatch`
125
+
*iidDispatch*
126
126
[in] The IID of the dual interface defining the property.
127
127
128
-
`vt`
128
+
*vt*
129
129
[in] The property's type.
130
130
131
131
### Remarks
132
-
The `PROP_ENTRY_EX` macro was insecure and deprecated. It has been replaced with `PROP_ENTRY_TYPE_EX`.
132
+
The PROP_ENTRY_EX macro was insecure and deprecated. It has been replaced with PROP_ENTRY_TYPE_EX.
133
133
134
134
The [BEGIN_PROP_MAP](#begin_prop_map) macro marks the beginning of the property map; the [END_PROP_MAP](#end_prop_map) macro marks the end.
135
135
@@ -146,14 +146,14 @@ PROP_PAGE(clsid)
146
146
```
147
147
148
148
### Parameters
149
-
`clsid`
149
+
*clsid*
150
150
[in] The CLSID of a property page.
151
151
152
152
### Remarks
153
-
`PROP_PAGE` is similar to [PROP_ENTRY_TYPE](#prop_entry_type), but does not require a property description or DISPID.
153
+
PROP_PAGE is similar to [PROP_ENTRY_TYPE](#prop_entry_type), but does not require a property description or DISPID.
154
154
155
155
> [!NOTE]
156
-
> If you have already entered a CLSID with `PROP_ENTRY_TYPE` or [PROP_ENTRY_TYPE_EX](#prop_entry_type_ex), you do not need to make an additional entry with `PROP_PAGE`.
156
+
> If you have already entered a CLSID with PROP_ENTRY_TYPE or [PROP_ENTRY_TYPE_EX](#prop_entry_type_ex), you do not need to make an additional entry with PROP_PAGE.
157
157
158
158
The [BEGIN_PROP_MAP](#begin_prop_map) macro marks the beginning of the property map; the [END_PROP_MAP](#end_prop_map) macro marks the end.
159
159
@@ -168,7 +168,7 @@ END_PROP_MAP()
168
168
```
169
169
170
170
### Remarks
171
-
When you create an object with the ATL Project Wizard, the wizard will create an empty property map by specifying [BEGIN_PROP_MAP](#begin_prop_map) followed by `END_PROP_MAP`.
171
+
When you create an object with the ATL Project Wizard, the wizard will create an empty property map by specifying [BEGIN_PROP_MAP](#begin_prop_map) followed by END_PROP_MAP.
172
172
173
173
### Example
174
174
See the example for [BEGIN_PROP_MAP](#begin_prop_map).
0 commit comments