NDK_FN_QUERY_EXTENSION_INTERFACE callback function (ndkpi.h)

The NdkQqueryExtensionInterface (NDK_FN_QUERY_EXTENSION_INTERFACE) function gets information about an NDK extension interface.

Syntax

NDK_FN_QUERY_EXTENSION_INTERFACE NdkFnQueryExtensionInterface;

NTSTATUS NdkFnQueryExtensionInterface(
  [in]  NDK_OBJECT_HEADER *pNdkObject,
  [in]  GUID *ExtensionInterfaceID,
  [in]  NDK_VERSION ExtensionInterfaceVersion,
  [out] NDK_EXTENSION_INTERFACE *pExtensionInterface
)
{...}

Parameters

[in] pNdkObject

A pointer to the object header (NDK_OBJECT_HEADER) for the object being queried.

[in] ExtensionInterfaceID

A pointer to the GUID that identifies the extension interface.

[in] ExtensionInterfaceVersion

The requested version (NDK_VERSION) of the extension interface.

[out] pExtensionInterface

A pointer to an NDK_EXTENSION_INTERFACE structure that the provider initialized if the function returns STATUS_SUCCESS.

Return value

The NdkQqueryExtensionInterface function returns one of the following NTSTATUS codes.

Return code Description
STATUS_SUCCESS
The operation completed successfully.
STATUS_NOT_SUPPORTED
The function is not supported.
Other status codes
An error occurred.

Remarks

Each NDK object contains an NdkQqueryExtensionInterface (NDK_FN_QUERY_EXTENSION_INTERFACE) function pointer in its object type-specific function dispatch table. NdkQqueryExtensionInterface queries extended interfaces that are supported by the object type. There are currently no standard extended interfaces defined. An extension interface is identified by a GUID and represented as a pointer to a function dispatch table.

Requirements

Requirement Value
Minimum supported client None supported,Supported in NDIS 6.30 and later.
Minimum supported server Windows ServerĀ 2012
Target Platform Windows
Header ndkpi.h (include Ndkpi.h)
IRQL <=DISPATCH_LEVEL

See also

NDK_ADAPTER_DISPATCH

NDK_CONNECTOR_DISPATCH

NDK_CQ_DISPATCH

NDK_EXTENSION_INTERFACE

NDK_FN_QUERY_EXTENSION_INTERFACE

NDK_OBJECT_HEADER

NDK_VERSION