// dispmprt.h
DXGKCB_MIRACAST_REPORT_CHUNK_INFO DxgkcbMiracastReportChunkInfo;
NTSTATUS DxgkcbMiracastReportChunkInfo(
[in] HANDLE MiracastHandle,
[in] DXGK_MIRACAST_CHUNK_INFO *pChunkInfo,
[in] PVOID pPrivateDriverData,
[in] UINT PrivateDataDriverSize
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Called by the display miniport driver to report info about an encode chunk.
MiracastHandle [in]A driver-supplied handle to the Miracast display device. This handle was originally passed in the MiracastHandle member of the DXGK_MIRACAST_DISPLAY_CALLBACKS structure in a call to the DxgkDdiMiracastCreateContext function.
pChunkInfo [in]A pointer to a DXGK_MIRACAST_CHUNK_INFO structure that contains chunk information that is to be reported by the display miniport driver.
pPrivateDriverData [in]Reserved for system use. Must be set to NULL.
PrivateDataDriverSize [in]Reserved for system use. Must be set to zero.
Returns STATUS_SUCCESS if it successfully delivers the message. Otherwise, it returns one of the error codes that are defined in Ntstatus.h.
The display miniport driver calls this function when it wants to report chunk info to the operating system but won't create a chunk packet that will be queued in kernel mode and retrieved by the user-mode GetNextChunkData function. This call only logs Event Tracing for Windows (ETW) events and takes no other action.
DXGK_MIRACAST_DISPLAY_CALLBACKS