IOCTL_COPP_GetCertificateLength control code

Returns the size, in bytes, of the 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 size of the hardware certificate. The InputBuffer member is not required. The phr member should be set to the value returned from the COPPGetCertificateLength function.

Output Parameters

The miniport driver returns a pointer to a ULONG-typed variable in the VRP OutputBuffer. The variable holds the size of the hardware certificate.

I/O Status Block

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

Requirements

Version

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

See also

COPPGetCertificateLength