Skip to content

Commit eb126fd

Browse files
author
mtx48109
committed
windows formatting review pr33
1 parent b354b6f commit eb126fd

40 files changed

Lines changed: 53 additions & 62 deletions

docs/windows/immediatebind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Indicates that the database will be notified immediately of all changes to a pro
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
[immediatebind]
2222
```
2323

docs/windows/implements-cancastto-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gets a pointer to the specified interface.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
__forceinline HRESULT CanCastTo(
2222
REFIID riid,
2323
_Deref_out_ void **ppv

docs/windows/implements-casttounknown-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gets a pointer to the underlying `IUnknown` interface.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
__forceinline IUnknown* CastToUnknown();
2222
```
2323

docs/windows/implements-category.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Specifies the component categories implemented by the target class.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
[ implements_category(
2222
implements_category="uuid"
2323
) ]
@@ -33,7 +33,7 @@ Specifies the component categories implemented by the target class.
3333
This attribute requires that the [coclass](../windows/coclass.md), [progid](../windows/progid.md), or [vi_progid](../windows/vi-progid.md) attribute (or another attribute that implies one of these) also be applied to the same element. If any single attribute is used, the other two are automatically applied. For example, if `progid` is applied, `vi_progid` and `coclass` are also applied.
3434

3535
## Example
36-
The following code specifies that the following object implements the Control category.
36+
The following code specifies that the following object implements the `Control` category.
3737

3838
```cpp
3939
// cpp_attr_ref_implements_category.cpp

docs/windows/implements-cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Specifies dispatch interfaces that are forced to be members of the IDL coclass.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
[ implements( 
2222
interfaces={interfaces},
2323
dispinterfaces={dispinterfaces}
@@ -32,7 +32,7 @@ Specifies dispatch interfaces that are forced to be members of the IDL coclass.
3232
A comma separated list of the dispinterface that will be a member of the IDL coclass. A shorthand method for specifying a single dispinterface is **implements(dispinterfaces** *= dispinterface_name***)**.
3333
3434
## Remarks
35-
By default, only COM-interfaces that are base classes of the coclass are added in the IDL coclass. **implements** lets you force other interfaces to be IDL coclass members.
35+
By default, only COM-interfaces that are base classes of the `coclass` are added in the IDL coclass. **implements** lets you force other interfaces to be IDL `coclass` members.
3636
3737
## Requirements
3838

docs/windows/implements-fillarraywithiid-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Inserts the interface ID specified by the current zeroth template parameter into
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
__forceinline static void FillArrayWithIid(
2222
unsigned long &index,
2323
_In_ IID* iids

docs/windows/implements-iidcount-constant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Holds the number of implemented interface IDs.
1616

1717
## Syntax
1818

19-
```
19+
```cpp
2020
static const unsigned long IidCount;
2121
```
2222

docs/windows/implements-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Implements `QueryInterface` and `GetIid` for the specified interfaces.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
template <
2222
typename I0,
2323
typename I1 = Details::Nil,

docs/windows/implementsbase-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Supports the WRL infrastructure and is not intended to be used directly from you
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
struct ImplementsBase;
2222
```
2323

docs/windows/implementshelper-cancastto-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Supports the WRL infrastructure and is not intended to be used directly from you
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
HRESULT CanCastTo(
2222
REFIID riid,
2323
_Deref_out_ void **ppv

0 commit comments

Comments
 (0)