Partager via


CM_NOTIFICATIONS_LISTENER_HANDLE (Compact 2013)

3/26/2014

This data type represents an instance of an application listener that can be notified by the system.

Syntax

DECLARE_HANDLE(CM_NOTIFICATIONS_LISTENER_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 hlistener, is of type CM_NOTIFICATIONS_LISTENER_HANDLE, as in:

CM_NOTIFICATIONS_LISTENER_HANDLE hListener;

hListener is actually of the type:

struct CM_NOTIFICATIONS_LISTENER_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

See Also

Reference

Connection Manager Status and Notification Data Types