COPP Video Miniport Driver Command Template Code
This section applies only to Windows Server 2003 SP1 and later, and Windows XP SP2 and later.
Use the following example code to perform an operation on the COPP DirectX VA device object.
VP_STATUS
IoctlCOPPCommand(
PHW_DEVICE_EXTENSION pHwDeviceExtension,
PVIDEO_REQUEST_PACKET pVideoRequestPacket
)
{
COPP_IO_InputBuffer* pInBuff = pVideoRequestPacket->InputBuffer;
COPP_DeviceData* pThis = (COPP_DeviceData*)*pInBuff->ppThis;
DXVA_COPPCommand* lpin = (DXVA_COPPCommand*)pInBuff->InputBuffer;
*pInBuff->phr = COPPCommand(pThis, lpin);
return NO_ERROR;
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for