Share via


IOCTL_COPP_Status control code

Returns status on a protected video session.

Input Parameters

The VIDEO_REQUEST_PACKET (VRP) InputBuffer contains information passed from the display driver. For example, the display driver can pass a pointer to a COPP_IO_InputBuffer structure defined as follows:

typedef struct {
    PVOID* ppThis;
    PVOID InputBuffer;
    HRESULT phr;
} COPP_IO_InputBuffer;

The ppThis member points to a pointer to the COPP DirectX VA device object on which status is retrieved. The InputBuffer member is set to a pointer to a DXVA_COPPStatusInput structure that contains information about the COPP status request. The phr member should be set to the value returned from the COPPQueryStatus function.

Output Parameters

The miniport driver returns a pointer to a DXVA_COPPStatusOutput structure in the VRP OutputBuffer. The DXVA_COPPStatusOutput structure contains the status.

I/O Status Block

The miniport driver sets the Information member of the STATUS_BLOCK structure to sizeof(DXVA_COPPStatusOutput).

Requirements

Version

This section applies only to Windows Server 2003 with SP1 and later, and Windows XP with SP2 and later.

See also

COPPQueryStatus

DXVA_COPPStatusInput

DXVA_COPPStatusOutput