GetSecurityInfo(3w)

NAME

GetSecurityInfo (ADVAPI32.@)

SYNOPSIS

DWORD GetSecurityInfo
 (
  HANDLE                hObject,
  SE_OBJECT_TYPE        ObjectType,
  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

Defined in "aclapi.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/advapi32/security.c".

Debug channel "advapi".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout