IDirect3DRM2::AddSearchPath

Adds a list of directories to the end of the current file search path.

HRESULT AddSearchPath(
LPCSTR lpPath
);

Parameters

lpPath

Address of a null-terminated string specifying the path to add to the current search path.

Return Values

Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

Remarks

For Windows, the path should be a list of directories separated by semicolons (;).

See Also

IDirect3DRM2::SetSearchPath