VirtualBox

source: vbox/trunk/include/VBox/VBoxCrHgsmi.h@ 33119

Last change on this file since 33119 was 33119, checked in by vboxsync, 14 years ago

header fix

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1/*
2 * Copyright (C) 2010 Oracle Corporation
3 *
4 * This file is part of VirtualBox Open Source Edition (OSE), as
5 * available from http://www.virtualbox.org. This file is free software;
6 * you can redistribute it and/or modify it under the terms of the GNU
7 * General Public License (GPL) as published by the Free Software
8 * Foundation, in version 2 as it comes in the "COPYING" file of the
9 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
10 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
11 */
12#ifndef ___VBoxCrHgsmi_h__
13#define ___VBoxCrHgsmi_h__
14
15#include <iprt/cdefs.h>
16#include <VBox/VBoxUhgsmi.h>
17
18RT_C_DECLS_BEGIN
19
20#if 0
21/* enable this in case we include this in a dll*/
22# ifdef IN_VBOXCRHGSMI
23# define VBOXCRHGSMI_DECL(_type) DECLEXPORT(_type)
24# else
25# define VBOXCRHGSMI_DECL(_type) DECLIMPORT(_type)
26# endif
27#else
28/*enable this in case we include this in a static lib*/
29# define VBOXCRHGSMI_DECL(_type) _type
30#endif
31
32typedef void * HVBOXCRHGSMI_CLIENT;
33
34typedef DECLCALLBACK(HVBOXCRHGSMI_CLIENT) FNVBOXCRHGSMI_CLIENT_CREATE(PVBOXUHGSMI pHgsmi);
35typedef FNVBOXCRHGSMI_CLIENT_CREATE *PFNVBOXCRHGSMI_CLIENT_CREATE;
36
37typedef DECLCALLBACK(void) FNVBOXCRHGSMI_CLIENT_DESTROY(HVBOXCRHGSMI_CLIENT hClient);
38typedef FNVBOXCRHGSMI_CLIENT_DESTROY *PFNVBOXCRHGSMI_CLIENT_DESTROY;
39
40typedef struct VBOXCRHGSMI_CALLBACKS
41{
42 PFNVBOXCRHGSMI_CLIENT_CREATE pfnClientCreate;
43 PFNVBOXCRHGSMI_CLIENT_DESTROY pfnClientDestroy;
44} VBOXCRHGSMI_CALLBACKS, *PVBOXCRHGSMI_CALLBACKS;
45
46VBOXCRHGSMI_DECL(int) VBoxCrHgsmiInit(PVBOXCRHGSMI_CALLBACKS pCallbacks);
47VBOXCRHGSMI_DECL(int) VBoxCrHgsmiTerm();
48VBOXCRHGSMI_DECL(HVBOXCRHGSMI_CLIENT) VBoxCrHgsmiQueryClient();
49
50RT_C_DECLS_END
51
52#endif /* #ifndef ___VBoxCrHgsmi_h__ */
Note: See TracBrowser for help on using the repository browser.

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