SAFER_IDENTIFICATION_HEADER structure (winsafer.h)

The SAFER_IDENTIFICATION_HEADER structure is used as the header for the
SAFER_PATHNAME_IDENTIFICATION, SAFER_HASH_IDENTIFICATION, and SAFER_URLZONE_IDENTIFICATION structures.

Syntax

typedef struct _SAFER_IDENTIFICATION_HEADER {
  SAFER_IDENTIFICATION_TYPES dwIdentificationType;
  DWORD                      cbStructSize;
  GUID                       IdentificationGuid;
  FILETIME                   lastModified;
} SAFER_IDENTIFICATION_HEADER, *PSAFER_IDENTIFICATION_HEADER;

Members

dwIdentificationType

SAFER_IDENTIFICATION_TYPES enumeration value that indicates the type of the structure. The following table shows the possible values.

Value Meaning
SaferIdentityDefault
The header is for a default structure.
SaferIdentityTypeImageName
The header is for a SAFER_PATHNAME_IDENTIFICATION structure.
SaferIdentityTypeImageHash
The header is for a SAFER_HASH_IDENTIFICATION structure.
SaferIdentityTypeUrlZone
The header is for a SAFER_URLZONE_IDENTIFICATION structure.
SaferIdentityTypeCertificate
The header is for a SAFER_PATHNAME_IDENTIFICATION structure.

cbStructSize

The size of the entire SAFER_PATHNAME_IDENTIFICATION, SAFER_HASH_IDENTIFICATION, or SAFER_URLZONE_IDENTIFICATION structure, including the common header.

IdentificationGuid

The GUID of the identification.

lastModified

Requirements

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