Skip to content

Commit d884ac7

Browse files
author
mtx48109
committed
windows formatting review pr30
1 parent b354b6f commit d884ac7

40 files changed

+45
-66
lines changed

docs/windows/event-source.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Creates an event source.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
[ event_source(
2222
type,
2323
optimize=[speed | size],
@@ -33,7 +33,7 @@ Creates an event source.
3333

3434
- `com` for COM code. You must use `coclass` when `type`=`com`. This value requires that you include the following header files:
3535

36-
```
36+
```cpp
3737
#define _ATL_ATTRIBUTES
3838
#include <atlbase.h>
3939
#include <atlcom.h>

docs/windows/eventsource-add-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Appends the event handler represented by the specified delegate interface to the
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
HRESULT Add(
2222
_In_ TDelegateInterface* delegateInterface,
2323
_Out_ EventRegistrationToken* token

docs/windows/eventsource-addremovelock-data-member.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Synchronizes access to the [targets_](../windows/eventsource-targets-data-member
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
Wrappers::SRWLock addRemoveLock_;
2222
```
2323

docs/windows/eventsource-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Represents a non-agile event. **EventSource** member functions add, remove, and
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
template<typename TDelegateInterface>
2222
class EventSource;
2323
```

docs/windows/eventsource-eventsource-constructor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Initializes a new instance of the **EventSource** class.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
EventSource();
2222
```
2323

docs/windows/eventsource-getsize-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Retrieves the number of event handlers associated with the current **EventSource
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
size_t GetSize() const;
2222
```
2323

docs/windows/eventsource-invokeall-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Calls each event handler associated with the current [EventSource](../windows/ev
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
void InvokeAll();
2222
template <
2323
typename T0

docs/windows/eventsource-remove-method.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Deletes the event handler represented by the specified event registration token
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
HRESULT Remove(
2222
EventRegistrationToken token
2323
);
@@ -31,7 +31,7 @@ HRESULT Remove(
3131
S_OK if successful; otherwise, an HRESULT that indicates the error.
3232

3333
## Remarks
34-
For more information about the EventRegistrationToken structure, see the `Windows::Foundation::EventRegistrationToken` Structure topic in the Windows Runtime reference documentation.
34+
For more information about the `EventRegistrationToken` structure, see the **Windows::Foundation::EventRegistrationToken Structure** topic in the **Windows Runtime** reference documentation.
3535

3636
## Requirements
3737
**Header:** event.h

docs/windows/eventsource-targets-data-member.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ An array of one or more event handlers.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
ComPtr<Details::EventTargetArray> targets_;
2222
```
2323

docs/windows/eventsource-targetspointerlock-data-member.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Synchronizes access to internal data members even while event handlers for this
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
Wrappers::SRWLock targetsPointerLock_;
2222
```
2323

0 commit comments

Comments
 (0)