Edit

Share via


winsafer.h header

This header is used by Security and Identity. For more information, see:

winsafer.h contains the following programming interfaces:

Functions

 
SaferCloseLevel

Closes a SAFER_LEVEL_HANDLE that was opened by using the SaferIdentifyLevel function or the SaferCreateLevel function.
SaferComputeTokenFromLevel

Restricts a token using restrictions specified by a SAFER_LEVEL_HANDLE.
SaferCreateLevel

Opens a SAFER_LEVEL_HANDLE.
SaferGetLevelInformation

Retrieves information about a policy level.
SaferGetPolicyInformation

Gets information about a policy.
SaferIdentifyLevel

Retrieves information about a level.
SaferiIsExecutableFileType

Determines whether a specified file is an executable file.
SaferRecordEventLogEntry

Saves messages to an event log.
SaferSetLevelInformation

Sets the information about a policy level.
SaferSetPolicyInformation

Sets the global policy controls.

Structures

 
SAFER_CODE_PROPERTIES_V1

Contains code image information and criteria to be checked on the code image. (SAFER_CODE_PROPERTIES_V1)
SAFER_CODE_PROPERTIES_V2

Contains code image information and criteria to be checked on the code image.S
SAFER_HASH_IDENTIFICATION

Represents a hash identification rule.
SAFER_IDENTIFICATION_HEADER

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

Represents a path identification rule.
SAFER_URLZONE_IDENTIFICATION

Represents a URL zone identification rule.

Enumerations

 
SAFER_IDENTIFICATION_TYPES

Defines the possible types of identification rule structures that can be identified by the SAFER_IDENTIFICATION_HEADER structure.
SAFER_OBJECT_INFO_CLASS

Defines the type of information requested about a Safer object.
SAFER_POLICY_INFO_CLASS

Defines the ways in which a policy may be queried.