PBX_Notify

PowerBuilder Native Interface

Exported methods:

PBX_Notify method

Description

Syntax

PBXEXPORT PBXRESULT PBXCALL PBX_Notify(IPB_Session* pbsession,   pbint reasonForCall)

Return Values

Examples

PBXEXPORT PBXRESULT PBXCALL PBX_Notify
(
   IPB_Session*   pbsession,
   pbint          reasonForCall
)
{
   switch(reasonForCall)
   {
   case kAfterDllLoaded:
      MessageBox(NULL, "After PBX loading", "",
          MB_OK);
      break;
   case kBeforeDllUnloaded:
      MessageBox(NULL, "Before PBX unloading", "",
          MB_OK);
      break;
   }
   return PBX_OK;
}

Usage