// netdispumdddi.h
PFN_STOP_MIRACAST_SESSION PfnStopMiracastSession;
VOID PfnStopMiracastSession(
[in] PVOID pMiracastContext
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Called by the operating system to start a Miracast connected session that had earlier been started by a call to the StartMiracastSession function.
pMiracastContext [in]A pointer to a context associated with a display adapter.
The operating system obtained the context when it called the Miracast user-mode driver's CreateMiracastContext function.
When this function is called, the Miracast user-mode driver should follow these procedures:
Also, after this function is called, the Miracast user-mode driver might still receive stream data that the display miniport driver generated. The user-mode driver should drop the stream.
The operating system guarantees that only one of the CreateMiracastContext, DestroyMiracastContext, StartMiracastSession, and StopMiracastSession functions is called at a time.