IDirect3D9::RegisterSoftwareDevice

This is a member of IDirect3D9 that registers a pluggable software device. Software devices provide software rasterization enabling applications to access a variety of software rasterizers.

Syntax
HRESULT RegisterSoftwareDevice( void * pInitializeFunction );

Parameter
 pInitializeFunction -  The pointer to the function for the software device to be registered.

Return Values
If it succeeds, it will return D3D_OK. If it fails, it may produce this error: D3DERR_INVALIDCALL.

Requirements
 Header -  d3d9.h

 Library -  d3d9.lib