You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`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).
11
11
12
12
`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.
@@ -235,7 +235,7 @@ Pointer to a [PROCESS_INFORMATION](/windows/desktop/api/processthreadsapi/ns-pro
235
235
Pointer to a [STARTUPINFO](/windows/desktop/api/processthreadsapi/ns-processthreadsapi-_startupinfoa) structure that specifies how the main window for the new process should appear.
236
236
237
237
*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.
239
239
240
240
*bLoadProfile*<br/>
241
241
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.
258
258
259
259
### Remarks
260
260
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.
262
262
263
263
For this method to succeed, the `CAccessToken` object must hold AssignPrimaryToken (unless it is a restricted token) and IncreaseQuota privileges.
264
264
@@ -294,7 +294,7 @@ Returns TRUE on success, FALSE on failure.
294
294
295
295
### Remarks
296
296
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.
298
298
299
299
> [!IMPORTANT]
300
300
> 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.
Copy file name to clipboardExpand all lines: docs/atl/reference/caxdialogimpl-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ INT_PTR DoModal(
158
158
### Parameters
159
159
160
160
*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.
162
162
163
163
*dwInitParam*<br/>
164
164
[in] Specifies the value to pass to the dialog box in the *lParam* parameter of the WM_INITDIALOG message.
Copy file name to clipboardExpand all lines: docs/atl/reference/ccomcontrolbase-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1465,7 +1465,7 @@ Returns TRUE if the control successfully receives focus; otherwise, FALSE.
1465
1465
1466
1466
### Remarks
1467
1467
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.
Copy file name to clipboardExpand all lines: docs/atl/reference/ccontainedwindowt-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@ The result of the message processing.
250
250
251
251
### Remarks
252
252
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).
|Using dialog boxes in ATL|[ATL Window Classes](../../atl/atl-window-classes.md)|
76
76
|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|
78
78
79
79
## Requirements
80
80
@@ -179,7 +179,7 @@ INT_PTR DoModal(
179
179
### Parameters
180
180
181
181
*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.
183
183
184
184
*dwInitParam*<br/>
185
185
[in] Specifies the value to pass to the dialog box in the *lParam* parameter of the WM_INITDIALOG message.
0 commit comments