HRESULT CreateUserVisual(D3DRMUSERVISUALCALLBACK fn,
LPVOID lpArg, LPDIRECT3DRMUSERVISUAL * lplpD3DRMUV);
Creates an application-defined visual object, which can then be added to a scene and rendered by using an application-defined handler.
ˇShould return D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
fn
Application-defined D3DRMUSERVISUALCALLBACK callback function.
lpArg
Address of application-defined data passed to the callback function.
lplpD3DRMUV
Address that will be filled with a pointer to an IDirect3DRMUserVisual interface if the call succeeds.