Line | |
---|
1 | /*
|
---|
2 | * Internal functions exported by odin dlls
|
---|
3 | *
|
---|
4 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
5 | *
|
---|
6 | */
|
---|
7 | #ifndef __ODINAPI_H__
|
---|
8 | #define __ODINAPI_H__
|
---|
9 |
|
---|
10 | /** @group kernel32_hm HandleManager Interfaces
|
---|
11 | * @{ */
|
---|
12 | #ifndef HMTYPE_UNKNOWN
|
---|
13 | /* these are a duplication of parts in hmhandle.h */
|
---|
14 | #define HMTYPE_UNKNOWN 0
|
---|
15 | #define HMTYPE_MEMMAP 1
|
---|
16 | #define HMTYPE_DEVICE 2
|
---|
17 | #define HMTYPE_PROCESSTOKEN 3
|
---|
18 | #define HMTYPE_THREADTOKEN 4
|
---|
19 | #define HMTYPE_THREAD 5
|
---|
20 | #define HMTYPE_PIPE 6
|
---|
21 | #define HMTYPE_EVENTSEM 7
|
---|
22 | #define HMTYPE_MUTEXSEM 8
|
---|
23 | #define HMTYPE_SEMAPHORE 9
|
---|
24 | #define HMTYPE_COMPORT 10
|
---|
25 | #define HMTYPE_PARPORT 11
|
---|
26 | #define HMTYPE_MAILSLOT 12
|
---|
27 | #define HMTYPE_BAD_HANDLE -1
|
---|
28 | #endif
|
---|
29 |
|
---|
30 | #ifdef __cplusplus
|
---|
31 | extern "C" {
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | /**
|
---|
35 | * Gets the type of an object.
|
---|
36 | *
|
---|
37 | * @returns the value of one of the HMMTYPE_ defines.
|
---|
38 | * @returns HMTYPE_BAD_HANDLE if hObject isn't a valid handle.
|
---|
39 | * @param hObject Handle to object.
|
---|
40 | */
|
---|
41 | unsigned WIN32API HMQueryObjectType(HANDLE hObject);
|
---|
42 |
|
---|
43 | #ifdef __cplusplus
|
---|
44 | } // extern "C"
|
---|
45 | #endif
|
---|
46 |
|
---|
47 | /** @} */
|
---|
48 |
|
---|
49 | #endif //__WINUSER32_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.