Microsoft DirectX 8.1 (C++)

IDirect3D8::RegisterSoftwareDevice

Registers a pluggable software device with Microsoft® Direct3D®. Because the pluggable software device feature is no longer supported in Microsoft DirectX® 8.x, do not use this method.

HRESULT RegisterSoftwareDevice(
  void* pInitializeFunction
);

Parameters

pInitializeFunction
[in] Pointer to the initialization function for the software device to be registered.

Return Values

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be one of the following values.

D3DERR_INVALIDCALL
D3DERR_OUTOFVIDEOMEMORY

Remarks

Because the pluggable software device feature is no longer supported in DirectX8, do not use this method.

Requirements

  Header: Declared in D3d8.h.
  Import Library: Use D3d8.lib.