Last change
on this file since 1157 was 1046, checked in by alloc, 8 years ago |
Daodan: Added Windows MinGW and build batch file
|
File size:
660 bytes
|
Line | |
---|
1 | #ifndef _SVCGUID_H
|
---|
2 | #define _SVCGUID_H
|
---|
3 | #if __GNUC__ >=3
|
---|
4 | #pragma GCC system_header
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #ifdef __cplusplus
|
---|
8 | extern "C" {
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #define SVCID_NETWARE(_SapId) \
|
---|
12 | { (0x000B << 16) | (_SapId), 0, 0, { 0xC0,0,0,0,0,0,0,0x46 } }
|
---|
13 |
|
---|
14 | #define SAPID_FROM_SVCID_NETWARE(_g) \
|
---|
15 | ((WORD)(_g->Data1 & 0xFFFF))
|
---|
16 |
|
---|
17 | #define SET_NETWARE_SVCID(_g,_SapId) { \
|
---|
18 | (_g)->Data1 = (0x000B << 16 ) | (_SapId); \
|
---|
19 | (_g)->Data2 = 0; \
|
---|
20 | (_g)->Data3 = 0; \
|
---|
21 | (_g)->Data4[0] = 0xC0; \
|
---|
22 | (_g)->Data4[1] = 0x0; \
|
---|
23 | (_g)->Data4[2] = 0x0; \
|
---|
24 | (_g)->Data4[3] = 0x0; \
|
---|
25 | (_g)->Data4[4] = 0x0; \
|
---|
26 | (_g)->Data4[5] = 0x0; \
|
---|
27 | (_g)->Data4[6] = 0x0; \
|
---|
28 | (_g)->Data4[7] = 0x46; }
|
---|
29 |
|
---|
30 | #ifdef __cplusplus
|
---|
31 | }
|
---|
32 | #endif
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.