Share via


IOCTL_COPP_KeyExchange control code

Returns the digital certificate used by the graphics hardware.

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 that is used to retrieve the hardware digital certificate. The InputBuffer member is not required. The phr member should be set to the value returned from the COPPKeyExchange function.

Output Parameters

The miniport driver returns an array of bytes in the VRP OutputBuffer. The array contains the digital certificate.

I/O Status Block

The miniport driver sets the Information member of the STATUS_BLOCK structure to the value in the OutputBufferLength member of the VRP.

Requirements

Version

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

See also

COPPKeyExchange