IOfflineFilesCache::GetLocation method (cscobj.h)

Retrieves the current fully qualified directory path of the Offline Files cache.

Syntax

HRESULT GetLocation(
  [out] LPWSTR *ppszPath
);

Parameters

[out] ppszPath

Address of pointer variable to accept the address of a string containing the fully qualified path of the Offline Files cache directory. Upon successful return, the caller is expected to free the returned buffer by using the CoTaskMemFree function.

Return value

Returns S_OK if successful, or an error value otherwise.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header cscobj.h
DLL CscSvc.dll; CscObj.dll

See also

IOfflineFilesCache