IDirect3DRM::GetSearchPath

HRESULT GetSearchPath(DWORD * lpdwSize, LPSTR lpszPath);

Returns the current file search path.

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

lpdwSize

Address of the number of returned path elements. This parameter cannot be NULL.

lpszPath

Address of a null-terminated string specifying the search path. If this parameter is NULL, the method returns the size of the required string in the location pointed to by the lpdwSize parameter.