Exemplo n.º 1
0
 /////////////////////////////////////////////////////////////////////////////////////
 void Create()
 {
     if (hClient != 0)
     {
         return;
     }
     if (!SDKInited)
     {
         SDKInited = OIAS_Init() == 0;
     }
     hClient = SDKInited ? OIAS_CreateClient(0) : 0;
     if (hClient != 0)
     {
         RegClients.Add(this);
         if (notifyCB == null)
         {
             notifyCB = new OIAS_NotifyCallBack(OIASNotifyCB);
         }
         OIAS_SetNotifyRecvProc(hClient, notifyCB);
     }
 }
Exemplo n.º 2
0
 public static extern ERRORCODE OIAS_SetNotifyRecvProc(HCLIENT hClient, OIAS_NotifyCallBack notifyCB);