Retrieves a list of resources assigned to the specified user. The RemoteApp and Desktop Connection Management service calls this method in the following situations:
- When the user has no cache in Remote Desktop Web Access (RD Web Access).
- When the user has a cache, but it has expired.
- When a call to GetCacheLastUpdateTime returns a time that is later than the time stored in the user's cache.
HRESULT GetResourceList( [in] LPCWSTR userID, [out] LONG *pceAppListSize, [out] pluginResource **resourceList );
- userID [in]
The user security identifier (SID).
- pceAppListSize [out]
A pointer to a LONG variable to receive the number of elements in the resourceList.
- resourceList [out]
The address of a pointer to an array of pluginResource structures that receive the resources assigned to the specified user. You must use the CoTaskMemAlloc function to allocate this memory. The caller is responsible for freeing this memory.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2|