CM_CONNECTION_HANDLE (Compact 2013)
3/26/2014
This data type represents an instance of a connection that can be used by an application.
Syntax
DECLARE_HANDLE(CM_CONNECTION_HANDLE);
Remarks
DECLARE_HANDLE is defined in winnt.h as:
#define DECLARE_HANDLE(name) struct name##__ { int unused; }; typedef struct name##__ *name
This implies that if a variable such as hconnection, is of type CM_CONNECTION_HANDLE, as in:
CM_CONNECTION_HANDLE hListener;
hconnection is actually of the type:
struct CM_CONNECTION_HANDLE__ { int unused; } *
which is different than HANDLE, which is defined in winnt.h as:
typedef void *HANDLE;
Requirements
Header |
cmnet.h |
Library |
cmnet.lib |