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
Copy file name to clipboardExpand all lines: docs/atl/notifyhandler.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,8 @@
1
1
---
2
-
title: NotifyHandler
3
-
ms.date: 11/04/2016
4
-
ms.topic: reference
5
-
helpviewer_keywords:
6
-
- NotifyHandler function
2
+
title: "NotifyHandler"
3
+
ms.date: "11/04/2016"
4
+
ms.topic: "reference"
5
+
helpviewer_keywords: ["NotifyHandler function"]
7
6
ms.assetid: 5ff953ec-de35-42bc-8b3c-d384d636c139
8
7
---
9
8
# NotifyHandler
@@ -25,7 +24,7 @@ LRESULT NotifyHandler(
25
24
The identifier of the control sending the message.
26
25
27
26
*pnmh*<br/>
28
-
Address of an [NMHDR](/windows/desktop/api/richedit/ns-richedit-nmhdr) structure that contains the notification code and additional information. For some notification messages, this parameter points to a larger structure that has the `NMHDR` structure as its first member.
27
+
Address of an [NMHDR](/windows/desktop/api/richedit/ns-richedit-_nmhdr) structure that contains the notification code and additional information. For some notification messages, this parameter points to a larger structure that has the `NMHDR` structure as its first member.
29
28
30
29
*bHandled*<br/>
31
30
The message map sets *bHandled* to TRUE before *NotifyHandler* is called. If *NotifyHandler* does not fully handle the message, it should set *bHandled* to **FALSE** to indicate the message needs further processing.
Specifies a [SECURITY_IMPERSONATION_LEVEL](/windows/desktop/api/winnt/ne-winnt-security_impersonation_level) enumerated type that supplies the impersonation level of the new token.
165
+
Specifies a [SECURITY_IMPERSONATION_LEVEL](/windows/desktop/api/winnt/ne-winnt-_security_impersonation_level) enumerated type that supplies the impersonation level of the new token.
214
166
215
167
### Return Value
216
168
@@ -280,7 +232,7 @@ Pointer to a null-terminated string that specifies the command line to execute.
280
232
Pointer to a [PROCESS_INFORMATION structure](/windows/win32/api/processthreadsapi/ns-processthreadsapi-process_information) that receives identification information about the new process.
281
233
282
234
*pStartupInfo*<br/>
283
-
Pointer to a [STARTUPINFO](/windows/desktop/api/processthreadsapi/ns-processthreadsapi-startupinfoa) structure that specifies how the main window for the new process should appear.
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.
284
236
285
237
*dwCreationFlags*<br/>
286
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.
@@ -526,7 +478,7 @@ bool GetImpersonationLevel(
526
478
### Parameters
527
479
528
480
*pImpersonationLevel*<br/>
529
-
Pointer to a [SECURITY_IMPERSONATION_LEVEL](/windows/desktop/api/winnt/ne-winnt-security_impersonation_level) enumeration type which will receive the impersonation level information.
481
+
Pointer to a [SECURITY_IMPERSONATION_LEVEL](/windows/desktop/api/winnt/ne-winnt-_security_impersonation_level) enumeration type which will receive the impersonation level information.
Address of the [TOKEN_TYPE](/windows/desktop/api/winnt/ne-winnt-token_type) variable that, on success, receives the type of the token.
731
+
Address of the [TOKEN_TYPE](/windows/desktop/api/winnt/ne-winnt-_token_type) variable that, on success, receives the type of the token.
780
732
781
733
### Return Value
782
734
@@ -1051,7 +1003,7 @@ Indicates whether the access check is to be made against the security context of
1051
1003
If this parameter is FALSE, the access check is performed using the security context for the calling thread. If the thread is impersonating a client, this security context can be that of a client process. If this parameter is TRUE, the access check is made using the security context of the process for the calling thread.
1052
1004
1053
1005
*sil*<br/>
1054
-
Specifies a [SECURITY_IMPERSONATION_LEVEL](/windows/desktop/api/winnt/ne-winnt-security_impersonation_level) enumerated type that supplies the impersonation level of the token.
1006
+
Specifies a [SECURITY_IMPERSONATION_LEVEL](/windows/desktop/api/winnt/ne-winnt-_security_impersonation_level) enumerated type that supplies the impersonation level of the token.
1055
1007
1056
1008
### Return Value
1057
1009
@@ -1076,7 +1028,7 @@ bool PrivilegeCheck(
1076
1028
### Parameters
1077
1029
1078
1030
*RequiredPrivileges*<br/>
1079
-
Pointer to a [PRIVILEGE_SET](/windows/desktop/api/winnt/ns-winnt-privilege_set) structure.
1031
+
Pointer to a [PRIVILEGE_SET](/windows/desktop/api/winnt/ns-winnt-_privilege_set) structure.
1080
1032
1081
1033
*pbResult*<br/>
1082
1034
Pointer to a value the method sets to indicate whether any or all of the specified privilege are enabled in the `CAccessToken` object.
@@ -1087,7 +1039,7 @@ Returns TRUE on success, FALSE on failure.
1087
1039
1088
1040
### Remarks
1089
1041
1090
-
When `PrivilegeCheck` returns, the `Attributes` member of each [LUID_AND_ATTRIBUTES](/windows/desktop/api/winnt/ns-winnt-luid_and_attributes) structure is set to SE_PRIVILEGE_USED_FOR_ACCESS if the corresponding privilege is enabled. This method calls the [PrivilegeCheck](/windows/desktop/api/securitybaseapi/nf-securitybaseapi-privilegecheck) Win32 function.
1042
+
When `PrivilegeCheck` returns, the `Attributes` member of each [LUID_AND_ATTRIBUTES](/windows/desktop/api/winnt/ns-winnt-_luid_and_attributes) structure is set to SE_PRIVILEGE_USED_FOR_ACCESS if the corresponding privilege is enabled. This method calls the [PrivilegeCheck](/windows/desktop/api/securitybaseapi/nf-securitybaseapi-privilegecheck) Win32 function.
This typedef specifies the array type used to define the access-control entry (ACE) type-specific control flags. See the [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-ace_header) definition for the complete list of possible flags.
105
+
This typedef specifies the array type used to define the access-control entry (ACE) type-specific control flags. See the [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-_ace_header) definition for the complete list of possible flags.
This typedef specifies the array type used to define the nature of the access-control entry (ACE) objects, such as ACCESS_ALLOWED_ACE_TYPE or ACCESS_DENIED_ACE_TYPE. See the [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-ace_header) definition for the complete list of possible types.
117
+
This typedef specifies the array type used to define the nature of the access-control entry (ACE) objects, such as ACCESS_ALLOWED_ACE_TYPE or ACCESS_DENIED_ACE_TYPE. See the [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-_ace_header) definition for the complete list of possible types.
136
118
137
119
## <aname="cacl"></a> CAcl::CAcl
138
120
@@ -208,7 +190,7 @@ This method fills the array parameters with the details of every ACE object cont
208
190
209
191
The contents of each array correspond to each other, that is, the first element of the `CAccessMaskArray` array corresponds to the first element in the `CSidArray` array, and so on.
210
192
211
-
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-ace_header) for more details on ACE types and flags.
193
+
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-_ace_header) for more details on ACE types and flags.
212
194
213
195
## <aname="getaclentry"></a> CAcl::GetAclEntry
214
196
@@ -252,7 +234,7 @@ The inherited object type. This will be set to GUID_NULL if the inherited object
252
234
253
235
This method will retrieve all of the information about an individual ACE, providing more information than [CAcl::GetAclEntries](#getaclentries) alone makes available.
254
236
255
-
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-ace_header) for more details on ACE types and flags.
237
+
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-_ace_header) for more details on ACE types and flags.
0 commit comments