LSA_OBJECT_ATTRIBUTES structure (lsalookup.h)

The LSA_OBJECT_ATTRIBUTES structure is used with the LsaOpenPolicy function to specify the attributes of the connection to the Policy object.

When you call LsaOpenPolicy, initialize the members of this structure to NULL or zero because the function does not use the information.

Syntax

typedef struct _LSA_OBJECT_ATTRIBUTES {
  ULONG               Length;
  HANDLE              RootDirectory;
  PLSA_UNICODE_STRING ObjectName;
  ULONG               Attributes;
  PVOID               SecurityDescriptor;
  PVOID               SecurityQualityOfService;
} LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES;

Members

Length

Specifies the size, in bytes, of the LSA_OBJECT_ATTRIBUTES structure.

RootDirectory

Should be NULL.

ObjectName

Should be NULL.

Attributes

Should be zero.

SecurityDescriptor

Should be NULL.

SecurityQualityOfService

Should be NULL.

Remarks

The LSA_OBJECT_ATTRIBUTES structure is defined in the LsaLookup.h header file.

Windows Server 2008 with SP2 and earlier, Windows Vista with SP2 and earlier, Windows Server 2003, Windows XP/2000:  The LSA_OBJECT_ATTRIBUTES structure is defined in the NTSecAPI.h header file.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header lsalookup.h

See also

LsaOpenPolicy

SECURITY_QUALITY_OF_SERVICE