Home
last modified time | relevance | path

Searched refs:demoApi (Results 1 - 2 of 2) sorted by relevance

/applications/sample/wifi-iot/app/samgr/
H A Dfeature_example.c200 DemoApi *demoApi = NULL; in CASE_GetIUnknown() local
209 int result = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi); in CASE_GetIUnknown()
210 if (result != 0 || demoApi == NULL) { in CASE_GetIUnknown()
220 return demoApi; in CASE_GetIUnknown()
223 static void CASE_SyncCall(DemoApi *demoApi) in CASE_SyncCall() argument
225 if (demoApi->SyncCall == NULL) { in CASE_SyncCall()
234 if (!demoApi->SyncCall((IUnknown *)demoApi, &payload)) { in CASE_SyncCall()
247 static void CASE_AsyncCall(DemoApi *demoApi) in CASE_AsyncCall() argument
249 if (demoApi in CASE_AsyncCall()
266 CASE_AsyncTimeCall(DemoApi *demoApi) CASE_AsyncTimeCall() argument
282 CASE_AsyncCallBack(DemoApi *demoApi) CASE_AsyncCallBack() argument
293 CASE_ReleaseIUnknown(DemoApi *demoApi) CASE_ReleaseIUnknown() argument
312 DemoApi *demoApi = CASE_GetIUnknown(); RunTestCase() local
[all...]
H A Dservice_example.c104 DefaultFeatureApi *demoApi = NULL; in CASE_GetIUnknown() local
113 int result = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi); in CASE_GetIUnknown()
114 if (result != 0 || demoApi == NULL) { in CASE_GetIUnknown()
124 return demoApi; in CASE_GetIUnknown()
136 static void CASE_ReleaseIUnknown(DefaultFeatureApi *demoApi) in CASE_ReleaseIUnknown() argument
140 int32 ref = demoApi->Release((IUnknown *)demoApi); in CASE_ReleaseIUnknown()

Completed in 1 milliseconds