Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetSecurityAccessMask
Collapse the table of content
Expand the table of content

SetSecurityAccessMask function

The SetSecurityAccessMask function creates an access mask that represents the access permissions necessary to set the specified object security information.

Syntax


VOID WINAPI SetSecurityAccessMask(
  _In_  SECURITY_INFORMATION SecurityInformation,
  _Out_ LPDWORD              DesiredAccess
);

Parameters

SecurityInformation [in]

A SECURITY_INFORMATION structure that specifies the security information to be set.

DesiredAccess [out]

A pointer to the access mask that this function creates.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Securitybaseapi.h (include WinBase.h);
WinBase.h on Windows Server 2008 R2, Windows 7, Windows Server 2008, and Windows Vista (include Windows.h)

Library

Advapi32.lib

DLL

Advapi32.dll

See also

QuerySecurityAccessMask

 

 

Community Additions

ADD
Show:
© 2015 Microsoft