Last change
on this file since 65793 was 62812, checked in by vboxsync, 8 years ago |
GuestHost/OpenGL: warnings
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
File size:
967 bytes
|
Line | |
---|
1 | /* Copyright (c) 2001, Stanford University
|
---|
2 | * All rights reserved
|
---|
3 | *
|
---|
4 | * See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef CR_PROCESS_H
|
---|
8 | #define CR_PROCESS_H
|
---|
9 |
|
---|
10 | #ifdef WINDOWS
|
---|
11 | #define WIN32_LEAN_AND_MEAN
|
---|
12 | # ifdef VBOX
|
---|
13 | # include <iprt/win/windows.h>
|
---|
14 | # else
|
---|
15 | #include <windows.h>
|
---|
16 | # endif
|
---|
17 | #endif
|
---|
18 |
|
---|
19 | #include <iprt/cdefs.h>
|
---|
20 |
|
---|
21 | #ifdef __cplusplus
|
---|
22 | extern "C" {
|
---|
23 | #endif
|
---|
24 |
|
---|
25 | /*
|
---|
26 | * Process ID type
|
---|
27 | */
|
---|
28 | #ifdef WINDOWS
|
---|
29 | typedef HANDLE CRpid;
|
---|
30 | #else
|
---|
31 | typedef unsigned long CRpid;
|
---|
32 | #endif
|
---|
33 |
|
---|
34 |
|
---|
35 | extern DECLEXPORT(void) crSleep( unsigned int seconds );
|
---|
36 |
|
---|
37 | extern DECLEXPORT(void) crMsleep( unsigned int msec );
|
---|
38 |
|
---|
39 | extern DECLEXPORT(CRpid) crSpawn( const char *command, const char *argv[] );
|
---|
40 |
|
---|
41 | extern DECLEXPORT(void) crKill( CRpid pid );
|
---|
42 |
|
---|
43 | extern DECLEXPORT(void) crGetProcName( char *name, int maxLen );
|
---|
44 |
|
---|
45 | extern DECLEXPORT(void) crGetCurrentDir( char *dir, int maxLen );
|
---|
46 |
|
---|
47 | extern DECLEXPORT(CRpid) crGetPID(void);
|
---|
48 |
|
---|
49 |
|
---|
50 | #ifdef __cplusplus
|
---|
51 | }
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #endif /* CR_PROCESS_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.