QUERY_MIRACAST_DRIVER_INTERFACE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netdispumdddi.h

QUERY_MIRACAST_DRIVER_INTERFACE QueryMiracastDriverInterface;

NTSTATUS QueryMiracastDriverInterface(
  [in]  UINT MiracastDriverInterfaceVersion,
  [in]  UINT MiracastDriverInterfaceSize,
  [out] VOID *pMiracastDriverInterface
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-netdispumdddi-query_miracast_driver_interface)

QUERY_MIRACAST_DRIVER_INTERFACE callback function

Description

Called by the operating system to query the Miracast user-mode driver interface, MIRACAST_DRIVER_INTERFACE.

Parameters

MiracastDriverInterfaceVersion [in]

The version of the Miracast display interface, supplied by the operating system.

This version is defined in Netdispumdddi.h as a MIRACAST_DRIVER_INTERFACE_VERSION_XXX value. For Windows 8.1, the value is MIRACAST_DRIVER_INTERFACE_VERSION_1.

MiracastDriverInterfaceSize [in]

The size, supplied by the operating system, of the buffer pointed to by pMiracastDriverInterface.

pMiracastDriverInterface [out]

A pointer to a buffer, supplied by the operating system, that holds the returned Miracast display driver interface, which is a structure of type MIRACAST_DRIVER_INTERFACE.

Return value

On success, this function returns STATUS_SUCCESS. Otherwise, the function returns an error code defined in the Ntstatus.h header.

Remarks

When the Miracast user-mode driver is loaded, the operating system calls the GetProcAddress function with "QueryMiracastDriverInterface" entered as the function name in the lpProcName parameter.

Note If the Miracast user-mode driver doesn't supply a function with this name, the operating system fails the Miracast display device.

See also

GetProcAddress

MIRACAST_DRIVER_INTERFACE