Skip to content

Commit b45725c

Browse files
authored
Merge pull request #5305 from Rageking8/add-bunch-of-missing-colons
Add bunch of missing colons
2 parents 5d38084 + 1a1b847 commit b45725c

24 files changed

+144
-154
lines changed

docs/atl/reference/iolecontrolimpl-class.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: IOleControlImpl Class"
32
title: "IOleControlImpl Class"
3+
description: "Learn more about: IOleControlImpl Class"
44
ms.date: "11/04/2016"
55
f1_keywords: ["IOleControlImpl", "ATLCTL/ATL::IOleControlImpl", "ATLCTL/ATL::IOleControlImpl::FreezeEvents", "ATLCTL/ATL::IOleControlImpl::GetControlInfo", "ATLCTL/ATL::IOleControlImpl::OnAmbientPropertyChange", "ATLCTL/ATL::IOleControlImpl::OnMnemonic"]
66
helpviewer_keywords: ["IOleControlImpl class"]
7-
ms.assetid: 5a4255ad-ede4-49ca-ba9a-07c2e919fa85
87
---
98
# IOleControlImpl Class
109

@@ -22,7 +21,7 @@ class IOleControlImpl
2221

2322
#### Parameters
2423

25-
*T*<br/>
24+
*T*\
2625
Your class, derived from `IOleControlImpl`.
2726

2827
## Members
@@ -76,7 +75,7 @@ HRESULT GetControlInfo(LPCONTROLINFO pCI);
7675

7776
### Remarks
7877

79-
See [IOleControl:GetControlInfo](/windows/win32/api/ocidl/nf-ocidl-iolecontrol-getcontrolinfo) in the Windows SDK.
78+
See [IOleControl::GetControlInfo](/windows/win32/api/ocidl/nf-ocidl-iolecontrol-getcontrolinfo) in the Windows SDK.
8079

8180
### Return Value
8281

@@ -116,6 +115,6 @@ See [IOleControl::OnMnemonic](/windows/win32/api/ocidl/nf-ocidl-iolecontrol-onmn
116115

117116
## See also
118117

119-
[IOleObjectImpl Class](../../atl/reference/ioleobjectimpl-class.md)<br/>
120-
[ActiveX Controls Interfaces](/windows/win32/com/activex-controls-interfaces)<br/>
118+
[IOleObjectImpl Class](../../atl/reference/ioleobjectimpl-class.md)\
119+
[ActiveX Controls Interfaces](/windows/win32/com/activex-controls-interfaces)\
121120
[Class Overview](../../atl/atl-class-overview.md)

docs/atl/reference/ipersiststorageimpl-class.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: IPersistStorageImpl Class"
32
title: "IPersistStorageImpl Class"
3+
description: "Learn more about: IPersistStorageImpl Class"
44
ms.date: "11/04/2016"
55
f1_keywords: ["IPersistStorageImpl", "ATLCOM/ATL::IPersistStorageImpl", "ATLCOM/ATL::IPersistStorageImpl::GetClassID", "ATLCOM/ATL::IPersistStorageImpl::HandsOffStorage", "ATLCOM/ATL::IPersistStorageImpl::InitNew", "ATLCOM/ATL::IPersistStorageImpl::IsDirty", "ATLCOM/ATL::IPersistStorageImpl::Load", "ATLCOM/ATL::IPersistStorageImpl::Save", "ATLCOM/ATL::IPersistStorageImpl::SaveCompleted"]
66
helpviewer_keywords: ["storage, ATL", "IPersistStorageImpl class"]
7-
ms.assetid: d652f02c-239c-47c7-9a50-3e9fc3014fff
87
---
98
# IPersistStorageImpl Class
109

@@ -22,7 +21,7 @@ class ATL_NO_VTABLE IPersistStorageImpl : public IPersistStorage
2221

2322
#### Parameters
2423

25-
*T*<br/>
24+
*T*\
2625
Your class, derived from `IPersistStorageImpl`.
2726

2827
## Members
@@ -97,7 +96,7 @@ STDMETHOD(InitNew)(IStorage*);
9796

9897
The ATL implementation delegates to the [IPersistStreamInit](/windows/win32/api/ocidl/nn-ocidl-ipersiststreaminit) interface.
9998

100-
See [IPersistStorage:InitNew](/windows/win32/api/objidl/nf-objidl-ipersiststorage-initnew) in the Windows SDK.
99+
See [IPersistStorage::InitNew](/windows/win32/api/objidl/nf-objidl-ipersiststorage-initnew) in the Windows SDK.
101100

102101
## <a name="isdirty"></a> IPersistStorageImpl::IsDirty
103102

@@ -111,7 +110,7 @@ STDMETHOD(IsDirty)(void);
111110

112111
The ATL implementation delegates to the [IPersistStreamInit](/windows/win32/api/ocidl/nn-ocidl-ipersiststreaminit) interface.
113112

114-
See [IPersistStorage:IsDirty](/windows/win32/api/objidl/nf-objidl-ipersiststorage-isdirty) in the Windows SDK.
113+
See [IPersistStorage::IsDirty](/windows/win32/api/objidl/nf-objidl-ipersiststorage-isdirty) in the Windows SDK.
115114

116115
## <a name="load"></a> IPersistStorageImpl::Load
117116

@@ -125,7 +124,7 @@ STDMETHOD(Load)(IStorage* pStorage);
125124

126125
The ATL implementation delegates to the [IPersistStreamInit](/windows/win32/api/ocidl/nn-ocidl-ipersiststreaminit) interface. `Load` uses a stream named "Contents" to retrieve the object's data. The [Save](#save) method originally creates this stream.
127126

128-
See [IPersistStorage:Load](/windows/win32/api/objidl/nf-objidl-ipersiststorage-load) in the Windows SDK.
127+
See [IPersistStorage::Load](/windows/win32/api/objidl/nf-objidl-ipersiststorage-load) in the Windows SDK.
129128

130129
## <a name="save"></a> IPersistStorageImpl::Save
131130

@@ -139,7 +138,7 @@ STDMETHOD(Save)(IStorage* pStorage, BOOL fSameAsLoad);
139138

140139
The ATL implementation delegates to the [IPersistStreamInit](/windows/win32/api/ocidl/nn-ocidl-ipersiststreaminit) interface. When `Save` is first called, it creates a stream named "Contents" on the specified storage. This stream is then used in later calls to `Save` and in calls to [Load](#load).
141140

142-
See [IPersistStorage:Save](/windows/win32/api/objidl/nf-objidl-ipersiststorage-save) in the Windows SDK.
141+
See [IPersistStorage::Save](/windows/win32/api/objidl/nf-objidl-ipersiststorage-save) in the Windows SDK.
143142

144143
## <a name="savecompleted"></a> IPersistStorageImpl::SaveCompleted
145144

@@ -155,11 +154,11 @@ Returns S_OK.
155154

156155
### Remarks
157156

158-
See [IPersistStorage:SaveCompleted](/windows/win32/api/objidl/nf-objidl-ipersiststorage-savecompleted) in the Windows SDK.
157+
See [IPersistStorage::SaveCompleted](/windows/win32/api/objidl/nf-objidl-ipersiststorage-savecompleted) in the Windows SDK.
159158

160159
## See also
161160

162-
[Storages and Streams](/windows/win32/Stg/storages-and-streams)<br/>
163-
[IPersistStreamInitImpl Class](../../atl/reference/ipersiststreaminitimpl-class.md)<br/>
164-
[IPersistPropertyBagImpl Class](../../atl/reference/ipersistpropertybagimpl-class.md)<br/>
161+
[Storages and Streams](/windows/win32/Stg/storages-and-streams)\
162+
[IPersistStreamInitImpl Class](../../atl/reference/ipersiststreaminitimpl-class.md)\
163+
[IPersistPropertyBagImpl Class](../../atl/reference/ipersistpropertybagimpl-class.md)\
165164
[Class Overview](../../atl/atl-class-overview.md)

docs/c-runtime-library/reference/itoa-itow.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ api_type: ["DLLExport"]
88
topic_type: ["apiref"]
99
f1_keywords: ["_itoa", "_ltoa", "_ultoa", "_i64toa", "_ui64toa", "_itow", "_ltow", "_ultow", "_i64tow", "_ui64tow", "itoa", "ltoa", "ultoa", "i64toa", "ui64toa", "itow", "ltow", "ultow", "i64tow", "ui64tow", "itot", "_itot", "ltot", "_ltot", "ultot", "_ultot", "i64tot", "_i64tot", "ui64tot", "_ui64tot", "_MAX_ITOSTR_BASE16_COUNT", "_MAX_ITOSTR_BASE10_COUNT", "_MAX_ITOSTR_BASE8_COUNT", "_MAX_ITOSTR_BASE2_COUNT", "_MAX_LTOSTR_BASE16_COUNT", "_MAX_LTOSTR_BASE10_COUNT", "_MAX_LTOSTR_BASE8_COUNT", "_MAX_LTOSTR_BASE2_COUNT", "_MAX_ULTOSTR_BASE16_COUNT", "_MAX_ULTOSTR_BASE10_COUNT", "_MAX_ULTOSTR_BASE8_COUNT", "_MAX_ULTOSTR_BASE2_COUNT", "_MAX_I64TOSTR_BASE16_COUNT", "_MAX_I64TOSTR_BASE10_COUNT", "_MAX_I64TOSTR_BASE8_COUNT", "_MAX_I64TOSTR_BASE2_COUNT", "_MAX_U64TOSTR_BASE16_COUNT", "_MAX_U64TOSTR_BASE10_COUNT", "_MAX_U64TOSTR_BASE8_COUNT", "_MAX_U64TOSTR_BASE2_COUNT"]
1010
helpviewer_keywords: ["_itot function", "ui64toa function", "_ui64toa function", "converting integers", "itot function", "_i64tow function", "_i64toa function", "_itow function", "ui64tow function", "integers, converting", "itoa function", "_ui64tow function", "i64tow function", "itow function", "i64toa function", "converting numbers, to strings", "_itoa function"]
11-
ms.assetid: 46592a00-77bb-4e73-98c0-bf629d96cea6
1211
---
1312
# `itoa`, `_itoa`, `ltoa`, `_ltoa`, `ultoa`, `_ultoa`, `_i64toa`, `_ui64toa`, `_itow`, `_ltow`, `_ultow`, `_i64tow`, `_ui64tow`
1413

@@ -137,7 +136,7 @@ This example uses a conversion count macro to define a buffer large enough to co
137136
int main()
138137
{
139138
wchar_t buffer[_MAX_U64TOSTR_BASE2_COUNT];
140-
std:wcout << _ui64tow(0xFFFFFFFFFFFFFFFFull, buffer, 2) << std::endl;
139+
std::wcout << _ui64tow(0xFFFFFFFFFFFFFFFFull, buffer, 2) << std::endl;
141140
}
142141
```
143142

docs/cloud/cloud-and-web-programming-in-visual-cpp.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
2-
description: "Learn more about: Cloud and Web Programming in Visual C++"
32
title: "Cloud and Web Programming in Visual C++"
3+
description: "Learn more about: Cloud and Web Programming in Visual C++"
44
ms.date: "05/14/2019"
5-
ms.assetid: b63611f1-9723-44d0-ba7f-c3ebef341313
65
ms.topic: "overview"
76
ms.custom: intro-overview
87
---
@@ -43,7 +42,7 @@ In C++, you have several options for connecting to the web and the cloud.
4342

4443
- [Windows::Web::Http::HttpClient](/uwp/api/windows.web.http.httpclient)
4544

46-
A Windows Runtime HTTP client class modeled on the .NET Framework class of the same name in the System.Web namespace. `HttpClient` fully supports asynchronous upload and download over HTTP, and pipeline filters that enable the insertion of custom HTTP handlers into the pipeline. The Windows SDK includes sample filters for metered networks, OAuth authentication, and more. For apps that target only Universal Windows Platform, we recommend that you use the `Windows::Web:HttpClient` class.
45+
A Windows Runtime HTTP client class modeled on the .NET Framework class of the same name in the System.Web namespace. `HttpClient` fully supports asynchronous upload and download over HTTP, and pipeline filters that enable the insertion of custom HTTP handlers into the pipeline. The Windows SDK includes sample filters for metered networks, OAuth authentication, and more. For apps that target only Universal Windows Platform, we recommend that you use the `Windows::Web::Http::HttpClient` class.
4746

4847
- [IXMLHTTPRequest2 interface](/windows/win32/api/msxml6/nn-msxml6-ixmlhttprequest2)
4948

@@ -55,6 +54,6 @@ In C++, you have several options for connecting to the web and the cloud.
5554

5655
## See also
5756

58-
[C++ in Visual Studio](../overview/visual-cpp-in-visual-studio.md) <br/>
59-
[Microsoft Azure C and C++ Developer Center](https://azure.microsoft.com/develop/cpp/) <br/>
57+
[C++ in Visual Studio](../overview/visual-cpp-in-visual-studio.md)\
58+
[Microsoft Azure C and C++ Developer Center](https://azure.microsoft.com/develop/cpp/)\
6059
[Networks and web services (UWP)](/windows/uwp/networking/)

docs/code-quality/c6029.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: Warning C6029"
32
title: Warning C6029
3+
description: "Learn more about: Warning C6029"
44
ms.date: 2/07/2023
55
f1_keywords: ["C6029", "USING_TAINTED_DATA", "__WARNING_USING_TAINTED_DATA"]
66
helpviewer_keywords: ["C6029"]
@@ -35,7 +35,7 @@ void processData(FILE* file)
3535
}
3636
```
3737
38-
The fix for the issue depends on the nature of the data and the behavior of the annotated function that triggers the diagnostic. For more information, see the documentation for that function. A straightforward fix is to check the size before the second call to `std:fread`. In the next example, we throw an exception to terminate the function. Most real-world code would instead have an error recovery strategy that's specific to the scenario.
38+
The fix for the issue depends on the nature of the data and the behavior of the annotated function that triggers the diagnostic. For more information, see the documentation for that function. A straightforward fix is to check the size before the second call to `std::fread`. In the next example, we throw an exception to terminate the function. Most real-world code would instead have an error recovery strategy that's specific to the scenario.
3939
4040
```cpp
4141
void processData(FILE* file)
@@ -55,7 +55,7 @@ void processData(FILE* file)
5555
}
5656
```
5757

58-
In `std:fread` and similar functions, the code may need to read large amounts of data. To handle large data, you can allocate the size of the buffer dynamically after the size becomes known. Or, you can call `std:fread` multiple times as needed to read in the rest of the data. If you allocate the buffer dynamically, we recommend you put a limit on the size to avoid introducing an out-of-memory exploit for large values. We don't use this approach in our example because it's already bounded by the size of `uint8_t`.
58+
In `std::fread` and similar functions, the code may need to read large amounts of data. To handle large data, you can allocate the size of the buffer dynamically after the size becomes known. Or, you can call `std::fread` multiple times as needed to read in the rest of the data. If you allocate the buffer dynamically, we recommend you put a limit on the size to avoid introducing an out-of-memory exploit for large values. We don't use this approach in our example because it's already bounded by the size of `uint8_t`.
5959

6060
```cpp
6161
void processDataDynamic(FILE* file)

docs/cpp/type-conversions-and-type-safety-modern-cpp.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2-
description: "Learn more about: Type conversions and type safety"
32
title: "Type conversions and type safety"
3+
description: "Learn more about: Type conversions and type safety"
44
ms.date: "11/19/2019"
55
ms.topic: "conceptual"
6-
ms.assetid: 629b361a-2ce1-4700-8b5d-ab4f57b245d5
76
---
87
# Type conversions and type safety
98

@@ -105,7 +104,7 @@ The C-style cast operator is identical to the call operator () and is therefore
105104
int i = d; // warning C4244 possible loss of data
106105
int j = static_cast<int>(d); // No warning.
107106
string s = static_cast<string>(d); // Error C2440:cannot convert from
108-
// double to std:string
107+
// double to std::string
109108

110109
// No error but not necessarily safe.
111110
Base* b = new Base();
@@ -173,7 +172,7 @@ The C-style cast operator is identical to the call operator () and is therefore
173172

174173
## See also
175174

176-
[C++ type system](../cpp/cpp-type-system-modern-cpp.md)<br/>
177-
[Welcome back to C++](../cpp/welcome-back-to-cpp-modern-cpp.md)<br/>
178-
[C++ Language Reference](../cpp/cpp-language-reference.md)<br/>
175+
[C++ type system](../cpp/cpp-type-system-modern-cpp.md)\
176+
[Welcome back to C++](../cpp/welcome-back-to-cpp-modern-cpp.md)\
177+
[C++ Language Reference](../cpp/cpp-language-reference.md)\
179178
[C++ Standard Library](../standard-library/cpp-standard-library-reference.md)

docs/cppcx/collections-c-cx.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ If you have existing code that uses `std::vector` and you want to reuse it in a
4343

4444
[!code-cpp[cx_collections#02](../cppcx/codesnippet/CPP/collections/class1.cpp#02)]
4545

46-
If you have a vector of strings that you must pass across the ABI at some future point, you must decide whether to create the strings initially as `std::wstring` types or as `Platform::String^` types. If you have to do a lot of processing on the strings, then use `wstring`. Otherwise, create the strings as `Platform::String^` types and avoid the cost of converting them later. You must also decide whether to put these strings into a `std:vector` or `Platform::Collections::Vector` internally. As a general practice, use `std::vector` and then create a `Platform::Vector` from it only when you pass the container across the ABI.
46+
If you have a vector of strings that you must pass across the ABI at some future point, you must decide whether to create the strings initially as `std::wstring` types or as `Platform::String^` types. If you have to do a lot of processing on the strings, then use `wstring`. Otherwise, create the strings as `Platform::String^` types and avoid the cost of converting them later. You must also decide whether to put these strings into a `std::vector` or `Platform::Collections::Vector` internally. As a general practice, use `std::vector` and then create a `Platform::Vector` from it only when you pass the container across the ABI.
4747

4848
## Value types in Vector
4949

@@ -94,27 +94,27 @@ Collections fall into four categories: modifiable versions and read-only version
9494
9595
Elements of a modifiable collection can be changed, but elements of a read-only collection, which is known as a *view*, can only be read. Elements of a [Platform::Collections::Vector](../cppcx/platform-collections-vector-class.md) or[Platform::Collections::VectorView](../cppcx/platform-collections-vectorview-class.md) collection can be accessed by using an iterator or the collection's [Vector::GetAt](../cppcx/platform-collections-vector-class.md#getat) and an index. Elements of an associative collection can be accessed by using the collection's [Map::Lookup](../cppcx/platform-collections-map-class.md#lookup) and a key.
9696
97-
[Platform::Collections::Map class](../cppcx/platform-collections-map-class.md)<br/>
97+
[Platform::Collections::Map class](../cppcx/platform-collections-map-class.md)\
9898
A modifiable, associative collection. Map elements are key-value pairs. Looking up a key to retrieve its associated value, and iterating through all key-value pairs, are both supported.
9999
100100
`Map` and `MapView` are templated on `<K, V, C = std::less<K>>`; therefore, you can customize the comparator. Additionally, `Vector` and `VectorView` are templated on `<T, E = std::equal_to<T>>` so that you can customize the behavior of `IndexOf()`. This is important mostly for `Vector` and `VectorView` of value structs. For example, to create a Vector\<Windows::Foundation::DateTime>, you must provide a custom comparator because DateTime does not overload the == operator.
101101
102-
[Platform::Collections::MapView class](../cppcx/platform-collections-mapview-class.md)<br/>
102+
[Platform::Collections::MapView class](../cppcx/platform-collections-mapview-class.md)\
103103
A read-only version of a `Map`.
104104
105-
[Platform::Collections::Vector class](../cppcx/platform-collections-vector-class.md)<br/>
105+
[Platform::Collections::Vector class](../cppcx/platform-collections-vector-class.md)\
106106
A modifiable sequence collection. `Vector<T>` supports constant-time random access and amortized-constant-time [Append](../cppcx/platform-collections-vector-class.md#append) operations.
107107
108-
[Platform::Collections::VectorView class](../cppcx/platform-collections-vectorview-class.md)<br/>
108+
[Platform::Collections::VectorView class](../cppcx/platform-collections-vectorview-class.md)\
109109
A read-only version of a `Vector`.
110110
111-
[Platform::Collections::InputIterator class](../cppcx/platform-collections-inputiterator-class.md)<br/>
111+
[Platform::Collections::InputIterator class](../cppcx/platform-collections-inputiterator-class.md)\
112112
An STL iterator that satisfies the requirements of an STL input iterator.
113113
114-
[Platform::Collections::VectorIterator class](../cppcx/platform-collections-vectoriterator-class.md)<br/>
114+
[Platform::Collections::VectorIterator class](../cppcx/platform-collections-vectoriterator-class.md)\
115115
An STL iterator that satisfies the requirements of an STL mutable random-access iterator.
116116
117-
[Platform::Collections::VectorViewIterator class](../cppcx/platform-collections-vectorviewiterator-class.md)<br/>
117+
[Platform::Collections::VectorViewIterator class](../cppcx/platform-collections-vectorviewiterator-class.md)\
118118
An STL iterator that satisfies the requirements of an STL **`const`** random-access iterator.
119119
120120
### begin() and end() functions

docs/cppcx/deprecating-types-and-members-c-cx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: Deprecating types and members (C++/CX)"
32
title: "Deprecating types and members (C++/CX)"
3+
description: "Learn more about: Deprecating types and members (C++/CX)"
44
ms.date: 01/07/2022
55
no-loc: [ "class", "delegate", "enum", "field", "interface", "method", "property", "struct" ]
66
---
@@ -13,7 +13,7 @@ C++/CX supports deprecation of Windows Runtime types and members for producers a
1313
1414
## Example
1515

16-
The following example shows how to deprecate your own public APIs—for example, in a Windows Runtime component. The second parameter, of type [`Windows:Foundation::Metadata::DeprecationType`](/uwp/api/windows.foundation.metadata.deprecationtype) specifies whether the API is being deprecated or removed. Currently only the `DeprecationType::Deprecated` value is supported. The third parameter in the attribute specifies the [`Windows::Foundation::Metadata::Platform`](/uwp/api/windows.foundation.metadata.platformattribute) to which the attribute applies.
16+
The following example shows how to deprecate your own public APIs—for example, in a Windows Runtime component. The second parameter, of type [`Windows::Foundation::Metadata::DeprecationType`](/uwp/api/windows.foundation.metadata.deprecationtype) specifies whether the API is being deprecated or removed. Currently only the `DeprecationType::Deprecated` value is supported. The third parameter in the attribute specifies the [`Windows::Foundation::Metadata::Platform`](/uwp/api/windows.foundation.metadata.platformattribute) to which the attribute applies.
1717

1818
```cpp
1919
namespace wfm = Windows::Foundation::Metadata;

0 commit comments

Comments
 (0)