// d3dumddi.h
PFND3DDDI_SETSTREAMSOURCEUM Pfnd3dddiSetstreamsourceum;
HRESULT Pfnd3dddiSetstreamsourceum(
[in] HANDLE hDevice,
const D3DDDIARG_SETSTREAMSOURCEUM *unnamedParam2,
const VOID *unnamedParam3
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The SetStreamSourceUM function binds a vertex stream source to a user memory buffer.
hDevice [in]A handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_SETSTREAMSOURCEUM structure that specifies the vertex stream source to bind.
unnamedParam3pUMBuffer [in]
A pointer to the user-memory buffer that supplies the vertex data for the vertex stream source.
SetStreamSourceUM returns S_OK or an appropriate error result if the vertex stream source is not successfully bound.