Edit

Share via


PST_ACCESSRULE structure

[Protected Storage (Pstore) is available for use in Windows Server 2003 and Windows XP. It is only available for read-only operations in Windows Server 2008 and Windows Vista, but may be unavailable in subsequent versions. Pstore uses an older implementation of data protection. Developers are strongly encouraged to take advantage of the stronger data protection provided by the CryptProtectData and CryptUnprotectData functions.]

Describes a rule for access to items stored in protected storage.

Syntax

typedef struct {
  DWORD            cbSize;
  PST_ACCESSMODE   AccessModeFlags;
  DWORD            cClauses;
  PST_ACCESSCLAUSE *rgClauses;
} PST_ACCESSRULE, *PPST_ACCESSRULE;

Members

cbSize

The size of this structure.

AccessModeFlags

The access modes to which a specified set of access clauses pertain.

Value Meaning
PST_READ
0x0001
Read access mode.
PST_WRITE
0x0002
Write access mode.

 

cClauses

The number of structures in the rgClauses array.

rgClauses

A pointer to an array of PST_ACCESSCLAUSE structures.

Requirements

Requirement Value
Header
Pstore.h

See also

PST_ACCESSCLAUSE

PST_ACCESSRULESET