IConMan::EnumerateServerGuids (Compact 2013)
3/26/2014
Deprecated.
This method enumerates the GUIDs of servers with active connections that are currently cached by the conman server.
In Windows Embedded Compact 2013, CoreCon HLAPI has been deprecated.
Syntax
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 Value
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
Header |
conman.h |