///////////////////////////////////////////////////////////////////////////////////// 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); } }
public static extern ERRORCODE OIAS_SetNotifyRecvProc(HCLIENT hClient, OIAS_NotifyCallBack notifyCB);