ICcServer::EnumerateConnections (Compact 2013)
3/26/2014
Deprecated.
This method returns an array of connection IDs that represent active connections.
In Windows Embedded Compact 2013, CoreCon HLAPI has been deprecated.
Syntax
HRESULT EnumerateConnections(
[in] DWORD dwSizeActual,
[out] DWORD* pdwSizeReturned,
[out,size_is(dwSizeActual), length_is(d*pdwSizeReturned)] BSTR[]Connections,
[out] VARIANT_BOOL* pfMoreEntries
);
Parameters
- dwSizeActual
Size of the array passed in.
- pdwSizeReturned
Number of entries returned.
- Connections
Array holding all connection IDs.
- pfMoreEntries
VARIANT_TRUE if the current number of active connections exceeds dwSizeActual.
Return Value
If the method fails, it returns an HRESULT error code. Otherwise, the method returns one of the following values.
Value |
Description |
---|---|
S_OK |
Indicates success. |
E_INVALIDARG |
Indicates input arguments are invalid; that is, pdwSizeReturned is NULL, Connections is NULL, or pfMoreEntries is NULL. |
Remarks
Clients can get more information about a connection using the method GetConnectionFromId.
Requirements
Header |
ccserver.h |