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
+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
@@ -24,7 +24,7 @@ LRESULT NotifyHandler(
24
24
The identifier of the control sending the message.
25
25
26
26
*pnmh*<br/>
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.
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.
28
28
29
29
*bHandled*<br/>
30
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.
166
166
167
167
### Return Value
168
168
@@ -232,7 +232,7 @@ Pointer to a null-terminated string that specifies the command line to execute.
232
232
Pointer to a [PROCESS_INFORMATION structure](/windows/win32/api/processthreadsapi/ns-processthreadsapi-process_information) that receives identification information about the new process.
233
233
234
234
*pStartupInfo*<br/>
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.
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
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.
@@ -478,7 +478,7 @@ bool GetImpersonationLevel(
478
478
### Parameters
479
479
480
480
*pImpersonationLevel*<br/>
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.
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.
732
732
733
733
### Return Value
734
734
@@ -1003,7 +1003,7 @@ Indicates whether the access check is to be made against the security context of
1003
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.
1004
1004
1005
1005
*sil*<br/>
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.
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.
1007
1007
1008
1008
### Return Value
1009
1009
@@ -1028,7 +1028,7 @@ bool PrivilegeCheck(
1028
1028
### Parameters
1029
1029
1030
1030
*RequiredPrivileges*<br/>
1031
-
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.
1032
1032
1033
1033
*pbResult*<br/>
1034
1034
Pointer to a value the method sets to indicate whether any or all of the specified privilege are enabled in the `CAccessToken` object.
@@ -1039,7 +1039,7 @@ Returns TRUE on success, FALSE on failure.
1039
1039
1040
1040
### Remarks
1041
1041
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.
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.
118
118
119
119
## <aname="cacl"></a> CAcl::CAcl
120
120
@@ -190,7 +190,7 @@ This method fills the array parameters with the details of every ACE object cont
190
190
191
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.
192
192
193
-
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.
194
194
195
195
## <aname="getaclentry"></a> CAcl::GetAclEntry
196
196
@@ -234,7 +234,7 @@ The inherited object type. This will be set to GUID_NULL if the inherited object
234
234
235
235
This method will retrieve all of the information about an individual ACE, providing more information than [CAcl::GetAclEntries](#getaclentries) alone makes available.
236
236
237
-
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.
Copy file name to clipboardExpand all lines: docs/atl/reference/cdacl-class.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ Returns TRUE if the ACE is added to the `CDacl` object, FALSE on failure.
106
106
107
107
A `CDacl` object contains zero or more ACEs (access-control entries) that identify the users and groups who can access the object. This method adds an ACE that allows access to the `CDacl` object.
108
108
109
-
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-_ace_header) for a description of the various flags which can be set in the `AceFlags` parameter.
109
+
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-ace_header) for a description of the various flags which can be set in the `AceFlags` parameter.
110
110
111
111
## <aname="adddeniedace"></a> CDacl::AddDeniedAce
112
112
@@ -151,7 +151,7 @@ Returns TRUE if the ACE is added to the `CDacl` object, FALSE on failure.
151
151
152
152
A `CDacl` object contains zero or more ACEs (access-control entries) that identify the users and groups who can access the object. This method adds an ACE that denies access to the `CDacl` object.
153
153
154
-
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-_ace_header) for a description of the various flags which can be set in the `AceFlags` parameter.
154
+
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-ace_header) for a description of the various flags which can be set in the `AceFlags` parameter.
Copy file name to clipboardExpand all lines: docs/atl/reference/cprivateobjectsecuritydesc-class.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ Pointer to a `GUID` structure that identifies the type of object associated with
79
79
Specifies whether the new object can contain other objects. A value of true indicates that the new object is a container. A value of false indicates that the new object is not a container.
80
80
81
81
*GenericMapping*<br/>
82
-
Pointer to a [GENERIC_MAPPING](/windows/desktop/api/winnt/ns-winnt-_generic_mapping) structure that specifies the mapping from each generic right to specific rights for the object.
82
+
Pointer to a [GENERIC_MAPPING](/windows/desktop/api/winnt/ns-winnt-generic_mapping) structure that specifies the mapping from each generic right to specific rights for the object.
83
83
84
84
### Return Value
85
85
@@ -150,7 +150,7 @@ Specifies whether the new object can contain other objects. A value of true indi
150
150
Reference to the [CAccessToken](../../atl/reference/caccesstoken-class.md) object for the client process on whose behalf the object is being created.
151
151
152
152
*GenericMapping*<br/>
153
-
Pointer to a [GENERIC_MAPPING](/windows/desktop/api/winnt/ns-winnt-_generic_mapping) structure that specifies the mapping from each generic right to specific rights for the object.
153
+
Pointer to a [GENERIC_MAPPING](/windows/desktop/api/winnt/ns-winnt-generic_mapping) structure that specifies the mapping from each generic right to specific rights for the object.
154
154
155
155
*ObjectType*<br/>
156
156
Pointer to a `GUID` structure that identifies the type of object associated with the current object. Set *ObjectType* to NULL if the object does not have a GUID.
@@ -245,7 +245,7 @@ A set of bit flags that indicate the parts of the security descriptor to set. Th
245
245
Pointer to a [CSecurityDesc](../../atl/reference/csecuritydesc-class.md) object. The parts of this security descriptor indicated by the *si* parameter are applied to the object's security descriptor.
246
246
247
247
*GenericMapping*<br/>
248
-
Pointer to a [GENERIC_MAPPING](/windows/desktop/api/winnt/ns-winnt-_generic_mapping) structure that specifies the mapping from each generic right to specific rights for the object.
248
+
Pointer to a [GENERIC_MAPPING](/windows/desktop/api/winnt/ns-winnt-generic_mapping) structure that specifies the mapping from each generic right to specific rights for the object.
249
249
250
250
*Token*<br/>
251
251
Reference to the [CAccessToken](../../atl/reference/caccesstoken-class.md) object for the client process on whose behalf the object is being created.
@@ -263,7 +263,7 @@ The second method permits specifying the object type GUID of the object or contr
Copy file name to clipboardExpand all lines: docs/atl/reference/cregkey-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
@@ -851,7 +851,7 @@ Specifies the components of the security descriptor to set. The value can be a c
851
851
|SACL_SECURITY_INFORMATION|Sets the key's system access-control list (SACL). The key must have ACCESS_SYSTEM_SECURITY access. The proper way to get this access is to enable the SE_SECURITY_NAME [privilege](/windows/desktop/secauthz/privileges) in the caller's current access token, open the handle for ACCESS_SYSTEM_SECURITY access, and then disable the privilege.|
852
852
853
853
*psd*<br/>
854
-
Pointer to a [SECURITY_DESCRIPTOR](/windows/desktop/api/winnt/ns-winnt-_security_descriptor) structure that specifies the security attributes to set for the specified key.
854
+
Pointer to a [SECURITY_DESCRIPTOR](/windows/desktop/api/winnt/ns-winnt-security_descriptor) structure that specifies the security attributes to set for the specified key.
Copy file name to clipboardExpand all lines: docs/atl/reference/csacl-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
@@ -115,7 +115,7 @@ Returns TRUE if the ACE is added to the `CSacl` object, FALSE on failure.
115
115
116
116
A `CSacl` object contains access-control entries (ACEs) that specify the types of access attempts that generate audit records in the security event log. This method adds such an ACE to the `CSacl` object.
117
117
118
-
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-_ace_header) for a description of the various flags which can be set in the *AceFlags* parameter.
118
+
See [ACE_HEADER](/windows/desktop/api/winnt/ns-winnt-ace_header) for a description of the various flags which can be set in the *AceFlags* parameter.
Copy file name to clipboardExpand all lines: docs/atl/reference/csecurityattributes-class.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ class CSecurityAttributes : public SECURITY_ATTRIBUTES
34
34
35
35
## Remarks
36
36
37
-
The `SECURITY_ATTRIBUTES` structure contains a [security descriptor](/windows/desktop/api/winnt/ns-winnt-_security_descriptor) used for the creation of an object and specifies whether the handle retrieved by specifying this structure is inheritable.
37
+
The `SECURITY_ATTRIBUTES` structure contains a [security descriptor](/windows/desktop/api/winnt/ns-winnt-security_descriptor) used for the creation of an object and specifies whether the handle retrieved by specifying this structure is inheritable.
38
38
39
39
For an introduction to the access control model in Windows, see [Access Control](/windows/desktop/SecAuthZ/access-control) in the Windows SDK.
40
40
@@ -89,6 +89,6 @@ This method is used by the constructor to initialize the `CSecurityAttributes` o
0 commit comments