Bewerken

Delen via


NDK_MW structure (ndkpi.h)

The NDK_MW structure specifies the attributes of an NDK memory window (MW) object.

Syntax

typedef struct _NDK_MW {
  NDK_OBJECT_HEADER     Header;
  const NDK_MW_DISPATCH *Dispatch;
} NDK_MW;

Members

Header

The NDK_OBJECT_HEADER structure for the NDK_MW structure. Set the ObjectType member of the structure that Header specifies to NdkObjectTypeMw.

Dispatch

A pointer to an NDK_MW_DISPATCH structure that defines dispatch functions for the NDK MW object.

Remarks

An NDK provider must set the Dispatch member to point to its NDK_MW_DISPATCH table before returning the created MW object. Also, the NDK provider must not use the Dispatch member after setting it because the NDK consumer can change the Dispatch member to some other value.

Requirements

Requirement Value
Minimum supported client None supported,Supported in NDIS 6.30 and later.
Minimum supported server Windows Server 2012
Header ndkpi.h (include Ndkpi.h)

See also

NDKPI Object Lifetime Requirements

NDK_FN_CLOSE_OBJECT

NDK_FN_CREATE_COMPLETION

NDK_FN_CREATE_MW

NDK_MW_DISPATCH

NDK_OBJECT_HEADER