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

QuerySecurityAccessMask function

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

Syntax


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

Parameters

SecurityInformation [in]

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

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

SetSecurityAccessMask

 

 

Community Additions

ADD
Show:
© 2015 Microsoft