Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

 

Show:
© 2017 Microsoft