Lines Matching refs:iUnknown
296 BOOL (*AsyncCall)(IUnknown *iUnknown, const char *buff);
297 BOOL (*AsyncTimeCall)(IUnknown *iUnknown);
298 BOOL (*SyncCall)(IUnknown *iUnknown, struct Payload *payload);
299 BOOL (*AsyncCallBack)(IUnknown *iUnknown, const char *buff, Handler handler);
338 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(EXAMPLE_SERVICE, EXAMPLE_FEATURE);
339 if (iUnknown == NULL) {
342 int result = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi);
372 BOOL (*AsyncCall)(IUnknown *iUnknown, const char *buff);
373 BOOL (*AsyncTimeCall)(IUnknown *iUnknown);
374 BOOL (*SyncCall)(IUnknown *iUnknown, struct Payload *payload);
375 … BOOL (*AsyncCallBack)(IUnknown *iUnknown, const char *buff, IOwner notify, INotifyFunc handler);
446 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(EXAMPLE_SERVICE, EXAMPLE_FEATURE);
447 if (iUnknown == NULL) {
450 int result = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi);
479 BOOL (*AsyncCall)(IUnknown *iUnknown, const char *buff);
480 BOOL (*AsyncTimeCall)(IUnknown *iUnknown);
481 BOOL (*SyncCall)(IUnknown *iUnknown, struct Payload *payload);
482 … BOOL (*AsyncCallBack)(IUnknown *iUnknown, const char *buff, IOwner notify, INotifyFunc handler);
492 static BOOL AsyncCall(IUnknown *iUnknown, const char *buff)
494 DemoClientProxy *proxy = (DemoClientProxy *)iUnknown;
503 static BOOL AsyncTimeCall(IUnknown *iUnknown)
505 DemoClientProxy *proxy = (DemoClientProxy *)iUnknown;
519 static BOOL SyncCall(IUnknown *iUnknown, struct Payload *payload)
521 DemoClientProxy *proxy = (DemoClientProxy *)iUnknown;
549 …static BOOL AsyncCallBack(IUnknown *iUnknown, const char *buff, IOwner notify, INotifyFunc handler)
552 DemoClientProxy *proxy = (DemoClientProxy *)iUnknown;
575 entry->iUnknown.QueryInterface = IUNKNOWN_QueryInterface;
576 entry->iUnknown.AddRef = IUNKNOWN_AddRef;
577 entry->iUnknown.Release = IUNKNOWN_Release;
578 entry->iUnknown.Invoke = NULL;
579 entry->iUnknown.AsyncCall = AsyncCall;
580 entry->iUnknown.AsyncTimeCall = AsyncTimeCall;
581 entry->iUnknown.SyncCall = SyncCall;
582 entry->iUnknown.AsyncCallBack = AsyncCallBack;
601 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(EXAMPLE_SERVICE, EXAMPLE_FEATURE);
602 if (iUnknown == NULL) {
605 int result = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi);