NAME

GetSecurityInfo  (ADVAPI32.@)

SYNOPSIS

 DWORD GetSecurityInfo
 (
  HANDLE                handle,
  SE_OBJECT_TYPE        type,
  SECURITY_INFORMATION  SecurityInfo,
  PSID*                 ppsidOwner,
  PSID*                 ppsidGroup,
  PACL*                 ppDacl,
  PACL*                 ppSacl,
  PSECURITY_DESCRIPTOR* ppSecurityDescriptor
 )

DESCRIPTION

Retrieves a copy of the security descriptor associated with an object.

PARAMS

hObject [In] A handle for the object.
ObjectType [In] The type of object.
SecurityInfo [In] A bitmask indicating what information to retrieve.
ppsidOwner [Out] If non-NULL, receives a pointer to the owner SID.
ppsidGroup [Out] If non-NULL, receives a pointer to the group SID.
ppDacl [Out] If non-NULL, receives a pointer to the DACL.
ppSacl [Out] If non-NULL, receives a pointer to the SACL.
ppSecurityDescriptor [Out] Receives a pointer to the security descriptor, which must be freed with LocalFree.

RETURNS

ERROR_SUCCESS if all's well, and a Win32 error code otherwise.

IMPLEMENTATION

Declared in "aclapi.h". https://source.winehq.org/source/include/aclapi.h

Implemented in "dlls/advapi32/security.c". https://source.winehq.org/source/dlls/advapi32/security.c

Debug channel "advapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.