WNV_OBJECT_HEADER structure (wnvapi.h)

Specifies the major version, minor version, and buffer size of the WNV_NOTIFICATION_PARAM structure that is passed to the WnvRequestNotification function.

Syntax

typedef struct _WNV_OBJECT_HEADER {
  UCHAR MajorVersion;
  UCHAR MinorVersion;
  ULONG Size;
} WNV_OBJECT_HEADER, *PWNV_OBJECT_HEADER;

Members

MajorVersion

Type: UCHAR

The major version number. This value must be WNV_API_MAJOR_VERSION_1.

MinorVersion

Type: UCHAR

The minor version number. This value must be WNV_API_MINOR_VERSION_0.

Size

Type: ULONG

The size of the Buffer field in the WNV_NOTIFICATION_PARAM structure that is passed to the WnvRequestNotification function.

Remarks

There is currently only one version number: "1.0".

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2012 [desktop apps only]
Header wnvapi.h