Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the operating system to query the Miracast user-mode driver interface, MIRACAST_DRIVER_INTERFACE.
Syntax
QUERY_MIRACAST_DRIVER_INTERFACE QueryMiracastDriverInterface;
NTSTATUS QueryMiracastDriverInterface(
[in] UINT MiracastDriverInterfaceVersion,
[in] UINT MiracastDriverInterfaceSize,
[out] VOID *pMiracastDriverInterface
)
{...}
Parameters
[in] MiracastDriverInterfaceVersion
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.
[in] MiracastDriverInterfaceSize
The size, supplied by the operating system, of the buffer pointed to by pMiracastDriverInterface.
[out] pMiracastDriverInterface
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Desktop |
Header | netdispumdddi.h (include Netdispumdddi.h) |