Share via


RSP_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 Resource Manager passes the Resource Service Provider a pointer to this function in the RspInitialize call.

Syntax

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

Parameters

  • dwNotificationParam
    Value that was sent in the pProviderInfo parameter of RspInitialize.
  • 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,
rmrsp.h

See Also

Reference

Resource Manager Service Provider Functions
RspInitialize
RM_NOTIFICATION_TYPE
Resource Manager Service Provider Reference