Call Example

The following example shows how to call WINRUI32.DLL. The header file for this DLL is WINLUA.H. This example calls the RUI DLL to issue an RUI verb from a program:
  #include "WINLUA.H"                           /* LUA C include file for
                                                   the LUA Application. */
  . . .


  . . .

  example()
  {
  LUA_VERB_RECORD    VerbRecord;                /* Declare VerbRecord as a verb
                                                   control block using the
                                                   TYPEDEF in WINLUA.H */
  . . .

  WINRUI((LUA_VERB_RECORD *) &VerbRecord);      /* Call the RUI API */
  . . .
  }