Rev | Line | |
---|
[6401] | 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 |
|
---|
[21301] | 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
|
---|
[6401] | 29 |
|
---|
[21301] | 30 | /**
|
---|
| 31 | * Gets the type of an object.
|
---|
| 32 | *
|
---|
| 33 | * @returns the value of one of the HMMTYPE_ defines.
|
---|
| 34 | * @returns HMTYPE_BAD_HANDLE if hObject isn't a valid handle.
|
---|
| 35 | * @param hObject Handle to object.
|
---|
| 36 | */
|
---|
| 37 | unsigned WIN32API HMQueryObjectType(HANDLE hObject);
|
---|
| 38 |
|
---|
| 39 | /** @} */
|
---|
| 40 |
|
---|
[6401] | 41 | #endif //__WINUSER32_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.