DXGKCB_MIRACAST_REPORT_CHUNK_INFO callback function (dispmprt.h)
Called by the display miniport driver to report info about an encode chunk.
Syntax
DXGKCB_MIRACAST_REPORT_CHUNK_INFO DxgkcbMiracastReportChunkInfo;
NTSTATUS DxgkcbMiracastReportChunkInfo(
[in] HANDLE MiracastHandle,
[in] DXGK_MIRACAST_CHUNK_INFO *pChunkInfo,
[in] PVOID pPrivateDriverData,
[in] UINT PrivateDataDriverSize
)
{...}
Parameters
[in] MiracastHandle
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.
[in] pChunkInfo
A pointer to a DXGK_MIRACAST_CHUNK_INFO structure that contains chunk information that is to be reported by the display miniport driver.
[in] pPrivateDriverData
Reserved for system use. Must be set to NULL.
[in] PrivateDataDriverSize
Reserved for system use. Must be set to zero.
Return value
Returns STATUS_SUCCESS if it successfully delivers the message. Otherwise, it returns one of the error codes that are defined in Ntstatus.h.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Desktop |
Header | dispmprt.h (include Dispmprt.h) |
IRQL | Can be called at any IRQL level. |