Skip to content

Commit d64b9ae

Browse files
authored
Add bunch of missing colons
1 parent 913ef4a commit d64b9ae

24 files changed

+42
-42
lines changed

docs/atl/reference/iolecontrolimpl-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ HRESULT GetControlInfo(LPCONTROLINFO pCI);
7676

7777
### Remarks
7878

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

8181
### Return Value
8282

docs/atl/reference/ipersiststorageimpl-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ STDMETHOD(InitNew)(IStorage*);
9797

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

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

102102
## <a name="isdirty"></a> IPersistStorageImpl::IsDirty
103103

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

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

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

116116
## <a name="load"></a> IPersistStorageImpl::Load
117117

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

126126
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.
127127

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

130130
## <a name="save"></a> IPersistStorageImpl::Save
131131

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

140140
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).
141141

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

144144
## <a name="savecompleted"></a> IPersistStorageImpl::SaveCompleted
145145

@@ -155,7 +155,7 @@ Returns S_OK.
155155

156156
### Remarks
157157

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

160160
## See also
161161

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ This example uses a conversion count macro to define a buffer large enough to co
137137
int main()
138138
{
139139
wchar_t buffer[_MAX_U64TOSTR_BASE2_COUNT];
140-
std:wcout << _ui64tow(0xFFFFFFFFFFFFFFFFull, buffer, 2) << std::endl;
140+
std::wcout << _ui64tow(0xFFFFFFFFFFFFFFFFull, buffer, 2) << std::endl;
141141
}
142142
```
143143

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ In C++, you have several options for connecting to the web and the cloud.
4343

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

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.
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::Http::HttpClient` class.
4747

4848
- [IXMLHTTPRequest2 interface](/windows/win32/api/msxml6/nn-msxml6-ixmlhttprequest2)
4949

docs/code-quality/c6029.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The C-style cast operator is identical to the call operator () and is therefore
105105
int i = d; // warning C4244 possible loss of data
106106
int j = static_cast<int>(d); // No warning.
107107
string s = static_cast<string>(d); // Error C2440:cannot convert from
108-
// double to std:string
108+
// double to std::string
109109

110110
// No error but not necessarily safe.
111111
Base* b = new Base();

docs/cppcx/collections-c-cx.md

Lines changed: 1 addition & 1 deletion
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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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;

docs/data/oledb/crowset-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ An accessor class. The default is `CAccessorBase`.
3636
|[Close](#close)|Releases rows and the current `IRowset` interface.|
3737
|[Compare](#compare)|Compares two bookmarks using [IRowsetLocate::Compare](/previous-versions/windows/desktop/ms709539(v=vs.85)).|
3838
|[CRowset](#crowset)|Creates a new `CRowset` object and (optionally) associates it with an `IRowset` interface supplied as a parameter.|
39-
|[Delete](#delete)|Deletes rows from the rowset using [IRowsetChange:DeleteRows](/previous-versions/windows/desktop/ms724362(v=vs.85)).|
39+
|[Delete](#delete)|Deletes rows from the rowset using [IRowsetChange::DeleteRows](/previous-versions/windows/desktop/ms724362(v=vs.85)).|
4040
|[FindNextRow](#findnextrow)|Finds the next matching row after the specified bookmark.|
4141
|[GetApproximatePosition](#getapproximateposition)|Returns the approximate position of a row corresponding to a bookmark.|
4242
|[GetData](#getdata)|Retrieves data from the rowset's copy of the row.|
4343
|[GetDataHere](#getdatahere)|Retrieves data from the specified buffer.|
4444
|[GetOriginalData](#getoriginaldata)|Retrieves the data most recently fetched from or transmitted to the data source, ignoring pending changes.|
4545
|[GetRowStatus](#getrowstatus)|Returns the status of all rows.|
46-
|[Insert](#insert)|Creates and inserts a new row using [IRowsetChange:InsertRow](/previous-versions/windows/desktop/ms716921(v=vs.85)).|
46+
|[Insert](#insert)|Creates and inserts a new row using [IRowsetChange::InsertRow](/previous-versions/windows/desktop/ms716921(v=vs.85)).|
4747
|[IsSameRow](#issamerow)|Compares the specified row with the current row.|
4848
|[MoveFirst](#movefirst)|Repositions the next-fetch location to the initial position.|
4949
|[MoveLast](#movelast)|Moves to the last record.|
@@ -52,7 +52,7 @@ An accessor class. The default is `CAccessorBase`.
5252
|[MoveToBookmark](#movetobookmark)|Fetches the row marked by a bookmark or the row at a specified offset from that bookmark.|
5353
|[MoveToRatio](#movetoratio)|Fetches rows starting from a fractional position in the rowset.|
5454
|[ReleaseRows](#releaserows)|Calls [IRowset::ReleaseRows](/previous-versions/windows/desktop/ms719771(v=vs.85)) to release the current row handle.|
55-
|[SetData](#setdata)|Sets data values in one or more columns of a row using [IRowsetChange:SetData](/previous-versions/windows/desktop/ms721232(v=vs.85)).|
55+
|[SetData](#setdata)|Sets data values in one or more columns of a row using [IRowsetChange::SetData](/previous-versions/windows/desktop/ms721232(v=vs.85)).|
5656
|[Undo](#undo)|Undoes any changes made to a row since the last fetch or [Update](#update).|
5757
|[Update](#update)|Transmits any pending changes made to the current row since the last fetch or update.|
5858
|[UpdateAll](#updateall)|Transmits any pending changes made to all rows since the last fetch or update.|

docs/dotnet/functional-stl-clr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ public:
499499
typedef Fun stored_function_type;
500500
typedef typename Fun::first_argument_type first_argument_type;
501501
typedef typename Fun::second_argument_type second_argument_type;
502-
typedef typename Fun:result_type result_type;
502+
typedef typename Fun::result_type result_type;
503503
typedef Microsoft::VisualC::StlClr::UnaryDelegate<
504504
second_argument_type, result_type>
505505
delegate_type;
@@ -604,7 +604,7 @@ public:
604604
typedef Fun stored_function_type;
605605
typedef typename Fun::first_argument_type first_argument_type;
606606
typedef typename Fun::second_argument_type second_argument_type;
607-
typedef typename Fun:result_type result_type;
607+
typedef typename Fun::result_type result_type;
608608
typedef Microsoft::VisualC::StlClr::UnaryDelegate<
609609
first_argument_type, result_type>
610610
delegate_type;

0 commit comments

Comments
 (0)