Skip to content

Commit dc6b805

Browse files
author
mtx48109
committed
format atl reference pr5
1 parent 6b77f3d commit dc6b805

30 files changed

Lines changed: 718 additions & 717 deletions

docs/atl/reference/com-interface-entry-macros.md

Lines changed: 51 additions & 51 deletions
Large diffs are not rendered by default.

docs/atl/reference/com-map-global-functions.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ ms.author: "mblome"
1313
ms.workload: ["cplusplus"]
1414
---
1515
# COM Map Global Functions
16-
These functions provide support for COM Map **IUnknown** implementations.
16+
These functions provide support for COM Map `IUnknown` implementations.
1717

1818
|||
1919
|-|-|
20-
|[AtlInternalQueryInterface](#atlinternalqueryinterface)|Delegates to the **IUnknown** of a nonaggregated object.|
21-
|[InlineIsEqualIUnknown](#inlineisequaliunknown)|Generates efficient code for comparing interfaces against **IUnknown**.|
20+
|[AtlInternalQueryInterface](#atlinternalqueryinterface)|Delegates to the `IUnknown` of a nonaggregated object.|
21+
|[InlineIsEqualIUnknown](#inlineisequaliunknown)|Generates efficient code for comparing interfaces against `IUnknown`.|
2222

2323

2424
## Requirements
@@ -36,17 +36,17 @@ HRESULT AtlInternalQueryInterface(
3636
```
3737

3838
### Parameters
39-
`pThis`
39+
*pThis*
4040
[in] A pointer to the object that contains the COM map of interfaces exposed to `QueryInterface`.
4141

42-
`pEntries`
43-
[in] An array of **_ATL_INTMAP_ENTRY** structures that access a map of available interfaces.
42+
*pEntries*
43+
[in] An array of `_ATL_INTMAP_ENTRY` structures that access a map of available interfaces.
4444

45-
`iid`
45+
*iid*
4646
[in] The GUID of the interface being requested.
4747

48-
`ppvObject`
49-
[out] A pointer to the interface pointer specified in `iid`, or **NULL** if the interface is not found.
48+
*ppvObject*
49+
[out] A pointer to the interface pointer specified in *iid*, or NULL if the interface is not found.
5050

5151
### Return Value
5252
One of the standard HRESULT values.
@@ -58,15 +58,15 @@ HRESULT AtlInternalQueryInterface(
5858
[!code-cpp[NVC_ATL_Windowing#94](../../atl/codesnippet/cpp/com-map-global-functions_1.cpp)]
5959

6060
## <a name="inlineisequaliunknown"></a> InlineIsEqualIUnknown
61-
Call this function, for the special case of testing for **IUnknown**.
61+
Call this function, for the special case of testing for `IUnknown`.
6262

6363
```
6464
BOOL InlineIsEqualUnknown(REFGUID rguid1);
6565
```
6666

6767
### Parameters
6868
*rguid1*
69-
[in] The GUID to compare to **IID_IUnknown**.
69+
[in] The GUID to compare to `IID_IUnknown`.
7070

7171
## See Also
7272
[Functions](../../atl/reference/atl-functions.md)

docs/atl/reference/com-map-macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ BEGIN_COM_MAP(x)
3535
[in] The name of the class object you are exposing interfaces on.
3636

3737
### Remarks
38-
[CComObjectRootEx::InternalQueryInterface](ccomobjectrootex-class.md#internalqueryinterface) only returns pointers for interfaces in the COM map. Start your interface map with the `BEGIN_COM_MAP` macro, add entries for each of your interfaces with the [COM_INTERFACE_ENTRY](com-interface-entry-macros.md#com_interface_entry) macro or one of its variants, and complete the map with the [END_COM_MAP](#end_com_map) macro.
38+
[CComObjectRootEx::InternalQueryInterface](ccomobjectrootex-class.md#internalqueryinterface) only returns pointers for interfaces in the COM map. Start your interface map with the BEGIN_COM_MAP macro, add entries for each of your interfaces with the [COM_INTERFACE_ENTRY](com-interface-entry-macros.md#com_interface_entry) macro or one of its variants, and complete the map with the [END_COM_MAP](#end_com_map) macro.
3939

4040

4141
### Example

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ _ATL_NO_AUTOMATIC_NAMESPACE
141141
A symbol which prevents COM-related code from being compiled with your project.
142142

143143
```
144-
_ATL_NO_COM_SUPPORT```
144+
_ATL_NO_COM_SUPPORT
145+
```
145146

146147
## <a name="atl_no_vtable"></a> ATL_NO_VTABLE
147148
A symbol that prevents the vtable pointer from being initialized in the class's constructor and destructor.

0 commit comments

Comments
 (0)