Skip to content

Commit fcddd40

Browse files
authored
Merge pull request #5889 from MicrosoftDocs/main
4/23/2025 AM Publish
2 parents 1dae365 + 8afbc60 commit fcddd40

32 files changed

+192
-227
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/build/adding-references-in-visual-cpp-projects.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ To consume a library that you have downloaded by using the **vcpkg** package man
2121

2222
If your static library project gets built in the same solution:
2323

24-
1. #include the header file(s) for the static library using quotation marks. In a typical solution, the path starts with `../<library project name>`. IntelliSense will help you find it.
24+
1. `#include` the header file(s) for the static library using quotation marks. In a typical solution, the path starts with `../<library project name>`. IntelliSense will help you find it.
2525
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**.
2626

2727
If the static library isn't part of the solution:
2828

2929
1. Right-click on the application project node in **Solution Explorer** and then choose **Properties**.
30-
2. In the **VC++ Directories** property page, add the path to the directory that contains the LIB file to **Library Paths**. Then, add the path to the library header file(s) to **Include Directories**.
30+
2. In the **VC++ Directories** property page, add the path to the directory that contains the LIB file to **Library Directories**. Then, add the path to the library header file(s) to **Include Directories**.
3131
3. In the **Linker > Input** property page, add the name of the LIB file to **Additional Dependencies**.
3232

3333
## Dynamic link libraries
@@ -161,5 +161,5 @@ The following properties exist on COM and .NET assembly references, and aren't m
161161

162162
## See also
163163

164-
[C++ project property page reference](reference/property-pages-visual-cpp.md)<br>
164+
[C++ project property page reference](reference/property-pages-visual-cpp.md)\
165165
[Set C++ compiler and build properties in Visual Studio](working-with-project-properties.md)

docs/build/reference/zc-alignednew.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: /Zc:alignedNew (C++17 over-aligned allocation)"
32
title: "/Zc:alignedNew (C++17 over-aligned allocation)"
3+
description: "Learn more about: /Zc:alignedNew (C++17 over-aligned allocation)"
44
ms.date: "05/18/2019"
55
f1_keywords: ["/Zc:alignedNew"]
66
helpviewer_keywords: ["/Zc:alignedNew", "Zc:alignedNew", "-Zc:alignedNew"]
@@ -17,7 +17,7 @@ Enable support for C++17 over-aligned **`new`**, dynamic memory allocation align
1717

1818
The MSVC compiler and library support C++17 standard over-aligned dynamic memory allocation. When the **`/Zc:alignedNew`** option is specified, a dynamic allocation such as `new Example;` respects the alignment of `Example` even when it's greater than `max_align_t`, the largest alignment required for any fundamental type. When the alignment of the allocated type is no more than the alignment guaranteed by the original operator **`new`**, available as the value of the predefined macro `__STDCPP_DEFAULT_NEW_ALIGNMENT__`, the statement `new Example;` results in a call to `::operator new(size_t)` as it did in C++14. When the alignment is greater than `__STDCPP_DEFAULT_NEW_ALIGNMENT__`, the implementation instead obtains the memory by using `::operator new(size_t, align_val_t)`. Similarly, deletion of over-aligned types invokes `::operator delete(void*, align_val_t)` or the sized delete signature `::operator delete(void*, size_t, align_val_t)`.
1919

20-
The **`/Zc:alignedNew`** option is only available when [`/std:c++17`](std-specify-language-standard-version.md) or later is enabled. Under **`/std:c++17`** or later, **`/Zc:alignedNew`** is enabled by default to conform to the C++ standard. If the only reason you implement operator **`new`** and **`delete`** is to support over-aligned allocations, you may no longer need this code in C++17 or later modes. To turn off this option and revert to the C++14 behavior of **`new`** and **`delete`** when you use **`/std::c++17`** or later, specify **`/Zc:alignedNew-`**. If you implement operator **`new`** and **`delete`** but you're not ready to implement the over-aligned operator **`new`** and **`delete`** overloads that have the `align_val_t` parameter, use the **`/Zc:alignedNew-`** option to prevent the compiler and Standard Library from generating calls to the over-aligned overloads. The [`/permissive-`](permissive-standards-conformance.md) option doesn't change the default setting of **`/Zc:alignedNew`**.
20+
The **`/Zc:alignedNew`** option is only available when [`/std:c++17`](std-specify-language-standard-version.md) or later is enabled. Under **`/std:c++17`** or later, **`/Zc:alignedNew`** is enabled by default to conform to the C++ standard. If the only reason you implement operator **`new`** and **`delete`** is to support over-aligned allocations, you may no longer need this code in C++17 or later modes. To turn off this option and revert to the C++14 behavior of **`new`** and **`delete`** when you use **`/std:c++17`** or later, specify **`/Zc:alignedNew-`**. If you implement operator **`new`** and **`delete`** but you're not ready to implement the over-aligned operator **`new`** and **`delete`** overloads that have the `align_val_t` parameter, use the **`/Zc:alignedNew-`** option to prevent the compiler and Standard Library from generating calls to the over-aligned overloads. The [`/permissive-`](permissive-standards-conformance.md) option doesn't change the default setting of **`/Zc:alignedNew`**.
2121

2222
Support for **`/Zc:alignedNew`** is available starting in Visual Studio 2017 version 15.5.
2323

docs/c-runtime-library/crt-debug-heap-details.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,11 @@ typedef struct _CrtMemBlockHeader
102102

103103
The `no_mans_land` buffers on either side of the user data area of the block are currently 4 bytes in size, and are filled with a known byte value used by the debug heap routines to verify that the limits of the user's memory block haven't been overwritten. The debug heap also fills new memory blocks with a known value. If you elect to keep freed blocks in the heap's linked list, these freed blocks are also filled with a known value. Currently, the actual byte values used are as follows:
104104

105-
`no_mans_land` (0xFD)\
106-
The "no_mans_land" buffers on either side of the memory used by an application are currently filled with 0xFD.
107-
108-
Freed blocks (0xDD)\
109-
The freed blocks kept unused in the debug heap's linked list when the `_CRTDBG_DELAY_FREE_MEM_DF` flag is set are currently filled with 0xDD.
110-
111-
New objects (0xCD)\
112-
New objects are filled with 0xCD when they're allocated.
105+
|Code |Description |
106+
|---------|---------|
107+
|`no_mans_land` (0xFD) | The "no_mans_land" buffers on either side of the memory used by an application are currently filled with 0xFD. |
108+
|Freed blocks (0xDD) | The freed blocks kept unused in the debug heap's linked list when the `_CRTDBG_DELAY_FREE_MEM_DF` flag is set are currently filled with 0xDD. |
109+
|New objects (0xCD) | New objects are filled with 0xCD when they're allocated.|
113110

114111
## Types of blocks on the debug heap
115112

@@ -170,7 +167,7 @@ All calls to heap functions such as `malloc`, `free`, `calloc`, `realloc`, `new`
170167
171168
### To use the debug heap
172169
173-
- Link the debug build of your application with a debug version of the C runtime library.
170+
Link the debug build of your application with a debug version of the C runtime library.
174171
175172
### To change one or more `_crtDbgFlag` bit fields and create a new state for the flag
176173
@@ -275,9 +272,9 @@ Knowing the source file name and line number of an assert or reporting macro is
275272

276273
### Unique allocation request numbers and `_crtBreakAlloc`
277274

278-
There's a simple way to identify the specific heap allocation call that went bad. It takes advantage of the unique allocation request number associated with each block in the debug heap. When information about a block is reported by one of the dump functions, this allocation request number is enclosed in braces (for example, "{36}").
275+
There's a simple way to identify the specific heap allocation call that went bad. It takes advantage of the unique allocation request number associated with each block in the debug heap. When information about a block is reported by one of the dump functions, this allocation request number is enclosed in braces. For example, `{36}`.
279276

280-
Once you know the allocation request number of an improperly allocated block, you can pass this number to [`_CrtSetBreakAlloc`](./reference/crtsetbreakalloc.md) to create a breakpoint. Execution will break just before allocating the block, and you can backtrack to determine what routine was responsible for the bad call. To avoid recompiling, you can accomplish the same thing in the debugger by setting `_crtBreakAlloc` to the allocation request number you're interested in.
277+
Once you know the allocation request number of an improperly allocated block, you can pass this number to [`_CrtSetBreakAlloc`](./reference/crtsetbreakalloc.md) to create a breakpoint. Execution will break just before allocating the block and you can backtrack to determine what routine was responsible for the bad call. To avoid recompiling, you can accomplish the same thing in the debugger by setting `_crtBreakAlloc` to the allocation request number you're interested in.
281278

282279
### Creating debug versions of your allocation routines
283280

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/)

0 commit comments

Comments
 (0)