|Microsoft DirectX 9.0|
This topic applies to Windows XP Service Pack 1 only.
The GetDirectory method retrieves the directory where backing files are saved.
HRESULT GetDirectory( LPWSTR* ppszDirectoryName );
[out] Pointer to a variable that receives the fully qualified directory name.
Returns an HRESULT. Possible values include those in the following table.
|S_OK||The method succeeded.|
The caller must free the returned string by calling CoTaskMemFree.