Skip to content

Commit cba49d3

Browse files
author
mtx48109
committed
windows formatting review pr18
1 parent 37503f8 commit cba49d3

30 files changed

Lines changed: 238 additions & 264 deletions

docs/windows/selecting-multiple-menus-or-menu-commands.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ You can select multiple menu names or menu commands to perform bulk operations s
1616

1717
### To select multiple menu commands
1818

19-
1. While holding down the CTRL key, click the menus or submenu commands you want.
19+
1. While holding down the **Ctrl** key, click the menus or submenu commands you want.
2020

21-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide.*
21+
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*.
2222

23-
**Requirements**
23+
## Requirements
2424

2525
Win32
2626

docs/windows/semaphore-class.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Represents a synchronization object that controls a shared resource that can sup
1818
## Syntax
1919

2020
```
21-
2221
class Semaphore : public HandleT<HandleTraits::SemaphoreTraits>
2322
```
2423

@@ -34,7 +33,7 @@ class Semaphore : public HandleT<HandleTraits::SemaphoreTraits>
3433

3534
|Name|Description|
3635
|----------|-----------------|
37-
|[Semaphore::Semaphore Constructor](../windows/semaphore-semaphore-constructor.md)|Initializes a new instance of the Semaphore class.|
36+
|[Semaphore::Semaphore Constructor](../windows/semaphore-semaphore-constructor.md)|Initializes a new instance of the **Semaphore** class.|
3837

3938
### Public Methods
4039

@@ -52,7 +51,7 @@ class Semaphore : public HandleT<HandleTraits::SemaphoreTraits>
5251

5352
|Name|Description|
5453
|----------|-----------------|
55-
|[Semaphore::operator= Operator](../windows/semaphore-operator-assign-operator.md)|Moves the specified handle from a Semaphore object to the current Semaphore object.|
54+
|[Semaphore::operator= Operator](../windows/semaphore-operator-assign-operator.md)|Moves the specified handle from a **Semaphore** object to the current **Semaphore** object.|
5655

5756
## Inheritance Hierarchy
5857
`Semaphore`

docs/windows/semaphore-lock-method.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: "mblome"
1313
ms.workload: ["cplusplus", "uwp"]
1414
---
1515
# Semaphore::Lock Method
16-
Waits until the current object, or the Semaphore object associated with the specified handle, is in the signaled state or the specified time-out interval has elapsed.
16+
Waits until the current object, or the **Semaphore** object associated with the specified handle, is in the signaled state or the specified time-out interval has elapsed.
1717

1818
## Syntax
1919

@@ -28,21 +28,20 @@ static SyncLock Lock(
2828
);
2929
```
3030

31-
#### Parameters
32-
`milliseconds`
31+
### Parameters
32+
*milliseconds*
3333
The time-out interval, in milliseconds. The default value is INFINITE, which waits indefinitely.
3434

35-
`h`
36-
A handle to a Semaphore object.
35+
*h*
36+
A handle to a **Semaphore** object.
3737

3838
## Return Value
39-
A Details::SyncLockWithStatusT\<HandleTraits::SemaphoreTraits>
39+
A `Details::SyncLockWithStatusT<HandleTraits::SemaphoreTraits>`
4040

4141
## Requirements
4242
**Header:** corewrappers.h
4343

4444
**Namespace:** Microsoft::WRL::Wrappers
4545

4646
## See Also
47-
[Semaphore Class](../windows/semaphore-class.md)
48-
47+
[Semaphore Class](../windows/semaphore-class.md)

docs/windows/semaphore-operator-assign-operator.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: "mblome"
1313
ms.workload: ["cplusplus", "uwp"]
1414
---
1515
# Semaphore::operator= Operator
16-
Moves the specified handle from a Semaphore object to the current Semaphore object.
16+
Moves the specified handle from a **Semaphore** object to the current **Semaphore** object.
1717

1818
## Syntax
1919

@@ -23,12 +23,12 @@ Semaphore& operator=(
2323
);
2424
```
2525

26-
#### Parameters
27-
`h`
28-
Rvalue-reference to a Semaphore object.
26+
### Parameters
27+
*h*
28+
Rvalue-reference to a **Semaphore** object.
2929

3030
## Return Value
31-
A reference to the current Semaphore object.
31+
A reference to the current **Semaphore** object.
3232

3333
## Requirements
3434
**Header:** corewrappers.h

docs/windows/semaphore-semaphore-constructor.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: "mblome"
1313
ms.workload: ["cplusplus", "uwp"]
1414
---
1515
# Semaphore::Semaphore Constructor
16-
Initializes a new instance of the Semaphore class.
16+
Initializes a new instance of the **Semaphore** class.
1717

1818
## Syntax
1919

@@ -27,9 +27,9 @@ WRL_NOTHROW Semaphore(
2727
);
2828
```
2929

30-
#### Parameters
31-
`h`
32-
A handle or an rvalue-reference to a Semaphore object.
30+
### Parameters
31+
*h*
32+
A handle or an rvalue-reference to a **Semaphore** object.
3333

3434
## Requirements
3535
**Header:** corewrappers.h

docs/windows/semaphoretraits-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: "mblome"
1313
ms.workload: ["cplusplus", "uwp"]
1414
---
1515
# SemaphoreTraits Structure
16-
Defines common characteristics of a Semaphore object.
16+
Defines common characteristics of a **Semaphore** object.
1717

1818
## Syntax
1919

docs/windows/semaphoretraits-unlock-method.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ inline static void Unlock(
2323
);
2424
```
2525

26-
#### Parameters
27-
`h`
28-
Handle to a semaphore object.
26+
### Parameters
27+
*h*
28+
Handle to a **Semaphore** object.
2929

3030
## Remarks
31-
If the unlock operation is unsuccessful, Unlock() emits an error that indicates the cause of the failure.
31+
If the unlock operation is unsuccessful, **Unlock()** emits an error that indicates the cause of the failure.
3232

3333
## Requirements
3434
**Header:** corewrappers.h

docs/windows/setting-a-cursor-s-hot-spot-image-editor-for-icons.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,12 @@ The hot spot of a [cursor](../windows/icons-and-cursors-image-resources-for-disp
2626
> [!TIP]
2727
> Tool tips appear when you hover your cursor over a toolbar button. These tips can help you identify the function of each button.
2828
29-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide.* For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
29+
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
3030

31-
Requirements
31+
## Requirements
3232

3333
None
3434

3535
## See Also
3636
[Accelerator Keys](../windows/accelerator-keys-image-editor-for-icons.md)
37-
[Icons and Cursors: Image Resources for Display Devices](../windows/icons-and-cursors-image-resources-for-display-devices-image-editor-for-icons.md)
38-
37+
[Icons and Cursors: Image Resources for Display Devices](../windows/icons-and-cursors-image-resources-for-display-devices-image-editor-for-icons.md)

docs/windows/setting-accelerator-properties.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ You can set accelerator properties in the [Properties window](/visualstudio/ide/
1919
- The [Modifier property](../windows/accelerator-modifier-property.md) sets control key combinations for the accelerator.
2020

2121
> [!NOTE]
22-
> In the Properties window, this property appears as three separate Boolean properties, all of which can be controlled independently: Alt, Ctrl, and Shift.
22+
> In the Properties window, this property appears as three separate Boolean properties, all of which can be controlled independently: **Alt**, **Ctrl**, and **Shift**.
2323
2424
- The [Key property](../windows/accelerator-key-property.md) sets the actual key to use as the accelerator.
2525

2626
- The [Type property](../windows/accelerator-type-property.md) determines whether the key is interpreted as virtual (VIRTKEY) or ASCII/ANSI.
2727

28-
29-
3028
## Requirements
3129
Win32
3230

docs/windows/setting-the-size-of-the-combo-box-and-its-drop-down-list.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ You can size a combo box when you add it to the dialog box. You can also specify
3939

4040
3. Click the drop-down arrow again to close the drop-down list portion of the combo box.
4141

42-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide.* For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
42+
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
4343

44-
### Requirements
44+
## Requirements
4545
Win32
4646

4747
## See Also
4848
[Adding Values to a Combo Box Control](../windows/adding-values-to-a-combo-box-control.md)
4949
[Controls in Dialog Boxes](../windows/controls-in-dialog-boxes.md)
50-
[Controls](../mfc/controls-mfc.md)
51-
50+
[Controls](../mfc/controls-mfc.md)

0 commit comments

Comments
 (0)