SECPKG_EVENT_PACKAGE_CHANGE structure (ntsecpkg.h)

The SECPKG_EVENT_PACKAGE_CHANGE structure contains information about changes in security package availability. This structure is indirectly used by the RegisterNotification function. It is returned to a registered notification function when the function is registered to receive notifications for the NotificationClass parameter value NOTIFY_CLASS_PACKAGE_CHANGE.

Syntax

typedef struct _SECPKG_EVENT_PACKAGE_CHANGE {
  ULONG           ChangeType;
  LSA_SEC_HANDLE  PackageId;
  SECURITY_STRING PackageName;
} SECPKG_EVENT_PACKAGE_CHANGE, *PSECPKG_EVENT_PACKAGE_CHANGE;

Members

ChangeType

The type of change. One of the following values will be specified.

Value Meaning
SECPKG_PACKAGE_CHANGE_LOAD
A package was loaded.
SECPKG_PACKAGE_CHANGE_UNLOAD
A package was unloaded.
SECPKG_PACKAGE_CHANGE_SELECT
A new package became the preferred security package.

PackageId

The identifier of the security package.

PackageName

The name of the security package.

Requirements

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