Skip to content

Commit ab649b3

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#1989 from nschonni/fix--MD009/no-trailing-spaces
fix: MD009/no-trailing-spaces
2 parents 36fce54 + d685886 commit ab649b3

File tree

125 files changed

+289
-288
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+289
-288
lines changed

docs/assembler/masm/invoke.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.assetid: 12d9bb40-33b9-411e-b801-45a1d675967e
77
---
88
# INVOKE
99

10-
(32-bit MASM only.) Calls the procedure at the address given by *expression*, passing the arguments on the stack or in registers according to the standard calling conventions of the language type.
10+
(32-bit MASM only.) Calls the procedure at the address given by *expression*, passing the arguments on the stack or in registers according to the standard calling conventions of the language type.
1111

1212
## Syntax
1313

docs/assembler/masm/struct-masm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Declares a structure type having the specified *field-declarations*. Each field
1717
1818
## Remarks
1919

20-
The *name* argument must be the same in the opening and closing statement.
20+
The *name* argument must be the same in the opening and closing statement.
2121

2222
## See also
2323

docs/atl/adding-a-property-page-atl-tutorial-part-6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.assetid: df80d255-e7ea-49d9-b940-3f012e90cf9b
66
---
77
# Adding a Property Page (ATL Tutorial, Part 6)
88

9-
> [!NOTE]
9+
> [!NOTE]
1010
> The ATL OLE DB Provider wizard is not available in Visual Studio 2019 and later.
1111
1212
Property pages are implemented as separate COM objects, which allow them to be shared if required. In this step, you will do the following tasks to add a property page to the control:

docs/atl/creating-the-project-atl-tutorial-part-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This tutorial walks you step-by-step through a non-attributed ATL project that c
3939
4040
The location for the source code will usually default to \Users\\\<username>\source\repos, and a new folder will be created automatically.
4141
42-
1. In Visual Studio 2019, accept the default values and click **OK**.
42+
1. In Visual Studio 2019, accept the default values and click **OK**.
4343
In Visual Studio 2017, click **OK** to open the **ATL Project** wizard. Click **Application Settings** to see the options available. Because this project creates a control, and a control must be an in-process server, leave the **Application type** as a DLL. Click **OK**.
4444
4545
Visual Studio will create the project by generating several files. You can view these files in **Solution Explorer** by expanding the `Polygon` object. The files are listed below.

docs/atl/reference/adding-an-atl-property-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.assetid: ddf92b49-42a2-46d2-b6b8-d37baedebeca
66
---
77
# Adding an ATL Property Page
88

9-
> [!NOTE]
9+
> [!NOTE]
1010
> The ATL Property Page wizard is not available in Visual Studio 2019 and later.
1111
1212
To add an Active Template Library (ATL) property page to your project, your project must have been created as an ATL application or as an MFC application that contains ATL support. You can use the [ATL Project Wizard](../../atl/reference/atl-project-wizard.md) to create an ATL application or [add an ATL object to your MFC application](../../mfc/reference/adding-atl-support-to-your-mfc-project.md) to implement ATL support for an MFC application.

docs/atl/reference/adding-objects-and-controls-to-an-atl-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.assetid: c0adcbd0-07fe-4c55-a8fd-8c2c65ecdaad
77
---
88
# Adding Objects and Controls to an ATL Project
99

10-
> [!NOTE]
10+
> [!NOTE]
1111
> The ATL COM+ 1.0 Component Wizard, ATL OLE DB Consumer wizard, and ATL Active Server Page Component wizard are not available in Visual Studio 2019 and later.
1212
1313
You can use one of the ATL code wizards to add an object or a control to your ATL- or MFC-based projects. For each COM object or control you add, the wizard generates .cpp and .h files, as well as an .rgs file for script-based registry support. The following ATL code wizards are available in Visual Studio:

docs/atl/reference/atl-com-plus-1-0-component-wizard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Provides information about the COM functionality for the object.
7878
- **ProgID**
7979

8080
Sets the name that containers can use instead of the CLSID of the object.
81-
81+
8282
::: moniker-end
8383

8484
## See also

docs/atl/reference/cstockpropimpl-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ This class provides methods for supporting stock property values.
1616

1717
```
1818
template <
19-
class T,
19+
class T,
2020
class InterfaceName,
2121
const IID* piid = &_ATL_IIDOF(InterfaceName),
2222
const GUID* plibid = &CComModule::m_libid,
2323
WORD wMajor = 1,
24-
WORD wMinor = 0,
24+
WORD wMinor = 0,
2525
class tihclass = CcomTypeInfoHolder>
2626
class ATL_NO_VTABLE CStockPropImpl :
2727
public IDispatchImpl<InterfaceName, piid, plibid, wMajor, wMinor, tihclass>

docs/build/adding-references-in-visual-cpp-projects.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.assetid: 12b8f571-0f21-40b3-9404-5318a57e9cb5
77
---
88
# Consuming libraries and components
99

10-
Often, a C++ project needs to call functions or access data in a binary file such as static library (.lib files), DLL, Windows Runtime component, COM component, or .NET assembly. In these cases, you have to configure the project so that it can find that binary at build time. The specific steps depend on the type of your project, the type of the binary, and whether the binary is being built in the same solution as your project.
10+
Often, a C++ project needs to call functions or access data in a binary file such as static library (.lib files), DLL, Windows Runtime component, COM component, or .NET assembly. In these cases, you have to configure the project so that it can find that binary at build time. The specific steps depend on the type of your project, the type of the binary, and whether the binary is being built in the same solution as your project.
1111

1212
## Consuming libraries downloaded via vcpkg
1313

@@ -18,11 +18,11 @@ To consume a library that you have downloaded by using the **vcpkg** package man
1818
If your static library project is being built in the same solution:
1919

2020
1. #include the header file(s) for the static library using quotation marks. In a typical solution the path will start with `../<library project name>`. IntelliSense will help you find it.
21-
2. Add a reference to the static library project. Right-click on **References** under the application project node in **Solution Explorer** and choose **Add Reference**.
21+
2. Add a reference to the static library project. Right-click on **References** under the application project node in **Solution Explorer** and choose **Add Reference**.
2222

2323
If the static library is not part of the solution:
2424

25-
1. Right-click on the application project node in **Solution Explorer** and then choose **Properties**.
25+
1. Right-click on the application project node in **Solution Explorer** and then choose **Properties**.
2626
2. In the **VC++ Directories** property page, add the path to the directory where the .lib file is located in **Library Paths** and add the path to the library header file(s) in **Include Directories**.
2727
3. In the **Linker > Input** property page, add the name of the .lib file to **Additional Dependencies**.
2828

@@ -37,11 +37,11 @@ If the DLL is not part of the application solution, you need the DLL file, the h
3737

3838
## COM objects
3939

40-
If your native C++ application needs to consume a COM object, and that object is *registered*, then all you have to do is call CoCreateInstance and pass in the CLSID of the object. The system will find it in the Windows Registry and load it. A C++/CLI project can consume a COM object in the same way, or by adding a reference to it from the **Add References > COM** list and consuming it through its [Runtime callable wrapper](/dotnet/framework/interop/runtime-callable-wrapper).
40+
If your native C++ application needs to consume a COM object, and that object is *registered*, then all you have to do is call CoCreateInstance and pass in the CLSID of the object. The system will find it in the Windows Registry and load it. A C++/CLI project can consume a COM object in the same way, or by adding a reference to it from the **Add References > COM** list and consuming it through its [Runtime callable wrapper](/dotnet/framework/interop/runtime-callable-wrapper).
4141

4242
## .NET assemblies and Windows Runtime Components
4343

44-
In UWP or C++/CLI projects, you consume .NET assemblies or Windows Runtime Components by adding a *reference* to the assembly or component. Under the **References** node in a UWP or C++/CLI project, you see references to commonly-used components. Right-click on the **References** node in **Solution Explorer** to bring up the **Reference Manager** and browse through additional components that are known to the system. Click the **Browse** button to navigate to any folder where a custom component is located. Because .NET assemblies and Windows Runtime components contain built-in type information, you can view their methods and classes by right-clicking and choosing **View in Object Browser**.
44+
In UWP or C++/CLI projects, you consume .NET assemblies or Windows Runtime Components by adding a *reference* to the assembly or component. Under the **References** node in a UWP or C++/CLI project, you see references to commonly-used components. Right-click on the **References** node in **Solution Explorer** to bring up the **Reference Manager** and browse through additional components that are known to the system. Click the **Browse** button to navigate to any folder where a custom component is located. Because .NET assemblies and Windows Runtime components contain built-in type information, you can view their methods and classes by right-clicking and choosing **View in Object Browser**.
4545

4646
## Reference properties
4747

docs/build/clang-support-msbuild.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can use Visual Studio 2019 version 16.2 with Clang to edit, build, and debug
1919

2020
## Install
2121

22-
For best IDE support in Visual Studio, we recommend using the latest Clang compiler tools for Windows. If you don't already have those, you can install them by opening the Visual Studio Installer and choosing **C++ Clang tools for Windows** under **Desktop development with C++** optional components. If you prefer to use an existing Clang installation on your machine, choose the **C++ Clang-cl for v142 build tools.** optional component. The Microsoft C++ Standard Library currently requires at least Clang 8.0.0; the bundled version of Clang will automatically be updated to stay current with updates in the Microsoft implementation of the Standard Library.
22+
For best IDE support in Visual Studio, we recommend using the latest Clang compiler tools for Windows. If you don't already have those, you can install them by opening the Visual Studio Installer and choosing **C++ Clang tools for Windows** under **Desktop development with C++** optional components. If you prefer to use an existing Clang installation on your machine, choose the **C++ Clang-cl for v142 build tools.** optional component. The Microsoft C++ Standard Library currently requires at least Clang 8.0.0; the bundled version of Clang will automatically be updated to stay current with updates in the Microsoft implementation of the Standard Library.
2323

2424
![Clang component installation](media/clang-install-vs2019.png)
2525

@@ -39,8 +39,8 @@ For Linux projects, Visual Studio uses the Clang GCC-compatible frontend. The pr
3939

4040
To configure a Visual Studio Linux project to use Clang:
4141

42-
1. Right-click on the project node in **Solution Explorer** and choose **Properties**.
43-
1. Typically, you should first choose **All configurations** at the top of the dialog.
42+
1. Right-click on the project node in **Solution Explorer** and choose **Properties**.
43+
1. Typically, you should first choose **All configurations** at the top of the dialog.
4444
1. Under **General** > **Platform Toolset**, choose **WSL_Clang_1_0** if you are using Windows Subsystem for Linux, or **Remote_Clang_1_0** if you are using a remote machine or VM.
4545
1. Press **OK**.
4646

0 commit comments

Comments
 (0)