HRESULT AddSearchPath(LPCSTR lpPath);
Adds a list of directories to the end of 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.
lpPath
Address of a null-terminated string specifying the path to add to the current search path.
For Windows, the path should be a list of directories separated by semicolons (;).