-
Notifications
You must be signed in to change notification settings - Fork 0
/
system.idl
71 lines (61 loc) · 1.47 KB
/
system.idl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef namefix_idl
#define namefix_idl
#include <wpsystem.idl>
interface M_WPSystemFix;
interface WPSystemFix: WPSystem
{
#ifdef __SOMIDL__
implementation
{
local;
majorversion = 1;
minorversion = 1;
filestem = system;
dllname = "filesys.dll";
callstyle = oidl;
metaclass = M_WPSystemFix;
somDefaultInit :override, init;
somDestruct :override;
wpAddSettingsPages:override;
passthru C_xh_before = ""
"#define INCL_PM"
"#define INCL_BASE"
"#define INCL_DOSDEVIOCTL"
"#include <os2.h>"
"";
passthru C_xih_after = ""
"#ifdef __cplusplus"
" extern \"C\" {"
"#endif"
"int _CRT_init(void);"
"void _CRT_term(void);"
"void __ctordtorInit(void);"
"void __ctordtorTerm(void);"
"#ifdef __cplusplus"
"}"
"#endif"
"#include <ctype.h>"
"#include <rc.h>"
"#include <wpclsmgr.xh>"
"";
};
#endif
};
interface M_WPSystemFix: M_WPSystem
{
#ifdef __SOMIDL__
implementation
{
local;
majorversion = 1;
minorversion = 1;
callstyle = oidl;
filestem = system;
dllname = "filesys.dll";
wpclsSetSetting :override;
wpclsQuerySetting :override;
BOOL fEject;
};
#endif
};
#endif