InitCallInfo

PowerBuilder Native Interface

IPB_Session interface:

InitCallInfo method

Description

Syntax

InitCallInfo(pbclass cls, pbmethodID mid, PBCallInfo *ci)

Return Values

Examples

void CVisualExt::TriggerEvent(LPCTSTR eventName)
{
   pbclass clz = d_session->GetClass(d_pbobj);
   pbmethodID mid = d_session->GetMethodID(clz,
      eventName, PBRT_EVENT, "I");

   PBCallInfo ci;
   d_session->InitCallInfo(clz, mid, &ci);
   d_session->TriggerEvent(d_pbobj, mid, &ci);
   d_session->FreeCallInfo(&ci);
}

Usage

See Also