Skip to content

Commit 27822fe

Browse files
authored
Merge pull request MicrosoftDocs#1578 from MicrosoftDocs/master
11/15 AM Publish
2 parents d441305 + c80fa3c commit 27822fe

125 files changed

Lines changed: 1354 additions & 1498 deletions

File tree

Some content is hidden

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

.openpublishing.redirection.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,86 @@
430430
"redirect_url": "/cpp/c-runtime-library/format-specification-syntax-printf-and-wprintf-functions#size",
431431
"redirect_document_id": false
432432
},
433+
{
434+
"source_path": "docs/ide/add-class-dialog-box.md",
435+
"redirect_url": "/cpp/ide/adding-a-class-visual-cpp#add-class-dialog-box",
436+
"redirect_document_id": false
437+
},
438+
{
439+
"source_path": "docs/ide/add-class-from-activex-control-wizard.md",
440+
"redirect_url": "/cpp/ide/adding-a-class-from-an-activex-control-visual-cpp#add-class-from-activex-control-wizard",
441+
"redirect_document_id": false
442+
},
443+
{
444+
"source_path": "docs/ide/generic-cpp-class-wizard.md",
445+
"redirect_url": "/cpp/ide/adding-a-generic-cpp-class#generic-c-class-wizard",
446+
"redirect_document_id": false
447+
},
448+
{
449+
"source_path": "docs/ide/add-member-function-wizard.md",
450+
"redirect_url": "/cpp/ide/adding-a-member-function-visual-cpp#add-member-function-wizard",
451+
"redirect_document_id": false
452+
},
453+
{
454+
"source_path": "docs/ide/add-member-variable-wizard.md",
455+
"redirect_url": "/cpp/ide/adding-a-member-variable-visual-cpp#add-member-variable-wizard",
456+
"redirect_document_id": false
457+
},
458+
{
459+
"source_path": "docs/ide/dialog-box-controls-and-variable-types.md",
460+
"redirect_url": "/cpp/ide/adding-a-member-variable-visual-cpp#dialog-box-controls-and-variable-types",
461+
"redirect_document_id": false
462+
},
463+
{
464+
"source_path": "docs/ide/add-method-wizard.md",
465+
"redirect_url": "/cpp/ide/adding-a-method-visual-cpp#add-method-wizard",
466+
"redirect_document_id": false
467+
},
468+
{
469+
"source_path": "docs/ide/idl-attributes-add-method-wizard.md",
470+
"redirect_url": "/cpp/ide/adding-a-method-visual-cpp#idl-attributes-add-method-wizard",
471+
"redirect_document_id": false
472+
},
473+
{
474+
"source_path": "docs/ide/names-add-property-wizard.md",
475+
"redirect_url": "/cpp/ide/adding-a-property-visual-cpp#names-add-property-wizard",
476+
"redirect_document_id": false
477+
},
478+
{
479+
"source_path": "docs/ide/idl-attributes-add-property-wizard.md",
480+
"redirect_url": "/cpp/ide/adding-a-property-visual-cpp#idl-attributes-add-property-wizard",
481+
"redirect_document_id": false
482+
},
483+
{
484+
"source_path": "docs/ide/stock-properties.md",
485+
"redirect_url": "/cpp/ide/adding-a-property-visual-cpp#stock-properties",
486+
"redirect_document_id": false
487+
},
488+
{
489+
"source_path": "docs/ide/add-event-wizard.md",
490+
"redirect_url": "/cpp/ide/adding-an-event-visual-cpp#add-event-wizard",
491+
"redirect_document_id": false
492+
},
493+
{
494+
"source_path": "docs/ide/event-handler-wizard.md",
495+
"redirect_url": "/cpp/ide/adding-an-event-handler-visual-cpp#event-handler-wizard",
496+
"redirect_document_id": false
497+
},
498+
{
499+
"source_path": "docs/ide/editing-a-com-interface.md",
500+
"redirect_url": "/cpp/ide/creating-a-com-interface-visual-cpp#edit-a-com-interface",
501+
"redirect_document_id": false
502+
},
503+
{
504+
"source_path": "docs/ide/implement-connection-point-wizard.md",
505+
"redirect_url": "/cpp/ide/implementing-a-connection-point-visual-cpp#implement-connection-point-wizard",
506+
"redirect_document_id": false
507+
},
508+
{
509+
"source_path": "docs/ide/implement-interface-wizard.md",
510+
"redirect_url": "/cpp/ide/implementing-an-interface-visual-cpp#implement-interface-wizard",
511+
"redirect_document_id": false
512+
},
433513
{
434514
"source_path": "docs/data/oledb/caccessorbase-close.md",
435515
"redirect_url": "/cpp/data/oledb/caccessorbase-class#close",

docs/atl/catlservicemodulet-run-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.assetid: 42c010f0-e60e-459c-a63b-a53a24cda93b
77
---
88
# CAtlServiceModuleT::Run Function
99

10-
`Run` contains calls to `PreMessageLoop`, `RunMessageLoop`, and `PostMessageLoop`. After being called, `PreMessageLoop` first stores the service's thread ID. The service will use this ID to close itself by sending a WM_QUIT message using the Win32 API function, [PostThreadMessage](https://msdn.microsoft.com/library/windows/desktop/ms644946).
10+
`Run` contains calls to `PreMessageLoop`, `RunMessageLoop`, and `PostMessageLoop`. After being called, `PreMessageLoop` first stores the service's thread ID. The service will use this ID to close itself by sending a WM_QUIT message using the Win32 API function, [PostThreadMessage](/windows/desktop/api/winuser/nf-winuser-postthreadmessagea).
1111

1212
`PreMessageLoop` then calls `InitializeSecurity`. By default, `InitializeSecurity` calls [CoInitializeSecurity](/windows/desktop/api/combaseapi/nf-combaseapi-coinitializesecurity) with the security descriptor set to NULL, which means that any user has access to your object.
1313

docs/atl/commandhandler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ For an example of using this message handler in a message map, see [COMMAND_HAND
4646
4747
[Implementing a Window](../atl/implementing-a-window.md)<br/>
4848
[Message Maps](../atl/message-maps-atl.md)<br/>
49-
[WM_NOTIFY](https://msdn.microsoft.com/library/windows/desktop/bb775583)
49+
[WM_NOTIFY](/windows/desktop/controls/wm-notify)
5050

docs/atl/message-handler-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ ATL provides three types of message handler functions:
2020

2121
[Implementing a Window](../atl/implementing-a-window.md)<br/>
2222
[Message Maps](../atl/message-maps-atl.md)<br/>
23-
[WM_NOTIFY](https://msdn.microsoft.com/library/windows/desktop/bb775583)
23+
[WM_NOTIFY](/windows/desktop/controls/wm-notify)
2424

docs/atl/messagehandler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ For an example of using this message handler in a message map, see [MESSAGE_HAND
4646

4747
[Implementing a Window](../atl/implementing-a-window.md)<br/>
4848
[Message Maps](../atl/message-maps-atl.md)<br/>
49-
[WM_NOTIFY](https://msdn.microsoft.com/library/windows/desktop/bb775583)
49+
[WM_NOTIFY](/windows/desktop/controls/wm-notify)

docs/atl/notifyhandler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ For an example of using this message handler in a message map, see [NOTIFY_HANDL
4242
4343
[Implementing a Window](../atl/implementing-a-window.md)<br/>
4444
[Message Maps](../atl/message-maps-atl.md)<br/>
45-
[WM_NOTIFY](https://msdn.microsoft.com/library/windows/desktop/bb775583)
45+
[WM_NOTIFY](/windows/desktop/controls/wm-notify)

docs/atl/reference/caccesstoken-class.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Returns TRUE on success, FALSE on failure.
200200

201201
### Remarks
202202

203-
`CreatePrimaryToken` calls [DuplicateTokenEx](https://msdn.microsoft.com/library/windows/desktop/aa446617) to create a new primary token.
203+
`CreatePrimaryToken` calls [DuplicateTokenEx](/windows/desktop/api/securitybaseapi/nf-securitybaseapi-duplicatetokenex) to create a new primary token.
204204

205205
## <a name="createprocessasuser"></a> CAccessToken::CreateProcessAsUser
206206

@@ -235,7 +235,7 @@ Pointer to a [PROCESS_INFORMATION](/windows/desktop/api/processthreadsapi/ns-pro
235235
Pointer to a [STARTUPINFO](/windows/desktop/api/processthreadsapi/ns-processthreadsapi-_startupinfoa) structure that specifies how the main window for the new process should appear.
236236

237237
*dwCreationFlags*<br/>
238-
Specifies additional flags that control the priority class and the creation of the process. See the Win32 function [CreateProcessAsUser](https://msdn.microsoft.com/library/windows/desktop/ms682429) for a list of flags.
238+
Specifies additional flags that control the priority class and the creation of the process. See the Win32 function [CreateProcessAsUser](/windows/desktop/api/processthreadsapi/nf-processthreadsapi-createprocessasusera) for a list of flags.
239239

240240
*bLoadProfile*<br/>
241241
If TRUE, the user's profile is loaded with [LoadUserProfile](/windows/desktop/api/userenv/nf-userenv-loaduserprofilea).
@@ -258,7 +258,7 @@ Returns TRUE on success, FALSE on failure.
258258

259259
### Remarks
260260

261-
`CreateProcessAsUser` uses the `CreateProcessAsUser` Win32 function to create a new process that runs in the security context of the user represented by the `CAccessToken` object. See the description of the [CreateProcessAsUser](https://msdn.microsoft.com/library/windows/desktop/ms682429) function for a full discussion of the parameters required.
261+
`CreateProcessAsUser` uses the `CreateProcessAsUser` Win32 function to create a new process that runs in the security context of the user represented by the `CAccessToken` object. See the description of the [CreateProcessAsUser](/windows/desktop/api/processthreadsapi/nf-processthreadsapi-createprocessasusera) function for a full discussion of the parameters required.
262262

263263
For this method to succeed, the `CAccessToken` object must hold AssignPrimaryToken (unless it is a restricted token) and IncreaseQuota privileges.
264264

@@ -294,7 +294,7 @@ Returns TRUE on success, FALSE on failure.
294294

295295
### Remarks
296296

297-
`CreateRestrictedToken` uses the [CreateRestrictedToken](https://msdn.microsoft.com/library/windows/desktop/aa446583) Win32 function to create a new `CAccessToken` object, with restrictions.
297+
`CreateRestrictedToken` uses the [CreateRestrictedToken](/windows/desktop/api/securitybaseapi/nf-securitybaseapi-createrestrictedtoken) Win32 function to create a new `CAccessToken` object, with restrictions.
298298

299299
> [!IMPORTANT]
300300
> When using `CreateRestrictedToken`, ensure the following: the existing token is valid (and not entered by the user) and *SidsToDisable* and *PrivilegesToDelete* are both valid (and not entered by the user). If the method returns FALSE, deny functionality.

docs/atl/reference/caxdialogimpl-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ INT_PTR DoModal(
158158
### Parameters
159159

160160
*hWndParent*<br/>
161-
[in] The handle to the owner window. The default value is the return value of the [GetActiveWindow](https://msdn.microsoft.com/library/windows/desktop/ms646292) Win32 function.
161+
[in] The handle to the owner window. The default value is the return value of the [GetActiveWindow](/windows/desktop/api/winuser/nf-winuser-getactivewindow) Win32 function.
162162

163163
*dwInitParam*<br/>
164164
[in] Specifies the value to pass to the dialog box in the *lParam* parameter of the WM_INITDIALOG message.

docs/atl/reference/ccomcontrolbase-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ Returns TRUE if the control successfully receives focus; otherwise, FALSE.
14651465

14661466
### Remarks
14671467

1468-
For a windowed control, the Windows API function [SetFocus](https://msdn.microsoft.com/library/windows/desktop/ms646312) is called. For a windowless control, [IOleInPlaceSiteWindowless::SetFocus](/windows/desktop/api/ocidl/nf-ocidl-ioleinplacesitewindowless-setfocus) is called. Through this call, a windowless control obtains the keyboard focus and can respond to window messages.
1468+
For a windowed control, the Windows API function [SetFocus](/windows/desktop/api/winuser/nf-winuser-setfocus) is called. For a windowless control, [IOleInPlaceSiteWindowless::SetFocus](/windows/desktop/api/ocidl/nf-ocidl-ioleinplacesitewindowless-setfocus) is called. Through this call, a windowless control obtains the keyboard focus and can respond to window messages.
14691469

14701470
## <a name="setdirty"></a> CComControlBase::SetDirty
14711471

docs/atl/reference/ccontainedwindowt-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ The result of the message processing.
250250

251251
### Remarks
252252

253-
By default, `DefWindowProc` calls the [CallWindowProc](https://msdn.microsoft.com/library/windows/desktop/ms633571) Win32 function to send the message information to the window procedure specified in [m_pfnSuperWindowProc](#m_pfnsuperwindowproc).
253+
By default, `DefWindowProc` calls the [CallWindowProc](/windows/desktop/api/winuser/nf-winuser-callwindowproca) Win32 function to send the message information to the window procedure specified in [m_pfnSuperWindowProc](#m_pfnsuperwindowproc).
254254

255255
## <a name="getcurrentmessage"></a> CContainedWindowT::GetCurrentMessage
256256

0 commit comments

Comments
 (0)