Share via


RM_CALLBACK (Compact 7)

3/12/2014

This callback function is called by the Resource Service Provider to notify the Resource Manager of status changes. The Connection Manager passes the Resource Manager a pointer to this function in the RmInitialize call.

Syntax

typedef void (*RM_CALLBACK) (
    DWORD dwNotificationParam,
    RM_NOTIFICATION_TYPE notificationCode,
    __in_bcount_opt(cbDataSize) const void* pData,
    DWORD cbDataSize
);

Parameters

  • dwNotificationParam
    Value that was sent in the pClientInfo parameter of RmInitialize.
  • pData
    Pointer to the notification data structure. The structure varies depending on the value of notificationCode.
  • cbDataSize
    Number of bytes in the pData structure.

Return Value

None.

Requirements

Header

rmnet.h

See Also

Reference

Resource Manager Functions
RmInitialize
RM_NOTIFICATION_TYPE
Resource Manager Reference