NDK_OBJECT_HEADER structure

The NDK_OBJECT_HEADER structure specifies the object version, type, and other information. It is used in the Header member of every NDK object.

Syntax


typedef struct _NDK_OBJECT_HEADER {
  NDK_VERSION                      Version;
  NDK_OBJECT_TYPE                  ObjectType;
  NDK_OBJECT_HEADER_RESERVED_BLOCK NdkReserved;
} NDK_OBJECT_HEADER, *PNDK_OBJECT_HEADER;

Members

Version

An NDK_VERSION structure that contains the revision number of the NDK object.

ObjectType

An NDK_OBJECT_TYPE enumeration value that specifies the NDK object type. You can use this member to identify an NDK object's type in a memory dump. This member is required and cannot be zero.

NdkReserved

A reserved block in an NDK_OBJECT_HEADER_RESERVED_BLOCK structure.

Remarks

When an NDK provider creates an NDK object instance, the Header member must be initialized as follows:

  • For Windows Server 2012, set the Version member to 1.1. To do this, set both the Major and Minor members of the NDK_VERSION structure to 1.

  • For Windows Server 2012 R2, set the Version member to 1.2. To do this, set the Major member of the NDK_VERSION structure to 1 and the Minor member to 2.

  • Set the ObjectType member to an NDK_OBJECT_TYPE value.

  • Set the NdkReserved member to zero. The NDK provider must not modify this member until the object is closed.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Version

Supported in NDIS 6.30 and later.

Header

Ndkpi.h (include Ndkpi.h)

See also

NDK_ADAPTER
NDK_CONNECTOR
NDK_CQ
NDK_LISTENER
NDK_MR
NDK_MW
NDK_OBJECT_HEADER_RESERVED_BLOCK
NDK_OBJECT_TYPE
NDK_PD
NDK_QP
NDK_SHARED_ENDPOINT
NDK_SRQ
NDK_VERSION
NDK_FN_CLOSE_OBJECT
NDK_FN_CREATE_COMPLETION
NDK_FN_INVALIDATE
NDK_FN_QUERY_EXTENSION_INTERFACE

 

 

Send comments about this topic to Microsoft

顯示:
© 2014 Microsoft