Hardware Dev Center

Blt
Expand Minimize

SetStreamSourceUM routine

The SetStreamSourceUM function binds a vertex stream source to a user memory buffer.

Syntax


PFND3DDDI_SETSTREAMSOURCEUM SetStreamSourceUM;

__checkReturn HRESULT APIENTRY SetStreamSourceUM(
  _In_       HANDLE                      hDevice,
  _In_ const D3DDDIARG_SETSTREAMSOURCEUM *pData,
  _In_ const VOID                        *pUMBuffer
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pData [in]

A pointer to a D3DDDIARG_SETSTREAMSOURCEUM structure that specifies the vertex stream source to bind.

pUMBuffer [in]

A pointer to the user-memory buffer that supplies the vertex data for the vertex stream source.

Return value

SetStreamSourceUM returns S_OK or an appropriate error result if the vertex stream source is not successfully bound.

Requirements

Target platform

Desktop

Version

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

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_SETSTREAMSOURCEUM
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft