This topic has not yet been rated - Rate this topic

QuerySecurityAccessMask function

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2008

Header

Winbase.h

Library

Advapi32.lib

DLL

Advapi32.dll

See also

SetSecurityAccessMask

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ