PFND3DDDI_GETCAPTUREALLOCATIONHANDLE callback function

The GetCaptureAllocationHandle function maps the given capture resource handle to a kernel-mode allocation handle.

Syntax

PFND3DDDI_GETCAPTUREALLOCATIONHANDLE Pfnd3dddiGetcaptureallocationhandle;

HRESULT Pfnd3dddiGetcaptureallocationhandle(
  HANDLE hDevice,
  D3DDDIARG_GETCAPTUREALLOCATIONHANDLE *Arg2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

Arg2

pData [in, out]

A pointer to a D3DDDIARG_GETCAPTUREALLOCATIONHANDLE structure that describes parameters for retrieving an allocation handle from a capture resource handle.

Return Value

GetCaptureAllocationHandle returns one of the following values:

Return code Description
S_OK The given resource is in GPU-accessible memory.
E_OUTOFMEMORY GetCaptureAllocationHandle could not allocate the required memory for it to complete.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See Also

D3DDDIARG_GETCAPTUREALLOCATIONHANDLE

D3DDDI_DEVICEFUNCS