CmGetTypeSpecificInfoByConnectionName (Compact 7)
3/12/2014
Retrieves data specific to the connection type.
Syntax
CM_RESULT CmGetTypeSpecificInfoByConnectionName(
__in_bcount(CM_CONNECTION_NAME_LENGTH) const WCHAR* pszConnection,
__in DWORD TypeSpecificOperationCode,
__out_bcount(*pcbInfo) VOID *pInfo,
__inout DWORD *pcbInfo);
Parameters
- [in] pszConnection
The name of the connection.
- [in] TypeSpecificOperationCode
The format and size of the pInfo buffer.
- [out] pInfo
Pointer to the connection-specific information.
[in,out] pcbInfo
[in] Size of pInfo.[out] Needed buffer size.
Return Value
Value | Description |
---|---|
CMRE_SUCCESS |
The operation completed successfully. |
CMRE_INSUFFICIENT_BUFFER |
The buffer pInfo is of insufficient size to return type specific information. Needed buffer size is returned in pcbInfo. |
CMRE_INVALID_CONNECTION |
pszConnection is not valid. |
CMRE_INVALID_PARAMETER |
A parameter other than pszConnection is not valid. |
CMRE_NOT_IMPLEMENTED |
TypeSpecificOperationCode is not implemented by the provider. |
CMRE_NOT_SUPPORTED |
TypeSpecificOperationCode is not recognized. |
CMRE_UNEXPECTED |
An unexpected failure occurred. |
Requirements
Header |
cmnet.h |