About the examples

The examples in this chapter assume that a structure was set up to store information about the ORCA session when the session was opened. In the examples, the variable lpORCA_Info is a pointer to an instance of this structure:

typedef struct ORCA_Info {
   LPTSTR lpszErrorMessage; // Ptr to message text
    HPBORCA hORCASession; // ORCA session handle
   DWORD dwErrorBufferLen; // Length of error buffer
   long lReturnCode; // Return code
   HINSTANCE hLibrary; // Handle to ORCA library
   PPBORCA_CONFIG_SESSION    pConfig; // ConfigureSession
} ORCA_INFO, FAR *PORCA_INFO;