ACTRL_ACCESS_ENTRY_LISTW structure (accctrl.h)

Contains a list of access entries.

Syntax

typedef struct _ACTRL_ACCESS_ENTRY_LISTW {
  ULONG               cEntries;
  ACTRL_ACCESS_ENTRYW *pAccessList;
} ACTRL_ACCESS_ENTRY_LISTW, *PACTRL_ACCESS_ENTRY_LISTW;

Members

cEntries

The number of entries in the pAccessList array.

pAccessList

A pointer to an array of ACTRL_ACCESS_ENTRY structures. Each structure specifies access-control information for a specified trustee.

Remarks

To create an empty access list, set cEntries to zero and pAccessList to NULL. An empty list does not grant access to any trustee, and thus, denies all access to an object.

To create a null access list, set the pAccessEntryList member of the ACTRL_PROPERTY_ENTRY structure to NULL. A null access list grants everyone full access to the object.

Note

The accctrl.h header defines ACTRL_ACCESS_ENTRY_LIST as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header accctrl.h

See also

ACTRL_PROPERTY_ENTRY