IConman::EnumerateServerGuids (Windows CE 5.0)
This method enumerates the GUIDs of servers with active connections that are currently cached by the conman server.
HRESULT STDMETHODCALLTYPE EnumerateServerGuids( DWORD in_ArraySize, DWORD* out_pNoOfServerGuids,GUID out_ArrayOfServerGuids[ ],BOOL* out_pbMoreServerGuids);
Parameters
- in_ArraySize
Size of enumeration array. - out_pNoOfServerGuids
Number of GUIDs in the array. - out_ArrayOfServerGuids
Array of server GUIDs. - out_pbMoreServerGuids
Pointer to additional server GUIDs not listed in the array.
Return Values
The following table shows return values for this method.
Value | Description |
---|---|
S_OK | Indicates the call was successful. |
S_FALSE | Indicates the method call was successful, but did not have enough space to populate all server GUIDs. |
E_INVALIDARG | Indicates one or more arguments are invalid. |
E_FAIL | Indicates a non-specific failure. |
Remarks
As a side effect of creating the enumeration, this method purges all disconnected servers from the cache.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: conman.h.
Link Library: none.
See Also
Send Feedback on this topic to the authors