Skip to content

Commit c80fa3c

Browse files
authored
Merge pull request #1577 from mikeblome/mb-redirects-1
yet another set of fixes to links to windows topics
2 parents d4ee06a + 3e2b9f6 commit c80fa3c

70 files changed

Lines changed: 190 additions & 190 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.

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

docs/atl/reference/cdialogimpl-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ where `MyDlg` is the **Short name** entered in the wizard's **Names** page.
7474
|Creating controls|[ATL Tutorial](../../atl/active-template-library-atl-tutorial.md)|
7575
|Using dialog boxes in ATL|[ATL Window Classes](../../atl/atl-window-classes.md)|
7676
|ATL Project Wizard|[Creating an ATL Project](../../atl/reference/creating-an-atl-project.md)|
77-
|Dialog boxes|[Dialog Boxes](https://msdn.microsoft.com/library/windows/desktop/ms632588) and subsequent topics in the Windows SDK|
77+
|Dialog boxes|[Dialog Boxes](/windows/desktop/dlgbox/dialog-boxes) and subsequent topics in the Windows SDK|
7878

7979
## Requirements
8080

@@ -179,7 +179,7 @@ INT_PTR DoModal(
179179
### Parameters
180180

181181
*hWndParent*<br/>
182-
[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.
182+
[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.
183183

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

0 commit comments

Comments
 (0)