Lines Matching refs:pTable
281 static DECLCALLBACK(int) svcLoad(VBOXHGCMSVCFNTABLE *pTable)
283 LogFlowFunc(("ptable = %p\n", pTable));
286 if (!VALID_PTR(pTable))
290 LogFlowFunc(("ptable->cbSize = %d, ptable->u32Version = 0x%08X\n", pTable->cbSize, pTable->u32Version));
292 if ( pTable->cbSize != sizeof (VBOXHGCMSVCFNTABLE)
293 || pTable->u32Version != VBOX_HGCM_SVC_VERSION)
301 apService = std::auto_ptr<AbstractService>(new T(pTable->pHelpers));
316 pTable->cbClient = 0;
319 pTable->pfnUnload = svcUnload;
320 pTable->pfnConnect = svcConnect;
321 pTable->pfnDisconnect = svcDisconnect;
322 pTable->pfnCall = svcCall;
324 pTable->pfnHostCall = NULL;
325 pTable->pfnSaveState = NULL;
326 pTable->pfnLoadState = NULL;
327 pTable->pfnRegisterExtension = NULL;
330 rc = apService->init(pTable);
334 pTable->pvService = apService.release();