VirtualBox

source: vbox/trunk/include/VBox/hgcmsvc.h@ 75830

Last change on this file since 75830 was 75792, checked in by vboxsync, 6 years ago

hgcmsvc.h: Fixed mangled continuation indentation.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 18.2 KB
Line 
1/** @file
2 * Host-Guest Communication Manager (HGCM) - Service library definitions.
3 */
4
5/*
6 * Copyright (C) 2006-2017 Oracle Corporation
7 *
8 * This file is part of VirtualBox Open Source Edition (OSE), as
9 * available from http://www.virtualbox.org. This file is free software;
10 * you can redistribute it and/or modify it under the terms of the GNU
11 * General Public License (GPL) as published by the Free Software
12 * Foundation, in version 2 as it comes in the "COPYING" file of the
13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15 *
16 * The contents of this file may alternatively be used under the terms
17 * of the Common Development and Distribution License Version 1.0
18 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
19 * VirtualBox OSE distribution, in which case the provisions of the
20 * CDDL are applicable instead of those of the GPL.
21 *
22 * You may elect to license modified versions of this file under the
23 * terms and conditions of either the GPL or the CDDL or both.
24 */
25
26#ifndef ___VBox_hgcm_h
27#define ___VBox_hgcm_h
28
29#include <iprt/assert.h>
30#include <iprt/stdarg.h>
31#include <iprt/string.h>
32#include <VBox/cdefs.h>
33#include <VBox/types.h>
34#include <VBox/err.h>
35#ifdef IN_RING3
36# include <VBox/vmm/stam.h>
37# include <VBox/vmm/dbgf.h>
38#endif
39#ifdef VBOX_TEST_HGCM_PARMS
40# include <iprt/test.h>
41#endif
42
43/** @todo proper comments. */
44
45/**
46 * Service interface version.
47 *
48 * Includes layout of both VBOXHGCMSVCFNTABLE and VBOXHGCMSVCHELPERS.
49 *
50 * A service can work with these structures if major version
51 * is equal and minor version of service is <= version of the
52 * structures.
53 *
54 * For example when a new helper is added at the end of helpers
55 * structure, then the minor version will be increased. All older
56 * services still can work because they have their old helpers
57 * unchanged.
58 *
59 * Revision history.
60 * 1.1->2.1 Because the pfnConnect now also has the pvClient parameter.
61 * 2.1->2.2 Because pfnSaveState and pfnLoadState were added
62 * 2.2->3.1 Because pfnHostCall is now synchronous, returns rc, and parameters were changed
63 * 3.1->3.2 Because pfnRegisterExtension was added
64 * 3.2->3.3 Because pfnDisconnectClient helper was added
65 * 3.3->4.1 Because the pvService entry and parameter was added
66 * 4.1->4.2 Because the VBOX_HGCM_SVC_PARM_CALLBACK parameter type was added
67 * 4.2->5.1 Removed the VBOX_HGCM_SVC_PARM_CALLBACK parameter type, as
68 * this problem is already solved by service extension callbacks
69 * 5.1->6.1 Because pfnCall got a new parameter. Also new helpers. (VBox 6.0)
70 * 6.1->6.2 Because pfnCallComplete starts returning a status code (VBox 6.0).
71 * 6.2->6.3 Because pfnGetRequestor was added (VBox 6.0).
72 * 6.3->6.4 Bacause pfnConnect got an additional parameter (VBox 6.0).
73 */
74#define VBOX_HGCM_SVC_VERSION_MAJOR (0x0006)
75#define VBOX_HGCM_SVC_VERSION_MINOR (0x0004)
76#define VBOX_HGCM_SVC_VERSION ((VBOX_HGCM_SVC_VERSION_MAJOR << 16) + VBOX_HGCM_SVC_VERSION_MINOR)
77
78
79/** Typed pointer to distinguish a call to service. */
80struct VBOXHGCMCALLHANDLE_TYPEDEF;
81typedef struct VBOXHGCMCALLHANDLE_TYPEDEF *VBOXHGCMCALLHANDLE;
82
83/** Service helpers pointers table. */
84typedef struct VBOXHGCMSVCHELPERS
85{
86 /** The service has processed the Call request. */
87 DECLR3CALLBACKMEMBER(int, pfnCallComplete, (VBOXHGCMCALLHANDLE callHandle, int32_t rc));
88
89 void *pvInstance;
90
91 /** The service disconnects the client. */
92 DECLR3CALLBACKMEMBER(void, pfnDisconnectClient, (void *pvInstance, uint32_t u32ClientID));
93
94 /**
95 * Check if the @a callHandle is for a call restored and re-submitted from saved state.
96 *
97 * @returns true if restored, false if not.
98 * @param callHandle The call we're checking up on.
99 */
100 DECLR3CALLBACKMEMBER(bool, pfnIsCallRestored, (VBOXHGCMCALLHANDLE callHandle));
101
102 /** Access to STAMR3RegisterV. */
103 DECLR3CALLBACKMEMBER(int, pfnStamRegisterV,(void *pvInstance, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility,
104 STAMUNIT enmUnit, const char *pszDesc, const char *pszName, va_list va)
105 RT_IPRT_FORMAT_ATTR(7, 0));
106 /** Access to STAMR3DeregisterV. */
107 DECLR3CALLBACKMEMBER(int, pfnStamDeregisterV,(void *pvInstance, const char *pszPatFmt, va_list va) RT_IPRT_FORMAT_ATTR(2, 0));
108
109 /** Access to DBGFR3InfoRegisterExternal. */
110 DECLR3CALLBACKMEMBER(int, pfnInfoRegister,(void *pvInstance, const char *pszName, const char *pszDesc,
111 PFNDBGFHANDLEREXT pfnHandler, void *pvUser));
112 /** Access to DBGFR3InfoDeregisterExternal. */
113 DECLR3CALLBACKMEMBER(int, pfnInfoDeregister,(void *pvInstance, const char *pszName));
114
115 /**
116 * Retrieves the VMMDevRequestHeader::fRequestor value.
117 *
118 * @returns The field value, VMMDEV_REQUESTOR_LEGACY if not supported by the
119 * guest, VMMDEV_REQUESTOR_LOWEST if invalid call.
120 * @param hCall The call we're checking up on.
121 */
122 DECLR3CALLBACKMEMBER(uint32_t, pfnGetRequestor, (VBOXHGCMCALLHANDLE hCall));
123
124} VBOXHGCMSVCHELPERS;
125
126typedef VBOXHGCMSVCHELPERS *PVBOXHGCMSVCHELPERS;
127
128#if defined(IN_RING3) || defined(IN_SLICKEDIT)
129
130/** Wrapper around STAMR3RegisterF. */
131DECLINLINE(int) RT_IPRT_FORMAT_ATTR(7, 8)
132HGCMSvcHlpStamRegister(PVBOXHGCMSVCHELPERS pHlp, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility,
133 STAMUNIT enmUnit, const char *pszDesc, const char *pszName, ...)
134{
135 int rc;
136 va_list va;
137 va_start(va, pszName);
138 rc = pHlp->pfnStamRegisterV(pHlp->pvInstance, pvSample, enmType, enmVisibility, enmUnit, pszDesc, pszName, va);
139 va_end(va);
140 return rc;
141}
142
143/** Wrapper around STAMR3RegisterV. */
144DECLINLINE(int) RT_IPRT_FORMAT_ATTR(7, 0)
145HGCMSvcHlpStamRegisterV(PVBOXHGCMSVCHELPERS pHlp, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility,
146 STAMUNIT enmUnit, const char *pszDesc, const char *pszName, va_list va)
147{
148 return pHlp->pfnStamRegisterV(pHlp->pvInstance, pvSample, enmType, enmVisibility, enmUnit, pszDesc, pszName, va);
149}
150
151/** Wrapper around STAMR3DeregisterF. */
152DECLINLINE(int) RT_IPRT_FORMAT_ATTR(2, 3) HGCMSvcHlpStamDeregister(PVBOXHGCMSVCHELPERS pHlp, const char *pszPatFmt, ...)
153{
154 int rc;
155 va_list va;
156 va_start(va, pszPatFmt);
157 rc = pHlp->pfnStamDeregisterV(pHlp->pvInstance, pszPatFmt, va);
158 va_end(va);
159 return rc;
160}
161
162/** Wrapper around STAMR3DeregisterV. */
163DECLINLINE(int) RT_IPRT_FORMAT_ATTR(2, 0) HGCMSvcHlpStamDeregisterV(PVBOXHGCMSVCHELPERS pHlp, const char *pszPatFmt, va_list va)
164{
165 return pHlp->pfnStamDeregisterV(pHlp->pvInstance, pszPatFmt, va);
166}
167
168/** Wrapper around DBGFR3InfoRegisterExternal. */
169DECLINLINE(int) HGCMSvcHlpInfoRegister(PVBOXHGCMSVCHELPERS pHlp, const char *pszName, const char *pszDesc,
170 PFNDBGFHANDLEREXT pfnHandler, void *pvUser)
171{
172 return pHlp->pfnInfoRegister(pHlp->pvInstance, pszName, pszDesc, pfnHandler, pvUser);
173}
174
175/** Wrapper around DBGFR3InfoDeregisterExternal. */
176DECLINLINE(int) HGCMSvcHlpInfoDeregister(PVBOXHGCMSVCHELPERS pHlp, const char *pszName)
177{
178 return pHlp->pfnInfoDeregister(pHlp->pvInstance, pszName);
179}
180
181#endif /* IN_RING3 */
182
183
184#define VBOX_HGCM_SVC_PARM_INVALID (0U)
185#define VBOX_HGCM_SVC_PARM_32BIT (1U)
186#define VBOX_HGCM_SVC_PARM_64BIT (2U)
187#define VBOX_HGCM_SVC_PARM_PTR (3U)
188
189typedef struct VBOXHGCMSVCPARM
190{
191 /** VBOX_HGCM_SVC_PARM_* values. */
192 uint32_t type;
193
194 union
195 {
196 uint32_t uint32;
197 uint64_t uint64;
198 struct
199 {
200 uint32_t size;
201 void *addr;
202 } pointer;
203 } u;
204} VBOXHGCMSVCPARM;
205
206/** Extract an uint32_t value from an HGCM parameter structure. */
207DECLINLINE(int) HGCMSvcGetU32(VBOXHGCMSVCPARM *pParm, uint32_t *pu32)
208{
209 int rc = VINF_SUCCESS;
210 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
211 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
212 AssertPtrReturn(pu32, VERR_INVALID_POINTER);
213 if (pParm->type != VBOX_HGCM_SVC_PARM_32BIT)
214 rc = VERR_INVALID_PARAMETER;
215 if (RT_SUCCESS(rc))
216 *pu32 = pParm->u.uint32;
217 return rc;
218}
219
220/** Extract an uint64_t value from an HGCM parameter structure. */
221DECLINLINE(int) HGCMSvcGetU64(VBOXHGCMSVCPARM *pParm, uint64_t *pu64)
222{
223 int rc = VINF_SUCCESS;
224 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
225 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
226 AssertPtrReturn(pu64, VERR_INVALID_POINTER);
227 if (pParm->type != VBOX_HGCM_SVC_PARM_64BIT)
228 rc = VERR_INVALID_PARAMETER;
229 if (RT_SUCCESS(rc))
230 *pu64 = pParm->u.uint64;
231 return rc;
232}
233
234/** Extract an pointer value from an HGCM parameter structure. */
235DECLINLINE(int) HGCMSvcGetPv(VBOXHGCMSVCPARM *pParm, void **ppv, uint32_t *pcb)
236{
237 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
238 AssertPtrReturn(ppv, VERR_INVALID_POINTER);
239 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
240 if (pParm->type == VBOX_HGCM_SVC_PARM_PTR)
241 {
242 *ppv = pParm->u.pointer.addr;
243 *pcb = pParm->u.pointer.size;
244 return VINF_SUCCESS;
245 }
246
247 return VERR_INVALID_PARAMETER;
248}
249
250/** Extract a constant pointer value from an HGCM parameter structure. */
251DECLINLINE(int) HGCMSvcGetPcv(VBOXHGCMSVCPARM *pParm, const void **ppv, uint32_t *pcb)
252{
253 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
254 AssertPtrReturn(ppv, VERR_INVALID_POINTER);
255 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
256 if (pParm->type == VBOX_HGCM_SVC_PARM_PTR)
257 {
258 *ppv = (const void *)pParm->u.pointer.addr;
259 *pcb = pParm->u.pointer.size;
260 return VINF_SUCCESS;
261 }
262
263 return VERR_INVALID_PARAMETER;
264}
265
266/** Extract a valid pointer to a non-empty buffer from an HGCM parameter
267 * structure. */
268DECLINLINE(int) HGCMSvcGetBuf(VBOXHGCMSVCPARM *pParm, void **ppv, uint32_t *pcb)
269{
270 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
271 AssertPtrReturn(ppv, VERR_INVALID_POINTER);
272 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
273 if ( pParm->type == VBOX_HGCM_SVC_PARM_PTR
274 && VALID_PTR(pParm->u.pointer.addr)
275 && pParm->u.pointer.size > 0)
276 {
277 *ppv = pParm->u.pointer.addr;
278 *pcb = pParm->u.pointer.size;
279 return VINF_SUCCESS;
280 }
281
282 return VERR_INVALID_PARAMETER;
283}
284
285/** Extract a valid pointer to a non-empty constant buffer from an HGCM
286 * parameter structure. */
287DECLINLINE(int) HGCMSvcGetCBuf(VBOXHGCMSVCPARM *pParm, const void **ppv, uint32_t *pcb)
288{
289 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
290 AssertPtrReturn(ppv, VERR_INVALID_POINTER);
291 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
292 if ( pParm->type == VBOX_HGCM_SVC_PARM_PTR
293 && VALID_PTR(pParm->u.pointer.addr)
294 && pParm->u.pointer.size > 0)
295 {
296 *ppv = (const void *)pParm->u.pointer.addr;
297 *pcb = pParm->u.pointer.size;
298 return VINF_SUCCESS;
299 }
300
301 return VERR_INVALID_PARAMETER;
302}
303
304/** Extract a string value from an HGCM parameter structure. */
305DECLINLINE(int) HGCMSvcGetStr(VBOXHGCMSVCPARM *pParm, char **ppch, uint32_t *pcb)
306{
307 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
308 AssertPtrReturn(ppch, VERR_INVALID_POINTER);
309 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
310 if ( pParm->type == VBOX_HGCM_SVC_PARM_PTR
311 && VALID_PTR(pParm->u.pointer.addr)
312 && pParm->u.pointer.size > 0)
313 {
314 int rc = RTStrValidateEncodingEx((char *)pParm->u.pointer.addr,
315 pParm->u.pointer.size,
316 RTSTR_VALIDATE_ENCODING_ZERO_TERMINATED);
317 if (RT_FAILURE(rc))
318 return rc;
319 *ppch = (char *)pParm->u.pointer.addr;
320 *pcb = pParm->u.pointer.size;
321 return VINF_SUCCESS;
322 }
323
324 return VERR_INVALID_PARAMETER;
325}
326
327/** Extract a constant string value from an HGCM parameter structure. */
328DECLINLINE(int) HGCMSvcGetCStr(VBOXHGCMSVCPARM *pParm, const char **ppch, uint32_t *pcb)
329{
330 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
331 AssertPtrReturn(ppch, VERR_INVALID_POINTER);
332 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
333 if ( pParm->type == VBOX_HGCM_SVC_PARM_PTR
334 && VALID_PTR(pParm->u.pointer.addr)
335 && pParm->u.pointer.size > 0)
336 {
337 int rc = RTStrValidateEncodingEx((char *)pParm->u.pointer.addr,
338 pParm->u.pointer.size,
339 RTSTR_VALIDATE_ENCODING_ZERO_TERMINATED);
340 if (RT_FAILURE(rc))
341 return rc;
342 *ppch = (char *)pParm->u.pointer.addr;
343 *pcb = pParm->u.pointer.size;
344 return VINF_SUCCESS;
345 }
346
347 return VERR_INVALID_PARAMETER;
348}
349
350/** Extract a constant string value from an HGCM parameter structure. */
351DECLINLINE(int) HGCMSvcGetPsz(VBOXHGCMSVCPARM *pParm, const char **ppch, uint32_t *pcb)
352{
353 AssertPtrReturn(pParm, VERR_INVALID_POINTER);
354 AssertPtrReturn(ppch, VERR_INVALID_POINTER);
355 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
356 if ( pParm->type == VBOX_HGCM_SVC_PARM_PTR
357 && VALID_PTR(pParm->u.pointer.addr)
358 && pParm->u.pointer.size > 0)
359 {
360 int rc = RTStrValidateEncodingEx((const char *)pParm->u.pointer.addr,
361 pParm->u.pointer.size,
362 RTSTR_VALIDATE_ENCODING_ZERO_TERMINATED);
363 if (RT_FAILURE(rc))
364 return rc;
365 *ppch = (const char *)pParm->u.pointer.addr;
366 *pcb = pParm->u.pointer.size;
367 return VINF_SUCCESS;
368 }
369
370 return VERR_INVALID_PARAMETER;
371}
372
373/** Set a uint32_t value to an HGCM parameter structure */
374DECLINLINE(void) HGCMSvcSetU32(VBOXHGCMSVCPARM *pParm, uint32_t u32)
375{
376 AssertPtr(pParm);
377 pParm->type = VBOX_HGCM_SVC_PARM_32BIT;
378 pParm->u.uint32 = u32;
379}
380
381/** Set a uint64_t value to an HGCM parameter structure */
382DECLINLINE(void) HGCMSvcSetU64(VBOXHGCMSVCPARM *pParm, uint64_t u64)
383{
384 AssertPtr(pParm);
385 pParm->type = VBOX_HGCM_SVC_PARM_64BIT;
386 pParm->u.uint64 = u64;
387}
388
389/** Set a pointer value to an HGCM parameter structure */
390DECLINLINE(void) HGCMSvcSetPv(VBOXHGCMSVCPARM *pParm, void *pv, uint32_t cb)
391{
392 AssertPtr(pParm);
393 pParm->type = VBOX_HGCM_SVC_PARM_PTR;
394 pParm->u.pointer.addr = pv;
395 pParm->u.pointer.size = cb;
396}
397
398/** Set a pointer value to an HGCM parameter structure */
399DECLINLINE(void) HGCMSvcSetStr(VBOXHGCMSVCPARM *pParm, const char *psz)
400{
401 AssertPtr(pParm);
402 pParm->type = VBOX_HGCM_SVC_PARM_PTR;
403 pParm->u.pointer.addr = (void *)psz;
404 pParm->u.pointer.size = (uint32_t)strlen(psz) + 1;
405}
406
407#ifdef __cplusplus
408# ifdef ___iprt_cpp_ministring_h
409/** Set a const string value to an HGCM parameter structure */
410DECLINLINE(void) HGCMSvcSetRTCStr(VBOXHGCMSVCPARM *pParm, const RTCString &rString)
411{
412 AssertPtr(pParm);
413 pParm->type = VBOX_HGCM_SVC_PARM_PTR;
414 pParm->u.pointer.addr = (void *)rString.c_str();
415 pParm->u.pointer.size = (uint32_t)rString.length() + 1;
416}
417# endif
418#endif
419
420typedef VBOXHGCMSVCPARM *PVBOXHGCMSVCPARM;
421
422#ifdef VBOX_WITH_CRHGSMI
423typedef void * HGCMCVSHANDLE;
424
425typedef DECLCALLBACK(void) HGCMHOSTFASTCALLCB (int32_t result, uint32_t u32Function, PVBOXHGCMSVCPARM pParam, void *pvContext);
426typedef HGCMHOSTFASTCALLCB *PHGCMHOSTFASTCALLCB;
427#endif
428
429
430/** Service specific extension callback.
431 * This callback is called by the service to perform service specific operation.
432 *
433 * @param pvExtension The extension pointer.
434 * @param u32Function What the callback is supposed to do.
435 * @param pvParm The function parameters.
436 * @param cbParm The size of the function parameters.
437 */
438typedef DECLCALLBACK(int) FNHGCMSVCEXT(void *pvExtension, uint32_t u32Function, void *pvParm, uint32_t cbParms);
439typedef FNHGCMSVCEXT *PFNHGCMSVCEXT;
440
441/** The Service DLL entry points.
442 *
443 * HGCM will call the DLL "VBoxHGCMSvcLoad"
444 * function and the DLL must fill in the VBOXHGCMSVCFNTABLE
445 * with function pointers.
446 */
447
448/* The structure is used in separately compiled binaries so an explicit packing is required. */
449typedef struct VBOXHGCMSVCFNTABLE
450{
451 /** @name Filled by HGCM
452 * @{ */
453
454 /** Size of the structure. */
455 uint32_t cbSize;
456
457 /** Version of the structure, including the helpers. */
458 uint32_t u32Version;
459
460 PVBOXHGCMSVCHELPERS pHelpers;
461 /** @} */
462
463 /** @name Filled in by the service.
464 * @{ */
465
466 /** Size of client information the service want to have. */
467 uint32_t cbClient;
468#if ARCH_BITS == 64
469 /** Ensure that the following pointers are properly aligned on 64-bit system. */
470 uint32_t u32Alignment0;
471#endif
472
473 /** Uninitialize service */
474 DECLR3CALLBACKMEMBER(int, pfnUnload, (void *pvService));
475
476 /** Inform the service about a client connection. */
477 DECLR3CALLBACKMEMBER(int, pfnConnect, (void *pvService, uint32_t u32ClientID, void *pvClient, uint32_t fRequestor, bool fRestoring));
478
479 /** Inform the service that the client wants to disconnect. */
480 DECLR3CALLBACKMEMBER(int, pfnDisconnect, (void *pvService, uint32_t u32ClientID, void *pvClient));
481
482 /** Service entry point.
483 * Return code is passed to pfnCallComplete callback.
484 */
485 DECLR3CALLBACKMEMBER(void, pfnCall, (void *pvService, VBOXHGCMCALLHANDLE callHandle, uint32_t u32ClientID, void *pvClient,
486 uint32_t function, uint32_t cParms, VBOXHGCMSVCPARM paParms[], uint64_t tsArrival));
487
488 /** Host Service entry point meant for privileged features invisible to the guest.
489 * Return code is passed to pfnCallComplete callback.
490 */
491 DECLR3CALLBACKMEMBER(int, pfnHostCall, (void *pvService, uint32_t function, uint32_t cParms, VBOXHGCMSVCPARM paParms[]));
492
493 /** Inform the service about a VM save operation. */
494 DECLR3CALLBACKMEMBER(int, pfnSaveState, (void *pvService, uint32_t u32ClientID, void *pvClient, PSSMHANDLE pSSM));
495
496 /** Inform the service about a VM load operation. */
497 DECLR3CALLBACKMEMBER(int, pfnLoadState, (void *pvService, uint32_t u32ClientID, void *pvClient, PSSMHANDLE pSSM));
498
499 /** Register a service extension callback. */
500 DECLR3CALLBACKMEMBER(int, pfnRegisterExtension, (void *pvService, PFNHGCMSVCEXT pfnExtension, void *pvExtension));
501
502 /** User/instance data pointer for the service. */
503 void *pvService;
504
505 /** @} */
506} VBOXHGCMSVCFNTABLE;
507
508
509/** Service initialization entry point. */
510typedef DECLCALLBACK(int) VBOXHGCMSVCLOAD(VBOXHGCMSVCFNTABLE *ptable);
511typedef VBOXHGCMSVCLOAD *PFNVBOXHGCMSVCLOAD;
512#define VBOX_HGCM_SVCLOAD_NAME "VBoxHGCMSvcLoad"
513
514#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette