// ndkpi.h
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
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The NdkQqueryExtensionInterface (NDK_FN_QUERY_EXTENSION_INTERFACE) function gets information about an NDK extension interface.
pNdkObject [in]A pointer to the object header (NDK_OBJECT_HEADER) for the object being queried.
ExtensionInterfaceID [in]A pointer to the GUID that identifies the extension interface.
ExtensionInterfaceVersion [in]The requested version (NDK_VERSION) of the extension interface.
pExtensionInterface [out]A pointer to an NDK_EXTENSION_INTERFACE structure that the provider initialized if the function returns STATUS_SUCCESS.
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. |
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.
NDK_FN_QUERY_EXTENSION_INTERFACE