GetCaptureAllocationHandle
Blt
TOC
Collapse the table of content
Expand the table of content

GetCaptureAllocationHandle routine

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

Syntax


PFND3DDDI_GETCAPTUREALLOCATIONHANDLE GetCaptureAllocationHandle;

__checkReturn HRESULT APIENTRY GetCaptureAllocationHandle(
  _In_    HANDLE                               hDevice,
  _Inout_ D3DDDIARG_GETCAPTUREALLOCATIONHANDLE *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

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 codeDescription
S_OK

The given resource is in GPU-accessible memory.

E_OUTOFMEMORY

GetCaptureAllocationHandle could not allocate the required memory for it to complete.

 

Requirements

Target platform

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_GETCAPTUREALLOCATIONHANDLE
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft