Lines Matching refs:ptable
1453 extern "C" DECLCALLBACK(DECLEXPORT(int)) VBoxHGCMSvcLoad (VBOXHGCMSVCFNTABLE *ptable)
1457 LogFlowFunc(("ptable = %p\n", ptable));
1459 if (!RT_VALID_PTR(ptable))
1463 LogFlowFunc(("ptable->cbSize = %d, ptable->u32Version = 0x%08X\n", ptable->cbSize, ptable->u32Version));
1465 if ( ptable->cbSize != sizeof(VBOXHGCMSVCFNTABLE)
1466 || ptable->u32Version != VBOX_HGCM_SVC_VERSION)
1474 pService = new Service(ptable->pHelpers);
1489 ptable->cbClient = 0;
1491 ptable->pfnUnload = Service::svcUnload;
1492 ptable->pfnConnect = Service::svcConnectDisconnect;
1493 ptable->pfnDisconnect = Service::svcConnectDisconnect;
1494 ptable->pfnCall = Service::svcCall;
1495 ptable->pfnHostCall = Service::svcHostCall;
1496 ptable->pfnSaveState = NULL; /* The service is stateless, so the normal */
1497 ptable->pfnLoadState = NULL; /* construction done before restoring suffices */
1498 ptable->pfnRegisterExtension = Service::svcRegisterExtension;
1501 ptable->pvService = pService;