Mercurial > hg > xemacs-beta
annotate src/intl-auto-encap-win32.c @ 5920:0f2338afbabf cygwin
Minimum necessary to get started:
sufficient to compile OK, run -nw, but not with window
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Mon, 21 Apr 2014 11:42:50 +0100 |
parents | 7eec2a1f3412 |
children | 68639fb08af8 |
rev | line source |
---|---|
771 | 1 /* Automatically-generated Unicode-encapsulation file, |
2 using the command | |
3 | |
4 ../lib-src/make-mswin-unicode.pl --c-output intl-auto-encap-win32.c --h-output intl-auto-encap-win32.h intl-encap-win32.c | |
5 | |
6 Do not edit. See `make-mswin-unicode.pl'. | |
7 */ | |
8 | |
9 #include <config.h> | |
10 #include "lisp.h" | |
11 | |
12 #include "syswindows.h" | |
13 | |
14 | |
15 /*----------------------------------------------------------------------*/ | |
2367 | 16 /* Processing file SHELLAPI.H */ |
17 /*----------------------------------------------------------------------*/ | |
18 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
19 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
20 qxeDragQueryFile (HDROP hDrop, UINT iFile, Extbyte * lpszFile, UINT cch) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
21 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
22 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
23 return DragQueryFileW (hDrop, iFile, (LPWSTR) lpszFile, cch); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
24 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
25 return DragQueryFileA (hDrop, iFile, (LPSTR) lpszFile, cch); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
26 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
27 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
28 HINSTANCE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
29 qxeShellExecute (HWND hwnd, const Extbyte * lpOperation, const Extbyte * lpFile, const Extbyte * lpParameters, const Extbyte * lpDirectory, INT nShowCmd) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
30 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
31 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
32 return ShellExecuteW (hwnd, (LPCWSTR) lpOperation, (LPCWSTR) lpFile, (LPCWSTR) lpParameters, (LPCWSTR) lpDirectory, nShowCmd); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
33 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
34 return ShellExecuteA (hwnd, (LPCSTR) lpOperation, (LPCSTR) lpFile, (LPCSTR) lpParameters, (LPCSTR) lpDirectory, nShowCmd); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
35 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
36 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
37 HINSTANCE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
38 qxeFindExecutable (const Extbyte * lpFile, const Extbyte * lpDirectory, Extbyte * lpResult) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
39 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
40 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
41 return FindExecutableW ((LPCWSTR) lpFile, (LPCWSTR) lpDirectory, (LPWSTR) lpResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
42 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
43 return FindExecutableA ((LPCSTR) lpFile, (LPCSTR) lpDirectory, (LPSTR) lpResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
44 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
45 |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
46 /* Error if CommandLineToArgv used: Unicode-only */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
47 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
48 INT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
49 qxeShellAbout (HWND hWnd, const Extbyte * szApp, const Extbyte * szOtherStuff, HICON hIcon) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
50 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
51 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
52 return ShellAboutW (hWnd, (LPCWSTR) szApp, (LPCWSTR) szOtherStuff, hIcon); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
53 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
54 return ShellAboutA (hWnd, (LPCSTR) szApp, (LPCSTR) szOtherStuff, hIcon); |
2367 | 55 } |
56 | |
4903
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
57 /* NOTE: error arg2, Cygwin prototype, extra const. |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
58 NOTE: Prototype manually overridden. |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
59 Header file claims: |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
60 SHSTDAPI_(HICON) ExtractAssociatedIcon(HINSTANCE hInst, LPWSTR pszIconPath, WORD *piIcon) |
4903
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
61 Overridden with: |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
62 HICON ExtractAssociatedIcon(HINSTANCE, LPWSTR, LPWORD) |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
63 Differences in return-type qualifiers, e.g. WINAPI, are not important. |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
64 */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
65 HICON |
4903
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
66 qxeExtractAssociatedIcon (HINSTANCE arg1, Extbyte * arg2, LPWORD arg3) |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
67 { |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
68 if (XEUNICODE_P) |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
69 return ExtractAssociatedIconW (arg1, (LPWSTR) arg2, arg3); |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
70 else |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
71 return ExtractAssociatedIconA (arg1, (LPSTR) arg2, arg3); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
72 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
73 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
74 /* Error if ExtractAssociatedIconEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
75 |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
76 HICON |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
77 qxeExtractIcon (HINSTANCE hInst, const Extbyte * pszExeFileName, UINT nIconIndex) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
78 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
79 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
80 return ExtractIconW (hInst, (LPCWSTR) pszExeFileName, nIconIndex); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
81 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
82 return ExtractIconA (hInst, (LPCSTR) pszExeFileName, nIconIndex); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
83 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
84 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
85 #if !defined (CYGWIN_HEADERS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
86 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
87 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
88 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
89 qxeDoEnvironmentSubst (Extbyte * pszSrc, UINT cchSrc) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
90 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
91 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
92 return DoEnvironmentSubstW ((LPWSTR) pszSrc, cchSrc); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
93 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
94 return DoEnvironmentSubstA ((LPSTR) pszSrc, cchSrc); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
95 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
96 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
97 #endif /* !defined (CYGWIN_HEADERS) */ |
2367 | 98 |
4903
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
99 /* NOTE: NT 4.0+ only, former error in Cygwin prototype but no more (Cygwin 1.7, 1-30-10) */ |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
100 UINT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
101 qxeExtractIconEx (const Extbyte * lpszFile, int nIconIndex, HICON * phiconLarge, HICON * phiconSmall, UINT nIcons) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
102 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
103 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
104 return ExtractIconExW ((LPCWSTR) lpszFile, nIconIndex, phiconLarge, phiconSmall, nIcons); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
105 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
106 return ExtractIconExA ((LPCSTR) lpszFile, nIconIndex, phiconLarge, phiconSmall, nIcons); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
107 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
108 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
109 /* NOTE: NT 4.0+ only */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
110 int |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
111 qxeSHFileOperation (LPSHFILEOPSTRUCTW lpFileOp) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
112 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
113 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
114 return SHFileOperationW (lpFileOp); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
115 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
116 return SHFileOperationA ((LPSHFILEOPSTRUCTA) lpFileOp); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
117 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
118 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
119 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
120 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
121 qxeShellExecuteEx (SHELLEXECUTEINFOW * pExecInfo) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
122 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
123 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
124 return ShellExecuteExW (pExecInfo); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
125 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
126 return ShellExecuteExA (pExecInfo); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
127 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
128 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
129 /* Error if SHCreateProcessAsUser used: HST: new? -- needs review */ |
2367 | 130 |
131 #if !defined (CYGWIN_HEADERS) | |
132 | |
133 /* NOTE: NT 4.0+ only */ | |
134 HRESULT | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
135 qxeSHQueryRecycleBin (const Extbyte * pszRootPath, LPSHQUERYRBINFO pSHQueryRBInfo) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
136 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
137 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
138 return SHQueryRecycleBinW ((LPCWSTR) pszRootPath, pSHQueryRBInfo); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
139 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
140 return SHQueryRecycleBinA ((LPCSTR) pszRootPath, pSHQueryRBInfo); |
2367 | 141 } |
142 | |
143 #endif /* !defined (CYGWIN_HEADERS) */ | |
144 | |
145 #if !defined (CYGWIN_HEADERS) | |
146 | |
147 /* NOTE: NT 4.0+ only */ | |
148 HRESULT | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
149 qxeSHEmptyRecycleBin (HWND hwnd, const Extbyte * pszRootPath, DWORD dwFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
150 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
151 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
152 return SHEmptyRecycleBinW (hwnd, (LPCWSTR) pszRootPath, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
153 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
154 return SHEmptyRecycleBinA (hwnd, (LPCSTR) pszRootPath, dwFlags); |
2367 | 155 } |
156 | |
157 #endif /* !defined (CYGWIN_HEADERS) */ | |
798 | 158 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
159 /* Error if Shell_NotifyIcon used: split-sized NOTIFYICONDATA, NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
160 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
161 /* Skipping SHGetFileInfo because split-sized SHFILEINFO, NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
162 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
163 /* Error if SHGetDiskFreeSpaceEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
164 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
165 #if !defined (CYGWIN_HEADERS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
166 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
167 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
168 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
169 qxeSHGetNewLinkInfo (const Extbyte * pszLinkTo, const Extbyte * pszDir, Extbyte * pszName, WINBOOL * pfMustCopy, UINT uFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
170 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
171 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
172 return SHGetNewLinkInfoW ((LPCWSTR) pszLinkTo, (LPCWSTR) pszDir, (LPWSTR) pszName, pfMustCopy, uFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
173 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
174 return SHGetNewLinkInfoA ((LPCSTR) pszLinkTo, (LPCSTR) pszDir, (LPSTR) pszName, pfMustCopy, uFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
175 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
176 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
177 #endif /* !defined (CYGWIN_HEADERS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
178 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
179 #if !defined (CYGWIN_HEADERS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
180 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
181 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
182 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
183 qxeSHInvokePrinterCommand (HWND hwnd, UINT uAction, const Extbyte * lpBuf1, const Extbyte * lpBuf2, WINBOOL fModal) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
184 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
185 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
186 return SHInvokePrinterCommandW (hwnd, uAction, (LPCWSTR) lpBuf1, (LPCWSTR) lpBuf2, fModal); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
187 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
188 return SHInvokePrinterCommandA (hwnd, uAction, (LPCSTR) lpBuf1, (LPCSTR) lpBuf2, fModal); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
189 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
190 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
191 #endif /* !defined (CYGWIN_HEADERS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
192 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
193 /* Error if IsLFNDrive used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
194 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
195 /* Error if SHEnumerateUnreadMailAccounts used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
196 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
197 /* Error if SHGetUnreadMailCount used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
198 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
199 /* Error if SHSetUnreadMailCount used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
200 |
798 | 201 |
202 /*----------------------------------------------------------------------*/ | |
771 | 203 /* Processing file WINSPOOL.H */ |
204 /*----------------------------------------------------------------------*/ | |
205 | |
206 #if defined (HAVE_MS_WINDOWS) | |
207 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
208 /* NOTE: #### problems with DEVMODE pointer in PRINTER_INFO_2 */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
209 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
210 qxeEnumPrinters (DWORD Flags, Extbyte * Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
211 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
212 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
213 return EnumPrintersW (Flags, (LPWSTR) Name, Level, pPrinterEnum, cbBuf, pcbNeeded, pcReturned); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
214 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
215 return EnumPrintersA (Flags, (LPSTR) Name, Level, pPrinterEnum, cbBuf, pcbNeeded, pcReturned); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
216 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
217 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
218 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
219 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
220 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
221 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
222 /* Skipping OpenPrinter because split-sized DEVMODE pointer in split PRINTER_DEFAULTS */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
223 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
224 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
225 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
226 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
227 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
228 /* Error if ResetPrinter used: split-sized DEVMODE pointer in split PRINTER_DEFAULTS */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
229 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
230 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
231 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
232 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
233 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
234 /* Error if SetJob used: split-sized DEVMODE pointer in split JOB_INFO_2 */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
235 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
236 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
237 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
238 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
239 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
240 /* Error if GetJob used: split-sized DEVMODE pointer in split JOB_INFO_2 */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
241 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
242 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
243 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
244 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
245 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
246 /* Error if EnumJobs used: split-sized DEVMODE pointer in split JOB_INFO_2 */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
247 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
248 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
249 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
250 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
251 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
252 /* Error if AddPrinter used: split-sized DEVMODE pointer in split PRINTER_INFO_2 */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
253 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
254 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
255 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
256 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
257 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
258 /* Error if SetPrinter used: split-sized DEVMODE pointer in split PRINTER_INFO_2 */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
259 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
260 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
261 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
262 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
263 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
264 /* Error if GetPrinter used: split-sized DEVMODE pointer in split PRINTER_INFO_2 */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
265 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
266 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
267 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
268 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
269 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
270 /* Error if AddPrinterDriver used: not used, complicated interface with split structures */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
271 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
272 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
273 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
274 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
275 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
276 /* Error if AddPrinterDriverEx used: not used, complicated interface with split structures */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
277 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
278 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
279 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
280 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
281 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
282 /* Error if EnumPrinterDrivers used: not used, complicated interface with split structures */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
283 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
284 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
285 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
286 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
287 |
771 | 288 /* Error if GetPrinterDriver used: not used, complicated interface with split structures */ |
289 | |
290 #endif /* defined (HAVE_MS_WINDOWS) */ | |
291 | |
292 #if defined (HAVE_MS_WINDOWS) | |
293 | |
294 /* Error if GetPrinterDriverDirectory used: not used, complicated interface with split structures */ | |
295 | |
296 #endif /* defined (HAVE_MS_WINDOWS) */ | |
297 | |
298 #if defined (HAVE_MS_WINDOWS) | |
299 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
300 /* Error if DeletePrinterDriver used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
301 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
302 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
303 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
304 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
305 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
306 /* Error if DeletePrinterDriverEx used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
307 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
308 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
309 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
310 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
311 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
312 /* Error if AddPrintProcessor used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
313 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
314 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
315 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
316 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
317 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
318 /* Error if EnumPrintProcessors used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
319 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
320 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
321 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
322 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
323 |
771 | 324 /* Error if GetPrintProcessorDirectory used: not used, complicated interface with split structures */ |
325 | |
326 #endif /* defined (HAVE_MS_WINDOWS) */ | |
327 | |
328 #if defined (HAVE_MS_WINDOWS) | |
329 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
330 /* Error if EnumPrintProcessorDatatypes used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
331 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
332 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
333 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
334 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
335 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
336 /* Error if DeletePrintProcessor used: not used, complicated interface with split structures */ |
771 | 337 |
338 #endif /* defined (HAVE_MS_WINDOWS) */ | |
339 | |
340 #if defined (HAVE_MS_WINDOWS) | |
341 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
342 /* Error if StartDocPrinter used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
343 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
344 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
345 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
346 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
347 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
348 /* Error if AddJob used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
349 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
350 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
351 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
352 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
353 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
354 /* Skipping DocumentProperties because split-sized DEVMODE, error in Cygwin prototype */ |
771 | 355 |
356 #endif /* defined (HAVE_MS_WINDOWS) */ | |
357 | |
358 #if defined (HAVE_MS_WINDOWS) | |
359 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
360 /* Error if AdvancedDocumentProperties used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
361 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
362 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
363 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
364 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
365 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
366 /* Error if GetPrinterData used: not used, complicated interface with split structures */ |
771 | 367 |
368 #endif /* defined (HAVE_MS_WINDOWS) */ | |
369 | |
370 #if defined (HAVE_MS_WINDOWS) | |
371 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
372 /* Error if GetPrinterDataEx used: not used, complicated interface with split structures */ |
771 | 373 |
374 #endif /* defined (HAVE_MS_WINDOWS) */ | |
375 | |
376 #if defined (HAVE_MS_WINDOWS) | |
377 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
378 /* Error if EnumPrinterData used: not used, complicated interface with split structures */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
379 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
380 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
381 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
382 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
383 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
384 /* Error if EnumPrinterDataEx used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
385 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
386 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
387 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
388 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
389 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
390 /* Error if EnumPrinterKey used: not used, complicated interface with split structures */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
391 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
392 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
393 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
394 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
395 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
396 /* Error if SetPrinterData used: not used, complicated interface with split structures */ |
771 | 397 |
398 #endif /* defined (HAVE_MS_WINDOWS) */ | |
399 | |
400 #if defined (HAVE_MS_WINDOWS) | |
401 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
402 /* Error if SetPrinterDataEx used: not used, complicated interface with split structures */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
403 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
404 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
405 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
406 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
407 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
408 /* Error if DeletePrinterData used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
409 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
410 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
411 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
412 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
413 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
414 /* Error if DeletePrinterDataEx used: not used, complicated interface with split structures */ |
771 | 415 |
416 #endif /* defined (HAVE_MS_WINDOWS) */ | |
417 | |
418 #if defined (HAVE_MS_WINDOWS) | |
419 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
420 /* Error if DeletePrinterKey used: not used, complicated interface with split structures */ |
771 | 421 |
422 #endif /* defined (HAVE_MS_WINDOWS) */ | |
423 | |
424 #if defined (HAVE_MS_WINDOWS) | |
425 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
426 /* Error if PrinterMessageBox used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
427 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
428 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
429 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
430 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
431 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
432 /* Error if AddForm used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
433 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
434 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
435 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
436 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
437 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
438 /* Error if DeleteForm used: not used, complicated interface with split structures */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
439 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
440 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
441 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
442 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
443 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
444 /* Error if GetForm used: not used, complicated interface with split structures */ |
771 | 445 |
446 #endif /* defined (HAVE_MS_WINDOWS) */ | |
447 | |
448 #if defined (HAVE_MS_WINDOWS) | |
449 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
450 /* Error if SetForm used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
451 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
452 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
453 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
454 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
455 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
456 /* Error if EnumForms used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
457 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
458 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
459 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
460 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
461 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
462 /* Error if EnumMonitors used: not used, complicated interface with split structures */ |
771 | 463 |
464 #endif /* defined (HAVE_MS_WINDOWS) */ | |
465 | |
466 #if defined (HAVE_MS_WINDOWS) | |
467 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
468 /* Error if AddMonitor used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
469 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
470 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
471 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
472 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
473 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
474 /* Error if DeleteMonitor used: not used, complicated interface with split structures */ |
771 | 475 |
476 #endif /* defined (HAVE_MS_WINDOWS) */ | |
477 | |
478 #if defined (HAVE_MS_WINDOWS) | |
479 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
480 /* Error if EnumPorts used: not used, complicated interface with split structures */ |
771 | 481 |
482 #endif /* defined (HAVE_MS_WINDOWS) */ | |
483 | |
484 #if defined (HAVE_MS_WINDOWS) | |
485 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
486 /* Error if AddPort used: not used, complicated interface with split structures */ |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
487 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
488 #endif /* defined (HAVE_MS_WINDOWS) */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
489 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
490 #if defined (HAVE_MS_WINDOWS) |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
491 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
492 /* Error if ConfigurePort used: not used, complicated interface with split structures */ |
771 | 493 |
494 #endif /* defined (HAVE_MS_WINDOWS) */ | |
495 | |
496 #if defined (HAVE_MS_WINDOWS) | |
497 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
498 /* Error if DeletePort used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
499 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
500 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
501 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
502 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
503 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
504 /* Error if XcvData used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
505 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
506 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
507 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
508 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
509 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
510 /* Error if GetDefaultPrinter used: Function needs review to determine how to handle it */ |
771 | 511 |
512 #endif /* defined (HAVE_MS_WINDOWS) */ | |
513 | |
514 #if defined (HAVE_MS_WINDOWS) | |
515 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
516 /* Error if SetDefaultPrinter used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
517 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
518 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
519 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
520 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
521 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
522 /* Error if SetPort used: not used, complicated interface with split structures */ |
771 | 523 |
524 #endif /* defined (HAVE_MS_WINDOWS) */ | |
525 | |
526 #if defined (HAVE_MS_WINDOWS) | |
527 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
528 /* Error if AddPrinterConnection used: not used, complicated interface with split structures */ |
771 | 529 |
530 #endif /* defined (HAVE_MS_WINDOWS) */ | |
531 | |
532 #if defined (HAVE_MS_WINDOWS) | |
533 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
534 /* Error if DeletePrinterConnection used: not used, complicated interface with split structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
535 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
536 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
537 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
538 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
539 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
540 /* Error if AddPrintProvidor used: not used, complicated interface with split structures */ |
771 | 541 |
542 #endif /* defined (HAVE_MS_WINDOWS) */ | |
543 | |
544 #if defined (HAVE_MS_WINDOWS) | |
545 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
546 /* Error if DeletePrintProvidor used: not used, complicated interface with split structures */ |
771 | 547 |
548 #endif /* defined (HAVE_MS_WINDOWS) */ | |
549 | |
550 #if defined (HAVE_MS_WINDOWS) | |
551 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
552 /* Error if AddPrinterConnection2 used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
553 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
554 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
555 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
556 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
557 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
558 /* Error if DeletePrinterDriverPackage used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
559 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
560 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
561 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
562 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
563 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
564 /* Error if DocumentEvent used: HST: new? -- needs review */ |
771 | 565 |
566 #endif /* defined (HAVE_MS_WINDOWS) */ | |
567 | |
568 #if defined (HAVE_MS_WINDOWS) | |
569 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
570 /* Error if GetCorePrinterDrivers used: HST: new? -- needs review */ |
771 | 571 |
572 #endif /* defined (HAVE_MS_WINDOWS) */ | |
573 | |
574 #if defined (HAVE_MS_WINDOWS) | |
575 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
576 /* Error if GetPrinterDriver2 used: HST: new? -- needs review */ |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
577 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
578 #endif /* defined (HAVE_MS_WINDOWS) */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
579 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
580 #if defined (HAVE_MS_WINDOWS) |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
581 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
582 /* Error if GetPrinterDriverPackagePath used: HST: new? -- needs review */ |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
583 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
584 #endif /* defined (HAVE_MS_WINDOWS) */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
585 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
586 #if defined (HAVE_MS_WINDOWS) |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
587 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
588 /* Error if GetSpoolFileHandle used: HST: new? -- needs review */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
589 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
590 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
591 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
592 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
593 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
594 /* Error if OpenPrinter2 used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
595 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
596 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
597 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
598 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
599 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
600 /* Error if UploadPrinterDriverPackage used: HST: new? -- needs review */ |
771 | 601 |
602 #endif /* defined (HAVE_MS_WINDOWS) */ | |
603 | |
604 | |
605 /*----------------------------------------------------------------------*/ | |
606 /* Processing file WINUSER.H */ | |
607 /*----------------------------------------------------------------------*/ | |
608 | |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
609 int |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
610 qxewvsprintf (Extbyte * arg1, const Extbyte * arg2, va_list arglist) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
611 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
612 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
613 return wvsprintfW ((LPWSTR) arg1, (LPCWSTR) arg2, arglist); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
614 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
615 return wvsprintfA ((LPSTR) arg1, (LPCSTR) arg2, arglist); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
616 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
617 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
618 HKL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
619 qxeLoadKeyboardLayout (const Extbyte * pwszKLID, UINT Flags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
620 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
621 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
622 return LoadKeyboardLayoutW ((LPCWSTR) pwszKLID, Flags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
623 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
624 return LoadKeyboardLayoutA ((LPCSTR) pwszKLID, Flags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
625 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
626 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
627 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
628 qxeGetKeyboardLayoutName (Extbyte * pwszKLID) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
629 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
630 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
631 return GetKeyboardLayoutNameW ((LPWSTR) pwszKLID); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
632 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
633 return GetKeyboardLayoutNameA ((LPSTR) pwszKLID); |
771 | 634 } |
635 | |
636 /* Error if CreateDesktop used: split-sized LPDEVMODE */ | |
637 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
638 HDESK |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
639 qxeOpenDesktop (const Extbyte * lpszDesktop, DWORD dwFlags, WINBOOL fInherit, ACCESS_MASK dwDesiredAccess) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
640 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
641 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
642 return OpenDesktopW ((LPCWSTR) lpszDesktop, dwFlags, fInherit, dwDesiredAccess); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
643 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
644 return OpenDesktopA ((LPCSTR) lpszDesktop, dwFlags, fInherit, dwDesiredAccess); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
645 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
646 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
647 /* NOTE: // callback fun differs only in string pointer type */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
648 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
649 qxeEnumDesktops (HWINSTA hwinsta, DESKTOPENUMPROCW lpEnumFunc, LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
650 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
651 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
652 return EnumDesktopsW (hwinsta, lpEnumFunc, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
653 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
654 return EnumDesktopsA (hwinsta, (DESKTOPENUMPROCA) lpEnumFunc, lParam); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
655 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
656 |
4903
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
657 /* NOTE: error arg 1, VS6 prototype, missing const. |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
658 NOTE: Prototype manually overridden. |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
659 Header file claims: |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
660 WINUSERAPI HWINSTA WINAPI CreateWindowStation(LPCWSTR lpwinsta,DWORD dwFlags,ACCESS_MASK dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa) |
4903
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
661 Overridden with: |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
662 HWINSTA CreateWindowStation(LPWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES) |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
663 Differences in return-type qualifiers, e.g. WINAPI, are not important. |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
664 */ |
771 | 665 HWINSTA |
4903
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
666 qxeCreateWindowStation (Extbyte * arg1, DWORD arg2, DWORD arg3, LPSECURITY_ATTRIBUTES arg4) |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
667 { |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
668 if (XEUNICODE_P) |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
669 return CreateWindowStationW ((LPWSTR) arg1, arg2, arg3, arg4); |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
670 else |
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
671 return CreateWindowStationA ((LPSTR) arg1, arg2, arg3, arg4); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
672 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
673 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
674 HWINSTA |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
675 qxeOpenWindowStation (const Extbyte * lpszWinSta, WINBOOL fInherit, ACCESS_MASK dwDesiredAccess) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
676 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
677 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
678 return OpenWindowStationW ((LPCWSTR) lpszWinSta, fInherit, dwDesiredAccess); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
679 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
680 return OpenWindowStationA ((LPCSTR) lpszWinSta, fInherit, dwDesiredAccess); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
681 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
682 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
683 /* NOTE: // callback fun differs only in string pointer type */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
684 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
685 qxeEnumWindowStations (WINSTAENUMPROCW lpEnumFunc, LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
686 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
687 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
688 return EnumWindowStationsW (lpEnumFunc, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
689 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
690 return EnumWindowStationsA ((WINSTAENUMPROCA) lpEnumFunc, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
691 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
692 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
693 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
694 qxeGetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength, LPDWORD lpnLengthNeeded) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
695 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
696 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
697 return GetUserObjectInformationW (hObj, nIndex, pvInfo, nLength, lpnLengthNeeded); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
698 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
699 return GetUserObjectInformationA (hObj, nIndex, pvInfo, nLength, lpnLengthNeeded); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
700 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
701 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
702 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
703 qxeSetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
704 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
705 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
706 return SetUserObjectInformationW (hObj, nIndex, pvInfo, nLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
707 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
708 return SetUserObjectInformationA (hObj, nIndex, pvInfo, nLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
709 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
710 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
711 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
712 qxeRegisterWindowMessage (const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
713 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
714 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
715 return RegisterWindowMessageW ((LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
716 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
717 return RegisterWindowMessageA ((LPCSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
718 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
719 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
720 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
721 qxeGetMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
722 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
723 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
724 return GetMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
725 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
726 return GetMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
727 } |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
728 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
729 LRESULT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
730 qxeDispatchMessage (CONST MSG * lpMsg) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
731 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
732 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
733 return DispatchMessageW (lpMsg); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
734 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
735 return DispatchMessageA (lpMsg); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
736 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
737 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
738 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
739 qxePeekMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT wRemoveMsg) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
740 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
741 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
742 return PeekMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
743 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
744 return PeekMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
745 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
746 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
747 /* Skipping SendMessage because split messages and structures */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
748 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
749 /* Error if SendMessageTimeout used: VS6 has erroneous seventh parameter DWORD_PTR instead of PDWORD_PTR */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
750 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
751 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
752 qxeSendNotifyMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
753 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
754 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
755 return SendNotifyMessageW (hWnd, Msg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
756 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
757 return SendNotifyMessageA (hWnd, Msg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
758 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
759 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
760 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
761 qxeSendMessageCallback (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, SENDASYNCPROC lpResultCallBack, ULONG_PTR dwData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
762 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
763 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
764 return SendMessageCallbackW (hWnd, Msg, wParam, lParam, lpResultCallBack, dwData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
765 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
766 return SendMessageCallbackA (hWnd, Msg, wParam, lParam, lpResultCallBack, dwData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
767 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
768 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
769 /* Error if BroadcastSystemMessageEx used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
770 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
771 /* Error if BroadcastSystemMessage used: win95 version not split; NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
772 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
773 /* Error if RegisterDeviceNotification used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
774 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
775 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
776 qxePostMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
777 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
778 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
779 return PostMessageW (hWnd, Msg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
780 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
781 return PostMessageA (hWnd, Msg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
782 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
783 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
784 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
785 qxePostThreadMessage (DWORD idThread, UINT Msg, WPARAM wParam, LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
786 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
787 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
788 return PostThreadMessageW (idThread, Msg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
789 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
790 return PostThreadMessageA (idThread, Msg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
791 } |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
792 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
793 /* Skipping DefWindowProc because return value is conditionalized on _MAC, messes up parser */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
794 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
795 /* Error if CallWindowProc used: two versions, STRICT and non-STRICT */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
796 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
797 /* Skipping RegisterClass because need to intercept so we can provide our own window procedure and handle split notify messages; split-simple WNDCLASS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
798 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
799 /* Skipping UnregisterClass because need to intercept for reasons related to RegisterClass */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
800 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
801 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
802 qxeGetClassInfo (HINSTANCE hInstance, const Extbyte * lpClassName, LPWNDCLASSW lpWndClass) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
803 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
804 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
805 return GetClassInfoW (hInstance, (LPCWSTR) lpClassName, lpWndClass); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
806 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
807 return GetClassInfoA (hInstance, (LPCSTR) lpClassName, (LPWNDCLASSA) lpWndClass); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
808 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
809 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
810 /* Skipping RegisterClassEx because need to intercept so we can provide our own window procedure and handle split notify messages; split-simple WNDCLASSEX; NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
811 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
812 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
813 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
814 qxeGetClassInfoEx (HINSTANCE hInstance, const Extbyte * lpszClass, LPWNDCLASSEXW lpwcx) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
815 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
816 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
817 return GetClassInfoExW (hInstance, (LPCWSTR) lpszClass, lpwcx); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
818 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
819 return GetClassInfoExA (hInstance, (LPCSTR) lpszClass, (LPWNDCLASSEXA) lpwcx); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
820 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
821 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
822 HWND |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
823 qxeCreateWindowEx (DWORD dwExStyle, const Extbyte * lpClassName, const Extbyte * lpWindowName, DWORD dwStyle, int X, int Y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
824 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
825 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
826 return CreateWindowExW (dwExStyle, (LPCWSTR) lpClassName, (LPCWSTR) lpWindowName, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
827 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
828 return CreateWindowExA (dwExStyle, (LPCSTR) lpClassName, (LPCSTR) lpWindowName, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
829 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
830 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
831 HWND |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
832 qxeCreateDialogParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
833 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
834 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
835 return CreateDialogParamW (hInstance, (LPCWSTR) lpTemplateName, hWndParent, lpDialogFunc, dwInitParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
836 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
837 return CreateDialogParamA (hInstance, (LPCSTR) lpTemplateName, hWndParent, lpDialogFunc, dwInitParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
838 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
839 |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
840 /* NOTE: error in Cygwin prototype (no split) but fixable with typedef */ |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
841 HWND |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
842 qxeCreateDialogIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW lpTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
843 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
844 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
845 return CreateDialogIndirectParamW (hInstance, lpTemplate, hWndParent, lpDialogFunc, dwInitParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
846 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
847 return CreateDialogIndirectParamA (hInstance, (LPCDLGTEMPLATEA) lpTemplate, hWndParent, lpDialogFunc, dwInitParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
848 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
849 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
850 INT_PTR |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
851 qxeDialogBoxParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
852 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
853 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
854 return DialogBoxParamW (hInstance, (LPCWSTR) lpTemplateName, hWndParent, lpDialogFunc, dwInitParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
855 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
856 return DialogBoxParamA (hInstance, (LPCSTR) lpTemplateName, hWndParent, lpDialogFunc, dwInitParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
857 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
858 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
859 /* NOTE: error in Cygwin prototype (no split) but fixable with typedef */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
860 INT_PTR |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
861 qxeDialogBoxIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW hDialogTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
862 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
863 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
864 return DialogBoxIndirectParamW (hInstance, hDialogTemplate, hWndParent, lpDialogFunc, dwInitParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
865 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
866 return DialogBoxIndirectParamA (hInstance, (LPCDLGTEMPLATEA) hDialogTemplate, hWndParent, lpDialogFunc, dwInitParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
867 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
868 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
869 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
870 qxeSetDlgItemText (HWND hDlg, int nIDDlgItem, const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
871 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
872 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
873 return SetDlgItemTextW (hDlg, nIDDlgItem, (LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
874 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
875 return SetDlgItemTextA (hDlg, nIDDlgItem, (LPCSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
876 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
877 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
878 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
879 qxeGetDlgItemText (HWND hDlg, int nIDDlgItem, Extbyte * lpString, int cchMax) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
880 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
881 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
882 return GetDlgItemTextW (hDlg, nIDDlgItem, (LPWSTR) lpString, cchMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
883 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
884 return GetDlgItemTextA (hDlg, nIDDlgItem, (LPSTR) lpString, cchMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
885 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
886 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
887 LRESULT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
888 qxeSendDlgItemMessage (HWND hDlg, int nIDDlgItem, UINT Msg, WPARAM wParam, LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
889 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
890 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
891 return SendDlgItemMessageW (hDlg, nIDDlgItem, Msg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
892 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
893 return SendDlgItemMessageA (hDlg, nIDDlgItem, Msg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
894 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
895 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
896 /* Error if DefDlgProc used: return value is conditionalized on _MAC, messes up parser */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
897 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
898 #if !defined (CYGWIN_HEADERS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
899 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
900 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
901 qxeCallMsgFilter (LPMSG lpMsg, int nCode) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
902 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
903 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
904 return CallMsgFilterW (lpMsg, nCode); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
905 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
906 return CallMsgFilterA (lpMsg, nCode); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
907 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
908 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
909 #endif /* !defined (CYGWIN_HEADERS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
910 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
911 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
912 qxeRegisterClipboardFormat (const Extbyte * lpszFormat) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
913 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
914 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
915 return RegisterClipboardFormatW ((LPCWSTR) lpszFormat); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
916 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
917 return RegisterClipboardFormatA ((LPCSTR) lpszFormat); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
918 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
919 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
920 int |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
921 qxeGetClipboardFormatName (UINT format, Extbyte * lpszFormatName, int cchMaxCount) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
922 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
923 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
924 return GetClipboardFormatNameW (format, (LPWSTR) lpszFormatName, cchMaxCount); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
925 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
926 return GetClipboardFormatNameA (format, (LPSTR) lpszFormatName, cchMaxCount); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
927 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
928 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
929 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
930 qxeCharToOem (const Extbyte * lpszSrc, LPSTR lpszDst) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
931 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
932 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
933 return CharToOemW ((LPCWSTR) lpszSrc, lpszDst); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
934 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
935 return CharToOemA ((LPCSTR) lpszSrc, lpszDst); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
936 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
937 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
938 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
939 qxeOemToChar (LPCSTR lpszSrc, Extbyte * lpszDst) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
940 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
941 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
942 return OemToCharW (lpszSrc, (LPWSTR) lpszDst); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
943 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
944 return OemToCharA (lpszSrc, (LPSTR) lpszDst); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
945 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
946 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
947 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
948 qxeCharToOemBuff (const Extbyte * lpszSrc, LPSTR lpszDst, DWORD cchDstLength) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
949 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
950 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
951 return CharToOemBuffW ((LPCWSTR) lpszSrc, lpszDst, cchDstLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
952 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
953 return CharToOemBuffA ((LPCSTR) lpszSrc, lpszDst, cchDstLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
954 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
955 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
956 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
957 qxeOemToCharBuff (LPCSTR lpszSrc, Extbyte * lpszDst, DWORD cchDstLength) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
958 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
959 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
960 return OemToCharBuffW (lpszSrc, (LPWSTR) lpszDst, cchDstLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
961 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
962 return OemToCharBuffA (lpszSrc, (LPSTR) lpszDst, cchDstLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
963 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
964 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
965 Extbyte * |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
966 qxeCharUpper (Extbyte * lpsz) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
967 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
968 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
969 return (Extbyte *) CharUpperW ((LPWSTR) lpsz); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
970 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
971 return (Extbyte *) CharUpperA ((LPSTR) lpsz); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
972 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
973 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
974 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
975 qxeCharUpperBuff (Extbyte * lpsz, DWORD cchLength) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
976 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
977 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
978 return CharUpperBuffW ((LPWSTR) lpsz, cchLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
979 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
980 return CharUpperBuffA ((LPSTR) lpsz, cchLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
981 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
982 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
983 Extbyte * |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
984 qxeCharLower (Extbyte * lpsz) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
985 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
986 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
987 return (Extbyte *) CharLowerW ((LPWSTR) lpsz); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
988 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
989 return (Extbyte *) CharLowerA ((LPSTR) lpsz); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
990 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
991 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
992 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
993 qxeCharLowerBuff (Extbyte * lpsz, DWORD cchLength) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
994 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
995 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
996 return CharLowerBuffW ((LPWSTR) lpsz, cchLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
997 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
998 return CharLowerBuffA ((LPSTR) lpsz, cchLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
999 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1000 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1001 Extbyte * |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1002 qxeCharNext (const Extbyte * lpsz) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1003 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1004 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1005 return (Extbyte *) CharNextW ((LPCWSTR) lpsz); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1006 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1007 return (Extbyte *) CharNextA ((LPCSTR) lpsz); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1008 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1009 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1010 Extbyte * |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1011 qxeCharPrev (const Extbyte * lpszStart, const Extbyte * lpszCurrent) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1012 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1013 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1014 return (Extbyte *) CharPrevW ((LPCWSTR) lpszStart, (LPCWSTR) lpszCurrent); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1015 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1016 return (Extbyte *) CharPrevA ((LPCSTR) lpszStart, (LPCSTR) lpszCurrent); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1017 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1018 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1019 /* Error if IsCharAlpha used: split CHAR */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1020 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1021 /* Error if IsCharAlphaNumeric used: split CHAR */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1022 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1023 /* Error if IsCharUpper used: split CHAR */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1024 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1025 /* Error if IsCharLower used: split CHAR */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1026 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1027 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1028 qxeGetKeyNameText (LONG lParam, Extbyte * lpString, int cchSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1029 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1030 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1031 return GetKeyNameTextW (lParam, (LPWSTR) lpString, cchSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1032 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1033 return GetKeyNameTextA (lParam, (LPSTR) lpString, cchSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1034 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1035 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1036 /* Skipping VkKeyScan because split CHAR */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1037 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1038 /* Error if VkKeyScanEx used: split CHAR; NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1039 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1040 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1041 qxeMapVirtualKey (UINT uCode, UINT uMapType) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1042 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1043 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1044 return MapVirtualKeyW (uCode, uMapType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1045 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1046 return MapVirtualKeyA (uCode, uMapType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1047 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1048 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1049 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1050 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1051 qxeMapVirtualKeyEx (UINT uCode, UINT uMapType, HKL dwhkl) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1052 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1053 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1054 return MapVirtualKeyExW (uCode, uMapType, dwhkl); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1055 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1056 return MapVirtualKeyExA (uCode, uMapType, dwhkl); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1057 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1058 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1059 HACCEL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1060 qxeLoadAccelerators (HINSTANCE hInstance, const Extbyte * lpTableName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1061 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1062 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1063 return LoadAcceleratorsW (hInstance, (LPCWSTR) lpTableName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1064 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1065 return LoadAcceleratorsA (hInstance, (LPCSTR) lpTableName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1066 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1067 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1068 HACCEL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1069 qxeCreateAcceleratorTable (LPACCEL paccel, int cAccel) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1070 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1071 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1072 return CreateAcceleratorTableW (paccel, cAccel); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1073 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1074 return CreateAcceleratorTableA (paccel, cAccel); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1075 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1076 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1077 int |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1078 qxeCopyAcceleratorTable (HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1079 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1080 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1081 return CopyAcceleratorTableW (hAccelSrc, lpAccelDst, cAccelEntries); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1082 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1083 return CopyAcceleratorTableA (hAccelSrc, lpAccelDst, cAccelEntries); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1084 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1085 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1086 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1087 qxeTranslateAccelerator (HWND hWnd, HACCEL hAccTable, LPMSG lpMsg) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1088 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1089 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1090 return TranslateAcceleratorW (hWnd, hAccTable, lpMsg); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1091 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1092 return TranslateAcceleratorA (hWnd, hAccTable, lpMsg); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1093 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1094 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1095 HMENU |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1096 qxeLoadMenu (HINSTANCE hInstance, const Extbyte * lpMenuName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1097 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1098 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1099 return LoadMenuW (hInstance, (LPCWSTR) lpMenuName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1100 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1101 return LoadMenuA (hInstance, (LPCSTR) lpMenuName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1102 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1103 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1104 HMENU |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1105 qxeLoadMenuIndirect (CONST MENUTEMPLATEW * lpMenuTemplate) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1106 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1107 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1108 return LoadMenuIndirectW (lpMenuTemplate); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1109 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1110 return LoadMenuIndirectA ((CONST MENUTEMPLATEA *) lpMenuTemplate); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1111 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1112 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1113 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1114 qxeChangeMenu (HMENU hMenu, UINT cmd, const Extbyte * lpszNewItem, UINT cmdInsert, UINT flags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1115 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1116 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1117 return ChangeMenuW (hMenu, cmd, (LPCWSTR) lpszNewItem, cmdInsert, flags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1118 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1119 return ChangeMenuA (hMenu, cmd, (LPCSTR) lpszNewItem, cmdInsert, flags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1120 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1121 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1122 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1123 qxeGetMenuString (HMENU hMenu, UINT uIDItem, Extbyte * lpString, int cchMax, UINT flags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1124 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1125 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1126 return GetMenuStringW (hMenu, uIDItem, (LPWSTR) lpString, cchMax, flags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1127 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1128 return GetMenuStringA (hMenu, uIDItem, (LPSTR) lpString, cchMax, flags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1129 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1130 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1131 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1132 qxeInsertMenu (HMENU hMenu, UINT uPosition, UINT uFlags, UINT_PTR uIDNewItem, const Extbyte * lpNewItem) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1133 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1134 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1135 return InsertMenuW (hMenu, uPosition, uFlags, uIDNewItem, (LPCWSTR) lpNewItem); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1136 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1137 return InsertMenuA (hMenu, uPosition, uFlags, uIDNewItem, (LPCSTR) lpNewItem); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1138 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1139 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1140 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1141 qxeAppendMenu (HMENU hMenu, UINT uFlags, UINT_PTR uIDNewItem, const Extbyte * lpNewItem) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1142 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1143 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1144 return AppendMenuW (hMenu, uFlags, uIDNewItem, (LPCWSTR) lpNewItem); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1145 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1146 return AppendMenuA (hMenu, uFlags, uIDNewItem, (LPCSTR) lpNewItem); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1147 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1148 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1149 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1150 qxeModifyMenu (HMENU hMnu, UINT uPosition, UINT uFlags, UINT_PTR uIDNewItem, const Extbyte * lpNewItem) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1151 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1152 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1153 return ModifyMenuW (hMnu, uPosition, uFlags, uIDNewItem, (LPCWSTR) lpNewItem); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1154 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1155 return ModifyMenuA (hMnu, uPosition, uFlags, uIDNewItem, (LPCSTR) lpNewItem); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1156 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1157 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1158 /* NOTE: NT 4.0+ only */ |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1159 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1160 qxeInsertMenuItem (HMENU hmenu, UINT item, WINBOOL fByPosition, LPCMENUITEMINFOW lpmi) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1161 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1162 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1163 return InsertMenuItemW (hmenu, item, fByPosition, lpmi); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1164 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1165 return InsertMenuItemA (hmenu, item, fByPosition, (LPCMENUITEMINFOA) lpmi); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1166 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1167 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1168 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1169 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1170 qxeGetMenuItemInfo (HMENU hmenu, UINT item, WINBOOL fByPosition, LPMENUITEMINFOW lpmii) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1171 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1172 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1173 return GetMenuItemInfoW (hmenu, item, fByPosition, lpmii); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1174 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1175 return GetMenuItemInfoA (hmenu, item, fByPosition, (LPMENUITEMINFOA) lpmii); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1176 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1177 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1178 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1179 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1180 qxeSetMenuItemInfo (HMENU hmenu, UINT item, WINBOOL fByPositon, LPCMENUITEMINFOW lpmii) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1181 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1182 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1183 return SetMenuItemInfoW (hmenu, item, fByPositon, lpmii); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1184 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1185 return SetMenuItemInfoA (hmenu, item, fByPositon, (LPCMENUITEMINFOA) lpmii); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1186 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1187 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1188 int |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1189 qxeDrawText (HDC hdc, const Extbyte * lpchText, int cchText, LPRECT lprc, UINT format) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1190 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1191 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1192 return DrawTextW (hdc, (LPCWSTR) lpchText, cchText, lprc, format); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1193 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1194 return DrawTextA (hdc, (LPCSTR) lpchText, cchText, lprc, format); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1195 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1196 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1197 /* NOTE: NT 4.0+ only */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1198 int |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1199 qxeDrawTextEx (HDC hdc, Extbyte * lpchText, int cchText, LPRECT lprc, UINT format, LPDRAWTEXTPARAMS lpdtp) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1200 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1201 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1202 return DrawTextExW (hdc, (LPWSTR) lpchText, cchText, lprc, format, lpdtp); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1203 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1204 return DrawTextExA (hdc, (LPSTR) lpchText, cchText, lprc, format, lpdtp); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1205 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1206 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1207 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1208 qxeGrayString (HDC hDC, HBRUSH hBrush, GRAYSTRINGPROC lpOutputFunc, LPARAM lpData, int nCount, int X, int Y, int nWidth, int nHeight) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1209 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1210 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1211 return GrayStringW (hDC, hBrush, lpOutputFunc, lpData, nCount, X, Y, nWidth, nHeight); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1212 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1213 return GrayStringA (hDC, hBrush, lpOutputFunc, lpData, nCount, X, Y, nWidth, nHeight); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1214 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1215 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1216 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1217 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1218 qxeDrawState (HDC hdc, HBRUSH hbrFore, DRAWSTATEPROC qfnCallBack, LPARAM lData, WPARAM wData, int x, int y, int cx, int cy, UINT uFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1219 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1220 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1221 return DrawStateW (hdc, hbrFore, qfnCallBack, lData, wData, x, y, cx, cy, uFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1222 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1223 return DrawStateA (hdc, hbrFore, qfnCallBack, lData, wData, x, y, cx, cy, uFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1224 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1225 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1226 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1227 qxeTabbedTextOut (HDC hdc, int x, int y, const Extbyte * lpString, int chCount, int nTabPositions, CONST INT * lpnTabStopPositions, int nTabOrigin) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1228 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1229 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1230 return TabbedTextOutW (hdc, x, y, (LPCWSTR) lpString, chCount, nTabPositions, lpnTabStopPositions, nTabOrigin); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1231 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1232 return TabbedTextOutA (hdc, x, y, (LPCSTR) lpString, chCount, nTabPositions, lpnTabStopPositions, nTabOrigin); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1233 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1234 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1235 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1236 qxeGetTabbedTextExtent (HDC hdc, const Extbyte * lpString, int chCount, int nTabPositions, CONST INT * lpnTabStopPositions) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1237 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1238 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1239 return GetTabbedTextExtentW (hdc, (LPCWSTR) lpString, chCount, nTabPositions, lpnTabStopPositions); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1240 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1241 return GetTabbedTextExtentA (hdc, (LPCSTR) lpString, chCount, nTabPositions, lpnTabStopPositions); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1242 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1243 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1244 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1245 qxeSetProp (HWND hWnd, const Extbyte * lpString, HANDLE hData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1246 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1247 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1248 return SetPropW (hWnd, (LPCWSTR) lpString, hData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1249 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1250 return SetPropA (hWnd, (LPCSTR) lpString, hData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1251 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1252 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1253 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1254 qxeGetProp (HWND hWnd, const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1255 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1256 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1257 return GetPropW (hWnd, (LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1258 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1259 return GetPropA (hWnd, (LPCSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1260 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1261 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1262 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1263 qxeRemoveProp (HWND hWnd, const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1264 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1265 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1266 return RemovePropW (hWnd, (LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1267 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1268 return RemovePropA (hWnd, (LPCSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1269 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1270 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1271 /* NOTE: // callback fun differs only in string pointer type */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1272 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1273 qxeEnumPropsEx (HWND hWnd, PROPENUMPROCEXW lpEnumFunc, LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1274 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1275 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1276 return EnumPropsExW (hWnd, lpEnumFunc, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1277 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1278 return EnumPropsExA (hWnd, (PROPENUMPROCEXA) lpEnumFunc, lParam); |
771 | 1279 } |
1280 | |
1281 /* NOTE: // callback fun differs only in string pointer type */ | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1282 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1283 qxeEnumProps (HWND hWnd, PROPENUMPROCW lpEnumFunc) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1284 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1285 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1286 return EnumPropsW (hWnd, lpEnumFunc); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1287 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1288 return EnumPropsA (hWnd, (PROPENUMPROCA) lpEnumFunc); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1289 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1290 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1291 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1292 qxeSetWindowText (HWND hWnd, const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1293 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1294 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1295 return SetWindowTextW (hWnd, (LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1296 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1297 return SetWindowTextA (hWnd, (LPCSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1298 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1299 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1300 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1301 qxeGetWindowText (HWND hWnd, Extbyte * lpString, int nMaxCount) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1302 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1303 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1304 return GetWindowTextW (hWnd, (LPWSTR) lpString, nMaxCount); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1305 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1306 return GetWindowTextA (hWnd, (LPSTR) lpString, nMaxCount); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1307 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1308 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1309 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1310 qxeGetWindowTextLength (HWND hWnd) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1311 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1312 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1313 return GetWindowTextLengthW (hWnd); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1314 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1315 return GetWindowTextLengthA (hWnd); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1316 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1317 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1318 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1319 qxeMessageBox (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT uType) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1320 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1321 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1322 return MessageBoxW (hWnd, (LPCWSTR) lpText, (LPCWSTR) lpCaption, uType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1323 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1324 return MessageBoxA (hWnd, (LPCSTR) lpText, (LPCSTR) lpCaption, uType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1325 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1326 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1327 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1328 qxeMessageBoxEx (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT uType, WORD wLanguageId) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1329 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1330 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1331 return MessageBoxExW (hWnd, (LPCWSTR) lpText, (LPCWSTR) lpCaption, uType, wLanguageId); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1332 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1333 return MessageBoxExA (hWnd, (LPCSTR) lpText, (LPCSTR) lpCaption, uType, wLanguageId); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1334 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1335 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1336 /* Error if MessageBoxIndirect used: Cygwin has split MSGBOXPARAMS* instead of LPMSGBOXPARAMS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1337 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1338 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1339 qxeGetWindowLong (HWND hWnd, int nIndex) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1340 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1341 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1342 return GetWindowLongW (hWnd, nIndex); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1343 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1344 return GetWindowLongA (hWnd, nIndex); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1345 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1346 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1347 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1348 qxeSetWindowLong (HWND hWnd, int nIndex, LONG dwNewLong) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1349 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1350 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1351 return SetWindowLongW (hWnd, nIndex, dwNewLong); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1352 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1353 return SetWindowLongA (hWnd, nIndex, dwNewLong); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1354 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1355 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1356 LONG_PTR |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1357 qxeGetWindowLongPtr (HWND hWnd, int nIndex) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1358 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1359 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1360 return GetWindowLongPtrW (hWnd, nIndex); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1361 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1362 return GetWindowLongPtrA (hWnd, nIndex); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1363 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1364 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1365 LONG_PTR |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1366 qxeSetWindowLongPtr (HWND hWnd, int nIndex, LONG_PTR dwNewLong) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1367 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1368 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1369 return SetWindowLongPtrW (hWnd, nIndex, dwNewLong); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1370 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1371 return SetWindowLongPtrA (hWnd, nIndex, dwNewLong); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1372 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1373 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1374 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1375 qxeGetClassLong (HWND hWnd, int nIndex) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1376 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1377 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1378 return GetClassLongW (hWnd, nIndex); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1379 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1380 return GetClassLongA (hWnd, nIndex); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1381 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1382 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1383 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1384 qxeSetClassLong (HWND hWnd, int nIndex, LONG dwNewLong) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1385 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1386 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1387 return SetClassLongW (hWnd, nIndex, dwNewLong); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1388 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1389 return SetClassLongA (hWnd, nIndex, dwNewLong); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1390 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1391 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1392 /* Error if GetClassLongPtr used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1393 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1394 ULONG_PTR |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1395 qxeSetClassLongPtr (HWND hWnd, int nIndex, LONG_PTR dwNewLong) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1396 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1397 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1398 return SetClassLongPtrW (hWnd, nIndex, dwNewLong); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1399 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1400 return SetClassLongPtrA (hWnd, nIndex, dwNewLong); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1401 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1402 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1403 HWND |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1404 qxeFindWindow (const Extbyte * lpClassName, const Extbyte * lpWindowName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1405 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1406 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1407 return FindWindowW ((LPCWSTR) lpClassName, (LPCWSTR) lpWindowName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1408 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1409 return FindWindowA ((LPCSTR) lpClassName, (LPCSTR) lpWindowName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1410 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1411 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1412 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1413 HWND |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1414 qxeFindWindowEx (HWND hWndParent, HWND hWndChildAfter, const Extbyte * lpszClass, const Extbyte * lpszWindow) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1415 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1416 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1417 return FindWindowExW (hWndParent, hWndChildAfter, (LPCWSTR) lpszClass, (LPCWSTR) lpszWindow); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1418 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1419 return FindWindowExA (hWndParent, hWndChildAfter, (LPCSTR) lpszClass, (LPCSTR) lpszWindow); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1420 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1421 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1422 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1423 qxeGetClassName (HWND hWnd, Extbyte * lpClassName, int nMaxCount) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1424 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1425 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1426 return GetClassNameW (hWnd, (LPWSTR) lpClassName, nMaxCount); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1427 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1428 return GetClassNameA (hWnd, (LPSTR) lpClassName, nMaxCount); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1429 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1430 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1431 /* Error if SetWindowsHook used: obsolete; two versions, STRICT and non-STRICT */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1432 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1433 HHOOK |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1434 qxeSetWindowsHookEx (int idHook, HOOKPROC lpfn, HINSTANCE hmod, DWORD dwThreadId) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1435 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1436 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1437 return SetWindowsHookExW (idHook, lpfn, hmod, dwThreadId); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1438 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1439 return SetWindowsHookExA (idHook, lpfn, hmod, dwThreadId); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1440 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1441 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1442 HBITMAP |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1443 qxeLoadBitmap (HINSTANCE hInstance, const Extbyte * lpBitmapName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1444 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1445 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1446 return LoadBitmapW (hInstance, (LPCWSTR) lpBitmapName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1447 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1448 return LoadBitmapA (hInstance, (LPCSTR) lpBitmapName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1449 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1450 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1451 HCURSOR |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1452 qxeLoadCursor (HINSTANCE hInstance, const Extbyte * lpCursorName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1453 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1454 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1455 return LoadCursorW (hInstance, (LPCWSTR) lpCursorName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1456 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1457 return LoadCursorA (hInstance, (LPCSTR) lpCursorName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1458 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1459 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1460 HCURSOR |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1461 qxeLoadCursorFromFile (const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1462 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1463 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1464 return LoadCursorFromFileW ((LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1465 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1466 return LoadCursorFromFileA ((LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1467 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1468 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1469 HICON |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1470 qxeLoadIcon (HINSTANCE hInstance, const Extbyte * lpIconName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1471 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1472 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1473 return LoadIconW (hInstance, (LPCWSTR) lpIconName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1474 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1475 return LoadIconA (hInstance, (LPCSTR) lpIconName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1476 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1477 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1478 /* Error if PrivateExtractIcons used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1479 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1480 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1481 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1482 qxeLoadImage (HINSTANCE hInst, const Extbyte * name, UINT type, int cx, int cy, UINT fuLoad) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1483 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1484 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1485 return LoadImageW (hInst, (LPCWSTR) name, type, cx, cy, fuLoad); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1486 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1487 return LoadImageA (hInst, (LPCSTR) name, type, cx, cy, fuLoad); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1488 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1489 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1490 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1491 qxeIsDialogMessage (HWND hDlg, LPMSG lpMsg) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1492 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1493 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1494 return IsDialogMessageW (hDlg, lpMsg); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1495 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1496 return IsDialogMessageA (hDlg, lpMsg); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1497 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1498 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1499 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1500 qxeDlgDirList (HWND hDlg, Extbyte * lpPathSpec, int nIDListBox, int nIDStaticPath, UINT uFileType) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1501 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1502 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1503 return DlgDirListW (hDlg, (LPWSTR) lpPathSpec, nIDListBox, nIDStaticPath, uFileType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1504 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1505 return DlgDirListA (hDlg, (LPSTR) lpPathSpec, nIDListBox, nIDStaticPath, uFileType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1506 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1507 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1508 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1509 qxeDlgDirSelectEx (HWND hwndDlg, Extbyte * lpString, int chCount, int idListBox) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1510 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1511 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1512 return DlgDirSelectExW (hwndDlg, (LPWSTR) lpString, chCount, idListBox); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1513 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1514 return DlgDirSelectExA (hwndDlg, (LPSTR) lpString, chCount, idListBox); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1515 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1516 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1517 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1518 qxeDlgDirListComboBox (HWND hDlg, Extbyte * lpPathSpec, int nIDComboBox, int nIDStaticPath, UINT uFiletype) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1519 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1520 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1521 return DlgDirListComboBoxW (hDlg, (LPWSTR) lpPathSpec, nIDComboBox, nIDStaticPath, uFiletype); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1522 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1523 return DlgDirListComboBoxA (hDlg, (LPSTR) lpPathSpec, nIDComboBox, nIDStaticPath, uFiletype); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1524 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1525 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1526 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1527 qxeDlgDirSelectComboBoxEx (HWND hwndDlg, Extbyte * lpString, int cchOut, int idComboBox) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1528 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1529 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1530 return DlgDirSelectComboBoxExW (hwndDlg, (LPWSTR) lpString, cchOut, idComboBox); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1531 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1532 return DlgDirSelectComboBoxExA (hwndDlg, (LPSTR) lpString, cchOut, idComboBox); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1533 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1534 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1535 LRESULT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1536 qxeDefFrameProc (HWND hWnd, HWND hWndMDIClient, UINT uMsg, WPARAM wParam, LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1537 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1538 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1539 return DefFrameProcW (hWnd, hWndMDIClient, uMsg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1540 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1541 return DefFrameProcA (hWnd, hWndMDIClient, uMsg, wParam, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1542 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1543 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1544 /* Error if DefMDIChildProc used: return value is conditionalized on _MAC, messes up parser */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1545 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1546 /* NOTE: error arg 1, VS6 prototype, missing const. |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1547 NOTE: Prototype manually overridden. |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1548 Header file claims: |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1549 WINUSERAPI HWND WINAPI CreateMDIWindow(LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HINSTANCE hInstance,LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1550 Overridden with: |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1551 HWND CreateMDIWindow(LPWSTR,LPWSTR,DWORD,int,int,int,int,HWND,HINSTANCE,LPARAM) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1552 Differences in return-type qualifiers, e.g. WINAPI, are not important. |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1553 */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1554 HWND |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1555 qxeCreateMDIWindow (Extbyte * arg1, Extbyte * arg2, DWORD arg3, int arg4, int arg5, int arg6, int arg7, HWND arg8, HINSTANCE arg9, LPARAM arg10) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1556 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1557 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1558 return CreateMDIWindowW ((LPWSTR) arg1, (LPWSTR) arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1559 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1560 return CreateMDIWindowA ((LPSTR) arg1, (LPSTR) arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1561 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1562 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1563 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1564 qxeWinHelp (HWND hWndMain, const Extbyte * lpszHelp, UINT uCommand, ULONG_PTR dwData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1565 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1566 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1567 return WinHelpW (hWndMain, (LPCWSTR) lpszHelp, uCommand, dwData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1568 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1569 return WinHelpA (hWndMain, (LPCSTR) lpszHelp, uCommand, dwData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1570 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1571 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1572 /* Error if ChangeDisplaySettings used: split-sized LPDEVMODE */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1573 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1574 /* Error if ChangeDisplaySettingsEx used: split-sized LPDEVMODE; NT 5.0/Win98+ only */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1575 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1576 /* Error if EnumDisplaySettings used: split-sized LPDEVMODE */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1577 |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
1578 /* Error if EnumDisplaySettingsEx used: Function needs review to determine how to handle it */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
1579 |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1580 /* Error if EnumDisplayDevices used: split-sized PDISPLAY_DEVICE; NT 5.0+ only, no Win98 */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1581 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1582 /* NOTE: probs w/ICONMETRICS, NONCLIENTMETRICS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1583 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1584 qxeSystemParametersInfo (UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1585 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1586 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1587 return SystemParametersInfoW (uiAction, uiParam, pvParam, fWinIni); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1588 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1589 return SystemParametersInfoA (uiAction, uiParam, pvParam, fWinIni); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1590 } |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1591 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1592 /* Error if GetMonitorInfo used: NT 5.0/Win98+ only */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1593 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1594 /* Error if GetWindowModuleFileName used: NT 5.0+ only */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1595 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1596 /* Error if RealGetWindowClass used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1597 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1598 /* Error if GetAltTabInfo used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1599 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1600 /* Error if GetRawInputDeviceInfo used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1601 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1602 /* Error if CreateDesktopEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1603 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1604 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1605 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1606 /* Processing file SYNCHAPI.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1607 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1608 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1609 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1610 qxeOpenMutex (DWORD dwDesiredAccess, WINBOOL bInheritHandle, const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1611 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1612 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1613 return OpenMutexW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1614 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1615 return OpenMutexA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1616 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1617 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1618 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1619 qxeOpenEvent (DWORD dwDesiredAccess, WINBOOL bInheritHandle, const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1620 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1621 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1622 return OpenEventW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1623 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1624 return OpenEventA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1625 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1626 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1627 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1628 qxeOpenSemaphore (DWORD dwDesiredAccess, WINBOOL bInheritHandle, const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1629 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1630 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1631 return OpenSemaphoreW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1632 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1633 return OpenSemaphoreA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1634 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1635 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1636 /* Error if SleepConditionVariableSR used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1637 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1638 /* Error if CreateMutexEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1639 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1640 /* Error if CreateEventEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1641 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1642 /* Error if CreateSemaphoreEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1643 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1644 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1645 qxeCreateMutex (LPSECURITY_ATTRIBUTES lpMutexAttributes, WINBOOL bInitialOwner, const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1646 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1647 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1648 return CreateMutexW (lpMutexAttributes, bInitialOwner, (LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1649 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1650 return CreateMutexA (lpMutexAttributes, bInitialOwner, (LPCSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1651 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1652 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1653 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1654 qxeCreateEvent (LPSECURITY_ATTRIBUTES lpEventAttributes, WINBOOL bManualReset, WINBOOL bInitialState, const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1655 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1656 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1657 return CreateEventW (lpEventAttributes, bManualReset, bInitialState, (LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1658 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1659 return CreateEventA (lpEventAttributes, bManualReset, bInitialState, (LPCSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1660 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1661 |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1662 HANDLE |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1663 qxeOpenWaitableTimer (DWORD dwDesiredAccess, WINBOOL bInheritHandle, const Extbyte * lpTimerName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1664 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1665 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1666 return OpenWaitableTimerW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpTimerName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1667 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1668 return OpenWaitableTimerA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpTimerName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1669 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1670 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1671 /* Error if CreateWaitableTimerEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1672 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1673 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1674 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1675 /* Processing file SECURITYBASEAPI.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1676 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1677 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1678 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1679 qxeAccessCheckAndAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte * ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1680 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1681 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1682 return AccessCheckAndAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, (LPWSTR) ObjectTypeName, (LPWSTR) ObjectName, SecurityDescriptor, DesiredAccess, GenericMapping, ObjectCreation, GrantedAccess, AccessStatus, pfGenerateOnClose); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1683 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1684 return AccessCheckAndAuditAlarmA ((LPCSTR) SubsystemName, HandleId, (LPSTR) ObjectTypeName, (LPSTR) ObjectName, SecurityDescriptor, DesiredAccess, GenericMapping, ObjectCreation, GrantedAccess, AccessStatus, pfGenerateOnClose); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1685 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1686 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1687 /* Error if AccessCheckByTypeAndAuditAlarm used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1688 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1689 /* Error if AccessCheckByTypeResultListAndAuditAlarm used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1690 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1691 /* Error if AccessCheckByTypeResultListAndAuditAlarmByHandle used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1692 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1693 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1694 qxeGetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1695 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1696 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1697 return GetFileSecurityW ((LPCWSTR) lpFileName, RequestedInformation, pSecurityDescriptor, nLength, lpnLengthNeeded); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1698 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1699 return GetFileSecurityA ((LPCSTR) lpFileName, RequestedInformation, pSecurityDescriptor, nLength, lpnLengthNeeded); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1700 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1701 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1702 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1703 qxeObjectCloseAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, WINBOOL GenerateOnClose) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1704 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1705 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1706 return ObjectCloseAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, GenerateOnClose); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1707 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1708 return ObjectCloseAuditAlarmA ((LPCSTR) SubsystemName, HandleId, GenerateOnClose); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1709 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1710 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1711 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1712 qxeObjectDeleteAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, WINBOOL GenerateOnClose) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1713 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1714 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1715 return ObjectDeleteAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, GenerateOnClose); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1716 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1717 return ObjectDeleteAuditAlarmA ((LPCSTR) SubsystemName, HandleId, GenerateOnClose); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1718 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1719 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1720 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1721 qxeObjectOpenAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte * ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, DWORD GrantedAccess, PPRIVILEGE_SET Privileges, WINBOOL ObjectCreation, WINBOOL AccessGranted, LPBOOL GenerateOnClose) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1722 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1723 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1724 return ObjectOpenAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, (LPWSTR) ObjectTypeName, (LPWSTR) ObjectName, pSecurityDescriptor, ClientToken, DesiredAccess, GrantedAccess, Privileges, ObjectCreation, AccessGranted, GenerateOnClose); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1725 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1726 return ObjectOpenAuditAlarmA ((LPCSTR) SubsystemName, HandleId, (LPSTR) ObjectTypeName, (LPSTR) ObjectName, pSecurityDescriptor, ClientToken, DesiredAccess, GrantedAccess, Privileges, ObjectCreation, AccessGranted, GenerateOnClose); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1727 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1728 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1729 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1730 qxeObjectPrivilegeAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, HANDLE ClientToken, DWORD DesiredAccess, PPRIVILEGE_SET Privileges, WINBOOL AccessGranted) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1731 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1732 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1733 return ObjectPrivilegeAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, ClientToken, DesiredAccess, Privileges, AccessGranted); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1734 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1735 return ObjectPrivilegeAuditAlarmA ((LPCSTR) SubsystemName, HandleId, ClientToken, DesiredAccess, Privileges, AccessGranted); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1736 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1737 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1738 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1739 qxePrivilegedServiceAuditAlarm (const Extbyte * SubsystemName, const Extbyte * ServiceName, HANDLE ClientToken, PPRIVILEGE_SET Privileges, WINBOOL AccessGranted) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1740 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1741 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1742 return PrivilegedServiceAuditAlarmW ((LPCWSTR) SubsystemName, (LPCWSTR) ServiceName, ClientToken, Privileges, AccessGranted); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1743 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1744 return PrivilegedServiceAuditAlarmA ((LPCSTR) SubsystemName, (LPCSTR) ServiceName, ClientToken, Privileges, AccessGranted); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1745 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1746 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1747 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1748 qxeSetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1749 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1750 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1751 return SetFileSecurityW ((LPCWSTR) lpFileName, SecurityInformation, pSecurityDescriptor); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1752 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1753 return SetFileSecurityA ((LPCSTR) lpFileName, SecurityInformation, pSecurityDescriptor); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1754 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1755 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1756 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1757 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1758 /* Processing file PROCESSENV.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1759 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1760 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1761 /* Error if GetEnvironmentStrings used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1762 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1763 /* Error if SetEnvironmentStrings used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1764 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1765 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1766 qxeFreeEnvironmentStrings (LPWCH penv) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1767 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1768 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1769 return FreeEnvironmentStringsW (penv); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1770 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1771 return FreeEnvironmentStringsA (penv); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1772 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1773 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1774 Extbyte * |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1775 qxeGetCommandLine (void) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1776 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1777 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1778 return (Extbyte *) GetCommandLineW (); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1779 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1780 return (Extbyte *) GetCommandLineA (); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1781 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1782 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1783 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1784 qxeGetEnvironmentVariable (const Extbyte * lpName, Extbyte * lpBuffer, DWORD nSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1785 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1786 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1787 return GetEnvironmentVariableW ((LPCWSTR) lpName, (LPWSTR) lpBuffer, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1788 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1789 return GetEnvironmentVariableA ((LPCSTR) lpName, (LPSTR) lpBuffer, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1790 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1791 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1792 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1793 qxeSetEnvironmentVariable (const Extbyte * lpName, const Extbyte * lpValue) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1794 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1795 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1796 return SetEnvironmentVariableW ((LPCWSTR) lpName, (LPCWSTR) lpValue); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1797 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1798 return SetEnvironmentVariableA ((LPCSTR) lpName, (LPCSTR) lpValue); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1799 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1800 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1801 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1802 qxeExpandEnvironmentStrings (const Extbyte * lpSrc, Extbyte * lpDst, DWORD nSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1803 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1804 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1805 return ExpandEnvironmentStringsW ((LPCWSTR) lpSrc, (LPWSTR) lpDst, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1806 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1807 return ExpandEnvironmentStringsA ((LPCSTR) lpSrc, (LPSTR) lpDst, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1808 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1809 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1810 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1811 qxeSetCurrentDirectory (const Extbyte * lpPathName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1812 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1813 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1814 return SetCurrentDirectoryW ((LPCWSTR) lpPathName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1815 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1816 return SetCurrentDirectoryA ((LPCSTR) lpPathName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1817 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1818 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1819 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1820 qxeGetCurrentDirectory (DWORD nBufferLength, Extbyte * lpBuffer) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1821 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1822 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1823 return GetCurrentDirectoryW (nBufferLength, (LPWSTR) lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1824 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1825 return GetCurrentDirectoryA (nBufferLength, (LPSTR) lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1826 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1827 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1828 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1829 qxeSearchPath (const Extbyte * lpPath, const Extbyte * lpFileName, const Extbyte * lpExtension, DWORD nBufferLength, Extbyte * lpBuffer, Extbyte * * lpFilePart) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1830 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1831 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1832 return SearchPathW ((LPCWSTR) lpPath, (LPCWSTR) lpFileName, (LPCWSTR) lpExtension, nBufferLength, (LPWSTR) lpBuffer, (LPWSTR *) lpFilePart); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1833 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1834 return SearchPathA ((LPCSTR) lpPath, (LPCSTR) lpFileName, (LPCSTR) lpExtension, nBufferLength, (LPSTR) lpBuffer, (LPSTR *) lpFilePart); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1835 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1836 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1837 /* Error if NeedCurrentDirectoryForExePath used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1838 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1839 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1840 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1841 /* Processing file DBGENG.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1842 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1843 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1844 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1845 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1846 /* Processing file LIBLOADERAPI.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1847 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1848 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1849 HRSRC |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1850 qxeFindResourceEx (HMODULE hModule, const Extbyte * lpType, const Extbyte * lpName, WORD wLanguage) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1851 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1852 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1853 return FindResourceExW (hModule, (LPCWSTR) lpType, (LPCWSTR) lpName, wLanguage); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1854 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1855 return FindResourceExA (hModule, (LPCSTR) lpType, (LPCSTR) lpName, wLanguage); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1856 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1857 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1858 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1859 qxeGetModuleFileName (HMODULE hModule, Extbyte * lpFilename, DWORD nSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1860 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1861 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1862 return GetModuleFileNameW (hModule, (LPWSTR) lpFilename, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1863 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1864 return GetModuleFileNameA (hModule, (LPSTR) lpFilename, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1865 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1866 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1867 HMODULE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1868 qxeGetModuleHandle (const Extbyte * lpModuleName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1869 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1870 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1871 return GetModuleHandleW ((LPCWSTR) lpModuleName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1872 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1873 return GetModuleHandleA ((LPCSTR) lpModuleName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1874 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1875 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1876 HMODULE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1877 qxeLoadLibraryEx (const Extbyte * lpLibFileName, HANDLE hFile, DWORD dwFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1878 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1879 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1880 return LoadLibraryExW ((LPCWSTR) lpLibFileName, hFile, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1881 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1882 return LoadLibraryExA ((LPCSTR) lpLibFileName, hFile, dwFlags); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1883 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1884 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1885 int |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1886 qxeLoadString (HINSTANCE hInstance, UINT uID, Extbyte * lpBuffer, int cchBufferMax) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1887 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1888 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1889 return LoadStringW (hInstance, uID, (LPWSTR) lpBuffer, cchBufferMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1890 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1891 return LoadStringA (hInstance, uID, (LPSTR) lpBuffer, cchBufferMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1892 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1893 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1894 /* Error if GetModuleHandleEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1895 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1896 /* Error if EnumResourceLanguages used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1897 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1898 /* Error if EnumResourceLanguagesEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1899 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1900 /* Error if EnumResourceNamesEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1901 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1902 /* Error if EnumResourceTypesEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1903 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1904 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1905 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1906 /* Processing file IMM.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1907 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1908 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1909 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1910 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1911 HKL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1912 qxeImmInstallIME (const Extbyte * lpszIMEFileName, const Extbyte * lpszLayoutText) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1913 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1914 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1915 return ImmInstallIMEW ((LPCWSTR) lpszIMEFileName, (LPCWSTR) lpszLayoutText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1916 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1917 return ImmInstallIMEA ((LPCSTR) lpszIMEFileName, (LPCSTR) lpszLayoutText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1918 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1919 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1920 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1921 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1922 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1923 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1924 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1925 qxeImmGetDescription (HKL arg1, Extbyte * arg2, UINT uBufLen) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1926 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1927 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1928 return ImmGetDescriptionW (arg1, (LPWSTR) arg2, uBufLen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1929 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1930 return ImmGetDescriptionA (arg1, (LPSTR) arg2, uBufLen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1931 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1932 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1933 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1934 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1935 #if defined (HAVE_MS_WINDOWS) |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1936 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
1937 UINT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1938 qxeImmGetIMEFileName (HKL arg1, Extbyte * arg2, UINT uBufLen) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1939 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1940 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1941 return ImmGetIMEFileNameW (arg1, (LPWSTR) arg2, uBufLen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1942 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1943 return ImmGetIMEFileNameA (arg1, (LPSTR) arg2, uBufLen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1944 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1945 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1946 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1947 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1948 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1949 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1950 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1951 qxeImmGetCompositionString (HIMC arg1, DWORD arg2, LPVOID arg3, DWORD arg4) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1952 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1953 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1954 return ImmGetCompositionStringW (arg1, arg2, arg3, arg4); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1955 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1956 return ImmGetCompositionStringA (arg1, arg2, arg3, arg4); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1957 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1958 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1959 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1960 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1961 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1962 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1963 /* Skipping ImmSetCompositionString because different prototypes in VC6 and VC7 */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1964 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1965 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1966 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1967 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1968 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1969 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1970 qxeImmGetCandidateListCount (HIMC arg1, LPDWORD lpdwListCount) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1971 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1972 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1973 return ImmGetCandidateListCountW (arg1, lpdwListCount); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1974 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1975 return ImmGetCandidateListCountA (arg1, lpdwListCount); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1976 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1977 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1978 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1979 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1980 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1981 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1982 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1983 qxeImmGetCandidateList (HIMC arg1, DWORD deIndex, LPCANDIDATELIST arg3, DWORD dwBufLen) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1984 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1985 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1986 return ImmGetCandidateListW (arg1, deIndex, arg3, dwBufLen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1987 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1988 return ImmGetCandidateListA (arg1, deIndex, arg3, dwBufLen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1989 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1990 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1991 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1992 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1993 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1994 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1995 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1996 qxeImmGetGuideLine (HIMC arg1, DWORD dwIndex, Extbyte * arg3, DWORD dwBufLen) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1997 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1998 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
1999 return ImmGetGuideLineW (arg1, dwIndex, (LPWSTR) arg3, dwBufLen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2000 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2001 return ImmGetGuideLineA (arg1, dwIndex, (LPSTR) arg3, dwBufLen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2002 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2003 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2004 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2005 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2006 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2007 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2008 /* Skipping ImmGetCompositionFont because split-sized LOGFONT */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2009 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2010 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2011 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2012 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2013 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2014 /* Skipping ImmSetCompositionFont because split-sized LOGFONT */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2015 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2016 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2017 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2018 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2019 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2020 /* NOTE: // split-simple REGISTERWORD */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2021 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2022 qxeImmConfigureIME (HKL arg1, HWND arg2, DWORD arg3, LPVOID arg4) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2023 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2024 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2025 return ImmConfigureIMEW (arg1, arg2, arg3, arg4); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2026 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2027 return ImmConfigureIMEA (arg1, arg2, arg3, arg4); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2028 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2029 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2030 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2031 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2032 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2033 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2034 /* NOTE: // strings of various sorts */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2035 LRESULT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2036 qxeImmEscape (HKL arg1, HIMC arg2, UINT arg3, LPVOID arg4) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2037 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2038 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2039 return ImmEscapeW (arg1, arg2, arg3, arg4); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2040 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2041 return ImmEscapeA (arg1, arg2, arg3, arg4); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2042 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2043 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2044 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2045 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2046 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2047 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2048 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2049 qxeImmGetConversionList (HKL arg1, HIMC arg2, const Extbyte * arg3, LPCANDIDATELIST arg4, DWORD dwBufLen, UINT uFlag) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2050 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2051 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2052 return ImmGetConversionListW (arg1, arg2, (LPCWSTR) arg3, arg4, dwBufLen, uFlag); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2053 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2054 return ImmGetConversionListA (arg1, arg2, (LPCSTR) arg3, arg4, dwBufLen, uFlag); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2055 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2056 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2057 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2058 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2059 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2060 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2061 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2062 qxeImmIsUIMessage (HWND arg1, UINT arg2, WPARAM arg3, LPARAM arg4) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2063 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2064 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2065 return ImmIsUIMessageW (arg1, arg2, arg3, arg4); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2066 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2067 return ImmIsUIMessageA (arg1, arg2, arg3, arg4); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2068 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2069 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2070 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2071 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2072 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2073 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2074 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2075 qxeImmRegisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const Extbyte * lpszRegister) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2076 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2077 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2078 return ImmRegisterWordW (arg1, (LPCWSTR) lpszReading, arg3, (LPCWSTR) lpszRegister); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2079 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2080 return ImmRegisterWordA (arg1, (LPCSTR) lpszReading, arg3, (LPCSTR) lpszRegister); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2081 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2082 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2083 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2084 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2085 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2086 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2087 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2088 qxeImmUnregisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const Extbyte * lpszUnregister) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2089 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2090 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2091 return ImmUnregisterWordW (arg1, (LPCWSTR) lpszReading, arg3, (LPCWSTR) lpszUnregister); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2092 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2093 return ImmUnregisterWordA (arg1, (LPCSTR) lpszReading, arg3, (LPCSTR) lpszUnregister); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2094 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2095 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2096 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2097 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2098 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2099 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2100 /* Error if ImmGetRegisterWordStyle used: split-sized STYLEBUF */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2101 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2102 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2103 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2104 #if defined (HAVE_MS_WINDOWS) |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2105 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2106 UINT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2107 qxeImmEnumRegisterWord (HKL arg1, REGISTERWORDENUMPROCW arg2, const Extbyte * lpszReading, DWORD arg4, const Extbyte * lpszRegister, LPVOID arg6) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2108 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2109 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2110 return ImmEnumRegisterWordW (arg1, arg2, (LPCWSTR) lpszReading, arg4, (LPCWSTR) lpszRegister, arg6); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2111 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2112 return ImmEnumRegisterWordA (arg1, (REGISTERWORDENUMPROCA) arg2, (LPCSTR) lpszReading, arg4, (LPCSTR) lpszRegister, arg6); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2113 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2114 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2115 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2116 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2117 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2118 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2119 /* Error if ImmGetImeMenuItems used: split-sized IMEMENUITEMINFO */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2120 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2121 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2122 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2123 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2124 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2125 /* Processing file NAMEDPIPEAPI.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2126 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2127 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2128 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2129 qxeCreateNamedPipe (const Extbyte * lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2130 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2131 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2132 return CreateNamedPipeW ((LPCWSTR) lpName, dwOpenMode, dwPipeMode, nMaxInstances, nOutBufferSize, nInBufferSize, nDefaultTimeOut, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2133 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2134 return CreateNamedPipeA ((LPCSTR) lpName, dwOpenMode, dwPipeMode, nMaxInstances, nOutBufferSize, nInBufferSize, nDefaultTimeOut, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2135 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2136 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2137 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2138 qxeWaitNamedPipe (const Extbyte * lpNamedPipeName, DWORD nTimeOut) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2139 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2140 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2141 return WaitNamedPipeW ((LPCWSTR) lpNamedPipeName, nTimeOut); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2142 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2143 return WaitNamedPipeA ((LPCSTR) lpNamedPipeName, nTimeOut); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2144 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2145 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2146 /* Error if GetNamedPipeClientComputerName used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2147 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2148 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2149 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2150 /* Processing file MEMORYAPI.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2151 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2152 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2153 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2154 qxeCreateFileMapping (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2155 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2156 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2157 return CreateFileMappingW (hFile, lpFileMappingAttributes, flProtect, dwMaximumSizeHigh, dwMaximumSizeLow, (LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2158 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2159 return CreateFileMappingA (hFile, lpFileMappingAttributes, flProtect, dwMaximumSizeHigh, dwMaximumSizeLow, (LPCSTR) lpName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2160 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2161 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2162 HANDLE |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2163 qxeOpenFileMapping (DWORD dwDesiredAccess, WINBOOL bInheritHandle, const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2164 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2165 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2166 return OpenFileMappingW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2167 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2168 return OpenFileMappingA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2169 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2170 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2171 /* Error if CreateFileMappingNuma used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2172 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2173 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2174 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2175 /* Processing file MMSYSTEM.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2176 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2177 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2178 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2179 qxesndPlaySound (const Extbyte * pszSound, UINT fuSound) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2180 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2181 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2182 return sndPlaySoundW ((LPCWSTR) pszSound, fuSound); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2183 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2184 return sndPlaySoundA ((LPCSTR) pszSound, fuSound); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2185 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2186 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2187 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2188 qxePlaySound (const Extbyte * pszSound, HMODULE hmod, DWORD fdwSound) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2189 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2190 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2191 return PlaySoundW ((LPCWSTR) pszSound, hmod, fdwSound); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2192 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2193 return PlaySoundA ((LPCSTR) pszSound, hmod, fdwSound); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2194 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2195 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2196 /* Error if waveOutGetDevCaps used: split-sized LPWAVEOUTCAPS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2197 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2198 MMRESULT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2199 qxewaveOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2200 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2201 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2202 return waveOutGetErrorTextW (mmrError, (LPWSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2203 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2204 return waveOutGetErrorTextA (mmrError, (LPSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2205 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2206 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2207 /* Error if waveInGetDevCaps used: split-sized LPWAVEINCAPS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2208 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2209 MMRESULT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2210 qxewaveInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2211 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2212 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2213 return waveInGetErrorTextW (mmrError, (LPWSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2214 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2215 return waveInGetErrorTextA (mmrError, (LPSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2216 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2217 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2218 /* Error if midiOutGetDevCaps used: split-sized LPMIDIOUTCAPS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2219 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2220 MMRESULT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2221 qxemidiOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2222 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2223 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2224 return midiOutGetErrorTextW (mmrError, (LPWSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2225 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2226 return midiOutGetErrorTextA (mmrError, (LPSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2227 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2228 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2229 /* Error if midiInGetDevCaps used: split-sized LPMIDIOUTCAPS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2230 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2231 MMRESULT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2232 qxemidiInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2233 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2234 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2235 return midiInGetErrorTextW (mmrError, (LPWSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2236 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2237 return midiInGetErrorTextA (mmrError, (LPSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2238 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2239 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2240 /* Error if auxGetDevCaps used: split-sized LPAUXCAPS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2241 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2242 /* Error if mixerGetDevCaps used: split-sized LPMIXERCAPS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2243 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2244 /* Error if mixerGetLineInfo used: split-sized LPMIXERLINE */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2245 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2246 /* Error if mixerGetLineControls used: split-sized LPMIXERCONTROL */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2247 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2248 /* Error if mixerGetControlDetails used: split-sized LPMIXERCONTROL in LPMIXERLINECONTROLS in LPMIXERCONTROLDETAILS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2249 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2250 /* Error if joyGetDevCaps used: split-sized LPJOYCAPS */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2251 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2252 FOURCC |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2253 qxemmioStringToFOURCC (const Extbyte * sz, UINT uFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2254 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2255 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2256 return mmioStringToFOURCCW ((LPCWSTR) sz, uFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2257 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2258 return mmioStringToFOURCCA ((LPCSTR) sz, uFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2259 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2260 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2261 LPMMIOPROC |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2262 qxemmioInstallIOProc (FOURCC fccIOProc, LPMMIOPROC pIOProc, DWORD dwFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2263 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2264 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2265 return mmioInstallIOProcW (fccIOProc, pIOProc, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2266 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2267 return mmioInstallIOProcA (fccIOProc, pIOProc, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2268 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2269 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2270 HMMIO |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2271 qxemmioOpen (Extbyte * pszFileName, LPMMIOINFO pmmioinfo, DWORD fdwOpen) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2272 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2273 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2274 return mmioOpenW ((LPWSTR) pszFileName, pmmioinfo, fdwOpen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2275 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2276 return mmioOpenA ((LPSTR) pszFileName, pmmioinfo, fdwOpen); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2277 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2278 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2279 MMRESULT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2280 qxemmioRename (const Extbyte * pszFileName, const Extbyte * pszNewFileName, LPCMMIOINFO pmmioinfo, DWORD fdwRename) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2281 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2282 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2283 return mmioRenameW ((LPCWSTR) pszFileName, (LPCWSTR) pszNewFileName, pmmioinfo, fdwRename); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2284 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2285 return mmioRenameA ((LPCSTR) pszFileName, (LPCSTR) pszNewFileName, pmmioinfo, fdwRename); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2286 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2287 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2288 MCIERROR |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2289 qxemciSendCommand (MCIDEVICEID mciId, UINT uMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2290 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2291 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2292 return mciSendCommandW (mciId, uMsg, dwParam1, dwParam2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2293 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2294 return mciSendCommandA (mciId, uMsg, dwParam1, dwParam2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2295 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2296 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2297 MCIERROR |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2298 qxemciSendString (const Extbyte * lpstrCommand, Extbyte * lpstrReturnString, UINT uReturnLength, HWND hwndCallback) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2299 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2300 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2301 return mciSendStringW ((LPCWSTR) lpstrCommand, (LPWSTR) lpstrReturnString, uReturnLength, hwndCallback); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2302 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2303 return mciSendStringA ((LPCSTR) lpstrCommand, (LPSTR) lpstrReturnString, uReturnLength, hwndCallback); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2304 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2305 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2306 MCIDEVICEID |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2307 qxemciGetDeviceID (const Extbyte * pszDevice) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2308 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2309 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2310 return mciGetDeviceIDW ((LPCWSTR) pszDevice); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2311 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2312 return mciGetDeviceIDA ((LPCSTR) pszDevice); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2313 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2314 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2315 #if !defined (MINGW) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2316 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2317 /* Error if mciGetDeviceIDFromElementID used: missing from Win98se version of ADVAPI32.dll */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2318 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2319 #endif /* !defined (MINGW) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2320 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2321 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2322 qxemciGetErrorString (MCIERROR mcierr, Extbyte * pszText, UINT cchText) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2323 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2324 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2325 return mciGetErrorStringW (mcierr, (LPWSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2326 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2327 return mciGetErrorStringA (mcierr, (LPSTR) pszText, cchText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2328 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2329 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2330 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2331 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2332 /* Processing file WINCON.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2333 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2334 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2335 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2336 qxePeekConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2337 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2338 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2339 return PeekConsoleInputW (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2340 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2341 return PeekConsoleInputA (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2342 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2343 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2344 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2345 qxeReadConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2346 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2347 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2348 return ReadConsoleInputW (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2349 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2350 return ReadConsoleInputA (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2351 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2352 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2353 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2354 qxeWriteConsoleInput (HANDLE hConsoleInput, CONST INPUT_RECORD * lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsWritten) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2355 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2356 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2357 return WriteConsoleInputW (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsWritten); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2358 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2359 return WriteConsoleInputA (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsWritten); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2360 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2361 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2362 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2363 qxeReadConsoleOutput (HANDLE hConsoleOutput, PCHAR_INFO lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpReadRegion) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2364 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2365 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2366 return ReadConsoleOutputW (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord, lpReadRegion); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2367 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2368 return ReadConsoleOutputA (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord, lpReadRegion); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2369 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2370 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2371 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2372 qxeWriteConsoleOutput (HANDLE hConsoleOutput, CONST CHAR_INFO * lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpWriteRegion) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2373 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2374 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2375 return WriteConsoleOutputW (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord, lpWriteRegion); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2376 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2377 return WriteConsoleOutputA (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord, lpWriteRegion); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2378 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2379 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2380 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2381 qxeReadConsoleOutputCharacter (HANDLE hConsoleOutput, Extbyte * lpCharacter, DWORD nLength, COORD dwReadCoord, LPDWORD lpNumberOfCharsRead) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2382 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2383 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2384 return ReadConsoleOutputCharacterW (hConsoleOutput, (LPWSTR) lpCharacter, nLength, dwReadCoord, lpNumberOfCharsRead); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2385 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2386 return ReadConsoleOutputCharacterA (hConsoleOutput, (LPSTR) lpCharacter, nLength, dwReadCoord, lpNumberOfCharsRead); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2387 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2388 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2389 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2390 qxeWriteConsoleOutputCharacter (HANDLE hConsoleOutput, const Extbyte * lpCharacter, DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfCharsWritten) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2391 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2392 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2393 return WriteConsoleOutputCharacterW (hConsoleOutput, (LPCWSTR) lpCharacter, nLength, dwWriteCoord, lpNumberOfCharsWritten); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2394 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2395 return WriteConsoleOutputCharacterA (hConsoleOutput, (LPCSTR) lpCharacter, nLength, dwWriteCoord, lpNumberOfCharsWritten); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2396 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2397 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2398 /* Error if FillConsoleOutputCharacter used: split CHAR */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2399 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2400 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2401 qxeScrollConsoleScreenBuffer (HANDLE hConsoleOutput, CONST SMALL_RECT * lpScrollRectangle, CONST SMALL_RECT * lpClipRectangle, COORD dwDestinationOrigin, CONST CHAR_INFO * lpFill) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2402 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2403 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2404 return ScrollConsoleScreenBufferW (hConsoleOutput, lpScrollRectangle, lpClipRectangle, dwDestinationOrigin, lpFill); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2405 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2406 return ScrollConsoleScreenBufferA (hConsoleOutput, lpScrollRectangle, lpClipRectangle, dwDestinationOrigin, lpFill); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2407 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2408 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2409 DWORD |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2410 qxeGetConsoleTitle (Extbyte * lpConsoleTitle, DWORD nSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2411 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2412 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2413 return GetConsoleTitleW ((LPWSTR) lpConsoleTitle, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2414 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2415 return GetConsoleTitleA ((LPSTR) lpConsoleTitle, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2416 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2417 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2418 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2419 qxeSetConsoleTitle (const Extbyte * lpConsoleTitle) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2420 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2421 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2422 return SetConsoleTitleW ((LPCWSTR) lpConsoleTitle); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2423 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2424 return SetConsoleTitleA ((LPCSTR) lpConsoleTitle); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2425 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2426 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2427 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2428 qxeReadConsole (HANDLE hConsoleInput, LPVOID lpBuffer, DWORD nNumberOfCharsToRead, LPDWORD lpNumberOfCharsRead, LPVOID lpReserved) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2429 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2430 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2431 return ReadConsoleW (hConsoleInput, lpBuffer, nNumberOfCharsToRead, lpNumberOfCharsRead, lpReserved); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2432 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2433 return ReadConsoleA (hConsoleInput, lpBuffer, nNumberOfCharsToRead, lpNumberOfCharsRead, lpReserved); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2434 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2435 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2436 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2437 qxeWriteConsole (HANDLE hConsoleOutput, CONST VOID * lpBuffer, DWORD nNumberOfCharsToWrite, LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2438 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2439 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2440 return WriteConsoleW (hConsoleOutput, lpBuffer, nNumberOfCharsToWrite, lpNumberOfCharsWritten, lpReserved); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2441 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2442 return WriteConsoleA (hConsoleOutput, lpBuffer, nNumberOfCharsToWrite, lpNumberOfCharsWritten, lpReserved); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2443 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2444 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2445 /* Error if AddConsoleAlias used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2446 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2447 /* Error if GetConsoleAlias used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2448 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2449 /* Error if GetConsoleAliasesLength used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2450 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2451 /* Error if GetConsoleAliasExesLength used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2452 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2453 /* Error if GetConsoleAliases used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2454 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2455 /* Error if GetConsoleAliasExes used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2456 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2457 /* Error if GetConsoleOriginalTitle used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2458 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2459 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2460 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2461 /* Processing file DEBUGAPI.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2462 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2463 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2464 VOID |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2465 qxeOutputDebugString (const Extbyte * lpOutputString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2466 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2467 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2468 OutputDebugStringW ((LPCWSTR) lpOutputString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2469 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2470 OutputDebugStringA ((LPCSTR) lpOutputString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2471 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2472 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2473 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2474 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2475 /* Processing file WINNETWK.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2476 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2477 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2478 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2479 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2480 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2481 qxeWNetAddConnection (const Extbyte * lpRemoteName, const Extbyte * lpPassword, const Extbyte * lpLocalName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2482 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2483 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2484 return WNetAddConnectionW ((LPCWSTR) lpRemoteName, (LPCWSTR) lpPassword, (LPCWSTR) lpLocalName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2485 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2486 return WNetAddConnectionA ((LPCSTR) lpRemoteName, (LPCSTR) lpPassword, (LPCSTR) lpLocalName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2487 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2488 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2489 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2490 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2491 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2492 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2493 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2494 qxeWNetAddConnection2 (LPNETRESOURCEW lpNetResource, const Extbyte * lpPassword, const Extbyte * lpUserName, DWORD dwFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2495 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2496 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2497 return WNetAddConnection2W (lpNetResource, (LPCWSTR) lpPassword, (LPCWSTR) lpUserName, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2498 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2499 return WNetAddConnection2A ((LPNETRESOURCEA) lpNetResource, (LPCSTR) lpPassword, (LPCSTR) lpUserName, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2500 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2501 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2502 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2503 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2504 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2505 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2506 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2507 qxeWNetAddConnection3 (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte * lpPassword, const Extbyte * lpUserName, DWORD dwFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2508 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2509 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2510 return WNetAddConnection3W (hwndOwner, lpNetResource, (LPCWSTR) lpPassword, (LPCWSTR) lpUserName, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2511 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2512 return WNetAddConnection3A (hwndOwner, (LPNETRESOURCEA) lpNetResource, (LPCSTR) lpPassword, (LPCSTR) lpUserName, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2513 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2514 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2515 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2516 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2517 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2518 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2519 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2520 qxeWNetCancelConnection (const Extbyte * lpName, WINBOOL fForce) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2521 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2522 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2523 return WNetCancelConnectionW ((LPCWSTR) lpName, fForce); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2524 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2525 return WNetCancelConnectionA ((LPCSTR) lpName, fForce); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2526 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2527 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2528 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2529 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2530 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2531 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2532 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2533 qxeWNetCancelConnection2 (const Extbyte * lpName, DWORD dwFlags, WINBOOL fForce) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2534 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2535 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2536 return WNetCancelConnection2W ((LPCWSTR) lpName, dwFlags, fForce); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2537 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2538 return WNetCancelConnection2A ((LPCSTR) lpName, dwFlags, fForce); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2539 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2540 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2541 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2542 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2543 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2544 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2545 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2546 qxeWNetGetConnection (const Extbyte * lpLocalName, Extbyte * lpRemoteName, LPDWORD lpnLength) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2547 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2548 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2549 return WNetGetConnectionW ((LPCWSTR) lpLocalName, (LPWSTR) lpRemoteName, lpnLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2550 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2551 return WNetGetConnectionA ((LPCSTR) lpLocalName, (LPSTR) lpRemoteName, lpnLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2552 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2553 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2554 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2555 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2556 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2557 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2558 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2559 qxeWNetUseConnection (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte * lpPassword, const Extbyte * lpUserID, DWORD dwFlags, Extbyte * lpAccessName, LPDWORD lpBufferSize, LPDWORD lpResult) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2560 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2561 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2562 return WNetUseConnectionW (hwndOwner, lpNetResource, (LPCWSTR) lpPassword, (LPCWSTR) lpUserID, dwFlags, (LPWSTR) lpAccessName, lpBufferSize, lpResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2563 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2564 return WNetUseConnectionA (hwndOwner, (LPNETRESOURCEA) lpNetResource, (LPCSTR) lpPassword, (LPCSTR) lpUserID, dwFlags, (LPSTR) lpAccessName, lpBufferSize, lpResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2565 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2566 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2567 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2568 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2569 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2570 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2571 /* Error if WNetRestoreSingleConnection used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2572 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2573 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2574 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2575 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2576 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2577 /* Error if WNetRestoreConnection used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2578 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2579 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2580 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2581 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2582 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2583 /* NOTE: contains split-simple LPNETRESOURCE */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2584 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2585 qxeWNetConnectionDialog1 (LPCONNECTDLGSTRUCTW lpConnDlgStruct) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2586 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2587 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2588 return WNetConnectionDialog1W (lpConnDlgStruct); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2589 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2590 return WNetConnectionDialog1A ((LPCONNECTDLGSTRUCTA) lpConnDlgStruct); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2591 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2592 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2593 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2594 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2595 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2596 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2597 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2598 qxeWNetDisconnectDialog1 (LPDISCDLGSTRUCTW lpConnDlgStruct) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2599 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2600 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2601 return WNetDisconnectDialog1W (lpConnDlgStruct); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2602 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2603 return WNetDisconnectDialog1A ((LPDISCDLGSTRUCTA) lpConnDlgStruct); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2604 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2605 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2606 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2607 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2608 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2609 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2610 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2611 qxeWNetOpenEnum (DWORD dwScope, DWORD dwType, DWORD dwUsage, LPNETRESOURCEW lpNetResource, LPHANDLE lphEnum) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2612 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2613 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2614 return WNetOpenEnumW (dwScope, dwType, dwUsage, lpNetResource, lphEnum); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2615 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2616 return WNetOpenEnumA (dwScope, dwType, dwUsage, (LPNETRESOURCEA) lpNetResource, lphEnum); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2617 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2618 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2619 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2620 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2621 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2622 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2623 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2624 qxeWNetEnumResource (HANDLE hEnum, LPDWORD lpcCount, LPVOID lpBuffer, LPDWORD lpBufferSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2625 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2626 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2627 return WNetEnumResourceW (hEnum, lpcCount, lpBuffer, lpBufferSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2628 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2629 return WNetEnumResourceA (hEnum, lpcCount, lpBuffer, lpBufferSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2630 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2631 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2632 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2633 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2634 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2635 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2636 /* Error if WNetGetResourceParent used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2637 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2638 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2639 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2640 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2641 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2642 /* Error if WNetGetResourceInformation used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2643 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2644 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2645 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2646 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2647 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2648 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2649 qxeWNetGetUniversalName (const Extbyte * lpLocalPath, DWORD dwInfoLevel, LPVOID lpBuffer, LPDWORD lpBufferSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2650 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2651 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2652 return WNetGetUniversalNameW ((LPCWSTR) lpLocalPath, dwInfoLevel, lpBuffer, lpBufferSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2653 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2654 return WNetGetUniversalNameA ((LPCSTR) lpLocalPath, dwInfoLevel, lpBuffer, lpBufferSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2655 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2656 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2657 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2658 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2659 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2660 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2661 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2662 qxeWNetGetUser (const Extbyte * lpName, Extbyte * lpUserName, LPDWORD lpnLength) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2663 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2664 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2665 return WNetGetUserW ((LPCWSTR) lpName, (LPWSTR) lpUserName, lpnLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2666 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2667 return WNetGetUserA ((LPCSTR) lpName, (LPSTR) lpUserName, lpnLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2668 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2669 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2670 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2671 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2672 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2673 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2674 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2675 qxeWNetGetProviderName (DWORD dwNetType, Extbyte * lpProviderName, LPDWORD lpBufferSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2676 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2677 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2678 return WNetGetProviderNameW (dwNetType, (LPWSTR) lpProviderName, lpBufferSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2679 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2680 return WNetGetProviderNameA (dwNetType, (LPSTR) lpProviderName, lpBufferSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2681 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2682 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2683 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2684 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2685 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2686 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2687 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2688 qxeWNetGetNetworkInformation (const Extbyte * lpProvider, LPNETINFOSTRUCT lpNetInfoStruct) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2689 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2690 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2691 return WNetGetNetworkInformationW ((LPCWSTR) lpProvider, lpNetInfoStruct); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2692 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2693 return WNetGetNetworkInformationA ((LPCSTR) lpProvider, lpNetInfoStruct); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2694 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2695 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2696 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2697 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2698 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2699 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2700 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2701 qxeWNetGetLastError (LPDWORD lpError, Extbyte * lpErrorBuf, DWORD nErrorBufSize, Extbyte * lpNameBuf, DWORD nNameBufSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2702 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2703 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2704 return WNetGetLastErrorW (lpError, (LPWSTR) lpErrorBuf, nErrorBufSize, (LPWSTR) lpNameBuf, nNameBufSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2705 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2706 return WNetGetLastErrorA (lpError, (LPSTR) lpErrorBuf, nErrorBufSize, (LPSTR) lpNameBuf, nNameBufSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2707 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2708 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2709 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2710 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2711 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2712 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2713 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2714 qxeMultinetGetConnectionPerformance (LPNETRESOURCEW lpNetResource, LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2715 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2716 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2717 return MultinetGetConnectionPerformanceW (lpNetResource, lpNetConnectInfoStruct); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2718 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2719 return MultinetGetConnectionPerformanceA ((LPNETRESOURCEA) lpNetResource, lpNetConnectInfoStruct); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2720 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2721 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2722 #endif /* defined (HAVE_MS_WINDOWS) */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2723 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2724 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2725 /*----------------------------------------------------------------------*/ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2726 /* Processing file DDEML.H */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2727 /*----------------------------------------------------------------------*/ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2728 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2729 UINT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2730 qxeDdeInitialize (LPDWORD pidInst, PFNCALLBACK pfnCallback, DWORD afCmd, DWORD ulRes) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2731 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2732 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2733 return DdeInitializeW (pidInst, pfnCallback, afCmd, ulRes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2734 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2735 return DdeInitializeA (pidInst, pfnCallback, afCmd, ulRes); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2736 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2737 |
4903
70089046adef
fix compile problems in intl-encap* under VS6
Ben Wing <ben@xemacs.org>
parents:
4875
diff
changeset
|
2738 /* NOTE: former error in Cygwin prototype, but no more (Cygwin 1.7, 1-30-10) */ |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2739 HSZ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2740 qxeDdeCreateStringHandle (DWORD idInst, const Extbyte * psz, int iCodePage) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2741 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2742 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2743 return DdeCreateStringHandleW (idInst, (LPCWSTR) psz, iCodePage); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2744 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2745 return DdeCreateStringHandleA (idInst, (LPCSTR) psz, iCodePage); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2746 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2747 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2748 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2749 qxeDdeQueryString (DWORD idInst, HSZ hsz, Extbyte * psz, DWORD cchMax, int iCodePage) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2750 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2751 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2752 return DdeQueryStringW (idInst, hsz, (LPWSTR) psz, cchMax, iCodePage); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2753 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2754 return DdeQueryStringA (idInst, hsz, (LPSTR) psz, cchMax, iCodePage); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2755 } |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
2756 |
771 | 2757 |
2758 /*----------------------------------------------------------------------*/ | |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2759 /* Processing file WINGDI.H */ |
3728 | 2760 /*----------------------------------------------------------------------*/ |
2761 | |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2762 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2763 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2764 int |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2765 qxeAddFontResource (const Extbyte * arg1) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2766 { |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2767 if (XEUNICODE_P) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2768 return AddFontResourceW ((LPCWSTR) arg1); |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2769 else |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2770 return AddFontResourceA ((LPCSTR) arg1); |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2771 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2772 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2773 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2774 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2775 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2776 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2777 HMETAFILE |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2778 qxeCopyMetaFile (HMETAFILE arg1, const Extbyte * arg2) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2779 { |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2780 if (XEUNICODE_P) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2781 return CopyMetaFileW (arg1, (LPCWSTR) arg2); |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2782 else |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2783 return CopyMetaFileA (arg1, (LPCSTR) arg2); |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2784 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2785 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2786 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2787 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2788 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2789 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2790 /* Skipping CreateDC because split-sized DEVMODE */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2791 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2792 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2793 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2794 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2795 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2796 /* Skipping CreateFontIndirect because split-sized LOGFONT */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2797 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2798 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2799 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2800 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2801 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2802 HFONT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2803 qxeCreateFont (int cHeight, int cWidth, int cEscapement, int cOrientation, int cWeight, DWORD bItalic, DWORD bUnderline, DWORD bStrikeOut, DWORD iCharSet, DWORD iOutPrecision, DWORD iClipPrecision, DWORD iQuality, DWORD iPitchAndFamily, const Extbyte * pszFaceName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2804 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2805 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2806 return CreateFontW (cHeight, cWidth, cEscapement, cOrientation, cWeight, bItalic, bUnderline, bStrikeOut, iCharSet, iOutPrecision, iClipPrecision, iQuality, iPitchAndFamily, (LPCWSTR) pszFaceName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2807 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2808 return CreateFontA (cHeight, cWidth, cEscapement, cOrientation, cWeight, bItalic, bUnderline, bStrikeOut, iCharSet, iOutPrecision, iClipPrecision, iQuality, iPitchAndFamily, (LPCSTR) pszFaceName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2809 } |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2810 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2811 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2812 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2813 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2814 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2815 /* Skipping CreateIC because split-sized DEVMODE */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2816 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2817 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2818 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2819 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2820 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2821 HDC |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2822 qxeCreateMetaFile (const Extbyte * pszFile) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2823 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2824 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2825 return CreateMetaFileW ((LPCWSTR) pszFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2826 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2827 return CreateMetaFileA ((LPCSTR) pszFile); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2828 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2829 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2830 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2831 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2832 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2833 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2834 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2835 qxeCreateScalableFontResource (DWORD fdwHidden, const Extbyte * lpszFont, const Extbyte * lpszFile, const Extbyte * lpszPath) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2836 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2837 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2838 return CreateScalableFontResourceW (fdwHidden, (LPCWSTR) lpszFont, (LPCWSTR) lpszFile, (LPCWSTR) lpszPath); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2839 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2840 return CreateScalableFontResourceA (fdwHidden, (LPCSTR) lpszFont, (LPCSTR) lpszFile, (LPCSTR) lpszPath); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2841 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2842 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2843 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2844 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2845 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2846 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2847 /* Skipping DeviceCapabilities because split-sized DEVMODE */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2848 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2849 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2850 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2851 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2852 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2853 /* Skipping EnumFontFamiliesEx because split-complex FONTENUMPROC; NT 4.0+ only */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2854 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2855 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2856 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2857 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2858 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2859 /* Error if EnumFontFamilies used: split-complex FONTENUMPROC */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2860 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2861 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2862 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2863 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2864 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2865 /* Error if EnumFonts used: split-complex FONTENUMPROC */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2866 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2867 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2868 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2869 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2870 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2871 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2872 qxeGetCharWidth (HDC hdc, UINT iFirst, UINT iLast, LPINT lpBuffer) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2873 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2874 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2875 return GetCharWidthW (hdc, iFirst, iLast, lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2876 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2877 return GetCharWidthA (hdc, iFirst, iLast, lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2878 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2879 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2880 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2881 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2882 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2883 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2884 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2885 qxeGetCharWidth32 (HDC hdc, UINT iFirst, UINT iLast, LPINT lpBuffer) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2886 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2887 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2888 return GetCharWidth32W (hdc, iFirst, iLast, lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2889 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2890 return GetCharWidth32A (hdc, iFirst, iLast, lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2891 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2892 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2893 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2894 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2895 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2896 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2897 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2898 qxeGetCharWidthFloat (HDC hdc, UINT iFirst, UINT iLast, PFLOAT lpBuffer) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2899 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2900 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2901 return GetCharWidthFloatW (hdc, iFirst, iLast, lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2902 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2903 return GetCharWidthFloatA (hdc, iFirst, iLast, lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2904 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2905 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2906 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2907 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2908 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2909 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2910 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2911 qxeGetCharABCWidths (HDC hdc, UINT wFirst, UINT wLast, LPABC lpABC) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2912 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2913 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2914 return GetCharABCWidthsW (hdc, wFirst, wLast, lpABC); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2915 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2916 return GetCharABCWidthsA (hdc, wFirst, wLast, lpABC); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2917 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2918 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2919 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2920 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2921 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2922 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2923 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2924 qxeGetCharABCWidthsFloat (HDC hdc, UINT iFirst, UINT iLast, LPABCFLOAT lpABC) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2925 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2926 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2927 return GetCharABCWidthsFloatW (hdc, iFirst, iLast, lpABC); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2928 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2929 return GetCharABCWidthsFloatA (hdc, iFirst, iLast, lpABC); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2930 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2931 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2932 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2933 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2934 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2935 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2936 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2937 qxeGetGlyphOutline (HDC hdc, UINT uChar, UINT fuFormat, LPGLYPHMETRICS lpgm, DWORD cjBuffer, LPVOID pvBuffer, CONST MAT2 * lpmat2) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2938 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2939 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2940 return GetGlyphOutlineW (hdc, uChar, fuFormat, lpgm, cjBuffer, pvBuffer, lpmat2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2941 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2942 return GetGlyphOutlineA (hdc, uChar, fuFormat, lpgm, cjBuffer, pvBuffer, lpmat2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2943 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2944 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2945 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2946 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2947 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2948 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2949 HMETAFILE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2950 qxeGetMetaFile (const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2951 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2952 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2953 return GetMetaFileW ((LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2954 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2955 return GetMetaFileA ((LPCSTR) lpName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2956 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2957 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2958 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2959 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2960 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2961 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2962 /* Error if GetOutlineTextMetrics used: split-sized LPOUTLINETEXTMETRIC */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2963 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2964 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2965 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2966 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2967 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2968 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2969 qxeGetTextExtentPoint (HDC hdc, const Extbyte * lpString, int c, LPSIZE lpsz) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2970 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2971 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2972 return GetTextExtentPointW (hdc, (LPCWSTR) lpString, c, lpsz); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2973 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2974 return GetTextExtentPointA (hdc, (LPCSTR) lpString, c, lpsz); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2975 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2976 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2977 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2978 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2979 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
2980 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2981 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2982 qxeGetTextExtentPoint32 (HDC hdc, const Extbyte * lpString, int c, LPSIZE psizl) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2983 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2984 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2985 return GetTextExtentPoint32W (hdc, (LPCWSTR) lpString, c, psizl); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2986 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2987 return GetTextExtentPoint32A (hdc, (LPCSTR) lpString, c, psizl); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2988 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2989 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2990 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2991 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2992 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2993 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2994 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2995 qxeGetTextExtentExPoint (HDC hdc, const Extbyte * lpszString, int cchString, int nMaxExtent, LPINT lpnFit, LPINT lpnDx, LPSIZE lpSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2996 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2997 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2998 return GetTextExtentExPointW (hdc, (LPCWSTR) lpszString, cchString, nMaxExtent, lpnFit, lpnDx, lpSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
2999 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3000 return GetTextExtentExPointA (hdc, (LPCSTR) lpszString, cchString, nMaxExtent, lpnFit, lpnDx, lpSize); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3001 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3002 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3003 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3004 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3005 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3006 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3007 /* NOTE: NT 4.0+ only */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3008 DWORD |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3009 qxeGetCharacterPlacement (HDC hdc, const Extbyte * lpString, int nCount, int nMexExtent, LPGCP_RESULTSW lpResults, DWORD dwFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3010 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3011 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3012 return GetCharacterPlacementW (hdc, (LPCWSTR) lpString, nCount, nMexExtent, lpResults, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3013 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3014 return GetCharacterPlacementA (hdc, (LPCSTR) lpString, nCount, nMexExtent, (LPGCP_RESULTSA) lpResults, dwFlags); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3015 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3016 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3017 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3018 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3019 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3020 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3021 /* Error if GetGlyphIndices used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3022 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3023 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3024 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3025 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3026 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3027 /* Error if AddFontResourceEx used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3028 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3029 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3030 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3031 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3032 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3033 /* Error if RemoveFontResourceEx used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3034 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3035 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3036 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3037 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3038 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3039 /* Error if CreateFontIndirectEx used: split-sized ENUMLOGFONTEXDV; NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3040 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3041 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3042 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3043 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3044 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3045 /* Skipping ResetDC because split-sized DEVMODE */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3046 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3047 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3048 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3049 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3050 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3051 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3052 qxeRemoveFontResource (const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3053 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3054 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3055 return RemoveFontResourceW ((LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3056 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3057 return RemoveFontResourceA ((LPCSTR) lpFileName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3058 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3059 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3060 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3061 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3062 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3063 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3064 HENHMETAFILE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3065 qxeCopyEnhMetaFile (HENHMETAFILE hEnh, const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3066 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3067 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3068 return CopyEnhMetaFileW (hEnh, (LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3069 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3070 return CopyEnhMetaFileA (hEnh, (LPCSTR) lpFileName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3071 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3072 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3073 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3074 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3075 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3076 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3077 HDC |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3078 qxeCreateEnhMetaFile (HDC hdc, const Extbyte * lpFilename, CONST RECT * lprc, const Extbyte * lpDesc) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3079 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3080 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3081 return CreateEnhMetaFileW (hdc, (LPCWSTR) lpFilename, lprc, (LPCWSTR) lpDesc); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3082 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3083 return CreateEnhMetaFileA (hdc, (LPCSTR) lpFilename, lprc, (LPCSTR) lpDesc); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3084 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3085 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3086 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3087 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3088 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3089 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3090 HENHMETAFILE |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3091 qxeGetEnhMetaFile (const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3092 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3093 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3094 return GetEnhMetaFileW ((LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3095 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3096 return GetEnhMetaFileA ((LPCSTR) lpName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3097 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3098 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3099 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3100 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3101 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3102 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3103 UINT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3104 qxeGetEnhMetaFileDescription (HENHMETAFILE hemf, UINT cchBuffer, Extbyte * lpDescription) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3105 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3106 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3107 return GetEnhMetaFileDescriptionW (hemf, cchBuffer, (LPWSTR) lpDescription); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3108 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3109 return GetEnhMetaFileDescriptionA (hemf, cchBuffer, (LPSTR) lpDescription); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3110 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3111 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3112 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3113 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3114 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3115 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3116 /* Skipping GetTextMetrics because split-sized LPTEXTMETRIC */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3117 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3118 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3119 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3120 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3121 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3122 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3123 qxeStartDoc (HDC hdc, CONST DOCINFOW * lpdi) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3124 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3125 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3126 return StartDocW (hdc, lpdi); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3127 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3128 return StartDocA (hdc, (CONST DOCINFOA *) lpdi); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3129 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3130 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3131 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3132 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3133 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3134 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3135 /* Skipping GetObject because split-sized LOGFONT */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3136 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3137 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3138 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3139 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3140 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3141 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3142 qxeTextOut (HDC hdc, int x, int y, const Extbyte * lpString, int c) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3143 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3144 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3145 return TextOutW (hdc, x, y, (LPCWSTR) lpString, c); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3146 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3147 return TextOutA (hdc, x, y, (LPCSTR) lpString, c); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3148 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3149 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3150 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3151 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3152 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3153 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3154 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3155 qxeExtTextOut (HDC hdc, int x, int y, UINT options, CONST RECT * lprect, const Extbyte * lpString, UINT c, CONST INT * lpDx) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3156 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3157 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3158 return ExtTextOutW (hdc, x, y, options, lprect, (LPCWSTR) lpString, c, lpDx); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3159 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3160 return ExtTextOutA (hdc, x, y, options, lprect, (LPCSTR) lpString, c, lpDx); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3161 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3162 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3163 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3164 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3165 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3166 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3167 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3168 qxePolyTextOut (HDC hdc, CONST POLYTEXTW * ppt, int nstrings) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3169 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3170 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3171 return PolyTextOutW (hdc, ppt, nstrings); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3172 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3173 return PolyTextOutA (hdc, (CONST POLYTEXTA *) ppt, nstrings); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3174 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3175 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3176 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3177 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3178 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3179 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3180 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3181 qxeGetTextFace (HDC hdc, int c, Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3182 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3183 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3184 return GetTextFaceW (hdc, c, (LPWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3185 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3186 return GetTextFaceA (hdc, c, (LPSTR) lpName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3187 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3188 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3189 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3190 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3191 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3192 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3193 DWORD |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3194 qxeGetKerningPairs (HDC hdc, DWORD nPairs, LPKERNINGPAIR lpKernPair) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3195 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3196 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3197 return GetKerningPairsW (hdc, nPairs, lpKernPair); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3198 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3199 return GetKerningPairsA (hdc, nPairs, lpKernPair); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3200 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3201 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3202 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3203 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3204 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3205 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3206 /* Error if GetLogColorSpace used: split-sized LPLOGCOLORSPACE; NT 4.0+ only */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3207 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3208 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3209 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3210 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3211 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3212 /* Error if CreateColorSpace used: split-sized LPLOGCOLORSPACE; NT 4.0+ only */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3213 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3214 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3215 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3216 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3217 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3218 /* NOTE: NT 4.0+ only, former error in Cygwin prototype but no more (Cygwin 1.7, 1-30-10) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3219 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3220 qxeGetICMProfile (HDC hdc, LPDWORD pBufSize, Extbyte * pszFilename) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3221 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3222 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3223 return GetICMProfileW (hdc, pBufSize, (LPWSTR) pszFilename); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3224 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3225 return GetICMProfileA (hdc, pBufSize, (LPSTR) pszFilename); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3226 } |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3227 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3228 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3229 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3230 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3231 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3232 /* NOTE: NT 4.0+ only */ |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3233 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3234 qxeSetICMProfile (HDC hdc, Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3235 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3236 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3237 return SetICMProfileW (hdc, (LPWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3238 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3239 return SetICMProfileA (hdc, (LPSTR) lpFileName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3240 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3241 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3242 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3243 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3244 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3245 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3246 /* NOTE: NT 4.0+ only */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3247 int |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3248 qxeEnumICMProfiles (HDC hdc, ICMENUMPROCW lpProc, LPARAM lParam) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3249 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3250 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3251 return EnumICMProfilesW (hdc, lpProc, lParam); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3252 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3253 return EnumICMProfilesA (hdc, (ICMENUMPROCA) lpProc, lParam); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3254 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3255 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3256 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3257 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3258 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3259 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3260 /* Skipping UpdateICMRegKey because NT 4.0+ only, error in Cygwin prototype */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3261 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3262 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3263 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3264 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3265 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3266 /* Error if wglUseFontBitmaps used: causes link error */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3267 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3268 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3269 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3270 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3271 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3272 /* Error if wglUseFontOutlines used: causes link error */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3273 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3274 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3275 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3276 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3277 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3278 /* Processing file WINNLS.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3279 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3280 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3281 /* Error if LCMapString used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3282 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3283 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3284 qxeGetLocaleInfo (LCID Locale, LCTYPE LCType, Extbyte * lpLCData, int cchData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3285 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3286 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3287 return GetLocaleInfoW (Locale, LCType, (LPWSTR) lpLCData, cchData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3288 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3289 return GetLocaleInfoA (Locale, LCType, (LPSTR) lpLCData, cchData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3290 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3291 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3292 /* Error if GetNumberFormat used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3293 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3294 /* Error if GetCurrencyFormat used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3295 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3296 /* Error if EnumCalendarInfo used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3297 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3298 /* Error if EnumCalendarInfoEx used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3299 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3300 /* Error if EnumTimeFormats used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3301 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3302 /* Error if EnumDateFormats used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3303 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3304 /* Error if EnumDateFormatsEx used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3305 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3306 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3307 qxeSetLocaleInfo (LCID Locale, LCTYPE LCType, const Extbyte * lpLCData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3308 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3309 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3310 return SetLocaleInfoW (Locale, LCType, (LPCWSTR) lpLCData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3311 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3312 return SetLocaleInfoA (Locale, LCType, (LPCSTR) lpLCData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3313 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3314 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3315 /* Error if GetCalendarInfo used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3316 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3317 /* Error if SetCalendarInfo used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3318 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3319 /* Error if GetGeoInfo used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3320 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3321 /* Error if GetCPInfoEx used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3322 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3323 /* Error if EnumSystemLocales used: not used, not examined yet */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3324 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3325 /* Error if EnumSystemLanguageGroups used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3326 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3327 /* Error if EnumLanguageGroupLocales used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3328 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3329 /* Error if EnumUILanguages used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3330 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3331 /* Error if EnumSystemCodePages used: not used, not examined yet */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3332 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3333 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3334 /*----------------------------------------------------------------------*/ |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3335 /* Processing file WINREG.H */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3336 /*----------------------------------------------------------------------*/ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3337 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3338 /* NOTE: former error in Cygwin prototype, but no more (Cygwin 1.7, 1-30-10) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3339 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3340 qxeRegConnectRegistry (const Extbyte * lpMachineName, HKEY hKey, PHKEY phkResult) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3341 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3342 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3343 return RegConnectRegistryW ((LPCWSTR) lpMachineName, hKey, phkResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3344 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3345 return RegConnectRegistryA ((LPCSTR) lpMachineName, hKey, phkResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3346 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3347 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3348 /* Error if RegConnectRegistryEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3349 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3350 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3351 qxeRegCreateKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3352 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3353 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3354 return RegCreateKeyW (hKey, (LPCWSTR) lpSubKey, phkResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3355 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3356 return RegCreateKeyA (hKey, (LPCSTR) lpSubKey, phkResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3357 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3358 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3359 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3360 qxeRegCreateKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD Reserved, Extbyte * lpClass, DWORD dwOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes, PHKEY phkResult, LPDWORD lpdwDisposition) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3361 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3362 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3363 return RegCreateKeyExW (hKey, (LPCWSTR) lpSubKey, Reserved, (LPWSTR) lpClass, dwOptions, samDesired, lpSecurityAttributes, phkResult, lpdwDisposition); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3364 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3365 return RegCreateKeyExA (hKey, (LPCSTR) lpSubKey, Reserved, (LPSTR) lpClass, dwOptions, samDesired, lpSecurityAttributes, phkResult, lpdwDisposition); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3366 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3367 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3368 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3369 qxeRegDeleteKey (HKEY hKey, const Extbyte * lpSubKey) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3370 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3371 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3372 return RegDeleteKeyW (hKey, (LPCWSTR) lpSubKey); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3373 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3374 return RegDeleteKeyA (hKey, (LPCSTR) lpSubKey); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3375 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3376 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3377 /* Error if RegDeleteKeyEx used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3378 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3379 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3380 qxeRegDeleteValue (HKEY hKey, const Extbyte * lpValueName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3381 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3382 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3383 return RegDeleteValueW (hKey, (LPCWSTR) lpValueName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3384 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3385 return RegDeleteValueA (hKey, (LPCSTR) lpValueName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3386 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3387 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3388 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3389 qxeRegEnumKey (HKEY hKey, DWORD dwIndex, Extbyte * lpName, DWORD cchName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3390 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3391 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3392 return RegEnumKeyW (hKey, dwIndex, (LPWSTR) lpName, cchName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3393 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3394 return RegEnumKeyA (hKey, dwIndex, (LPSTR) lpName, cchName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3395 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3396 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3397 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3398 qxeRegEnumKeyEx (HKEY hKey, DWORD dwIndex, Extbyte * lpName, LPDWORD lpcchName, LPDWORD lpReserved, Extbyte * lpClass, LPDWORD lpcchClass, PFILETIME lpftLastWriteTime) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3399 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3400 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3401 return RegEnumKeyExW (hKey, dwIndex, (LPWSTR) lpName, lpcchName, lpReserved, (LPWSTR) lpClass, lpcchClass, lpftLastWriteTime); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3402 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3403 return RegEnumKeyExA (hKey, dwIndex, (LPSTR) lpName, lpcchName, lpReserved, (LPSTR) lpClass, lpcchClass, lpftLastWriteTime); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3404 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3405 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3406 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3407 qxeRegEnumValue (HKEY hKey, DWORD dwIndex, Extbyte * lpValueName, LPDWORD lpcchValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3408 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3409 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3410 return RegEnumValueW (hKey, dwIndex, (LPWSTR) lpValueName, lpcchValueName, lpReserved, lpType, lpData, lpcbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3411 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3412 return RegEnumValueA (hKey, dwIndex, (LPSTR) lpValueName, lpcchValueName, lpReserved, lpType, lpData, lpcbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3413 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3414 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3415 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3416 qxeRegLoadKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpFile) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3417 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3418 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3419 return RegLoadKeyW (hKey, (LPCWSTR) lpSubKey, (LPCWSTR) lpFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3420 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3421 return RegLoadKeyA (hKey, (LPCSTR) lpSubKey, (LPCSTR) lpFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3422 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3423 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3424 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3425 qxeRegOpenKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3426 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3427 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3428 return RegOpenKeyW (hKey, (LPCWSTR) lpSubKey, phkResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3429 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3430 return RegOpenKeyA (hKey, (LPCSTR) lpSubKey, phkResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3431 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3432 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3433 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3434 qxeRegOpenKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3435 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3436 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3437 return RegOpenKeyExW (hKey, (LPCWSTR) lpSubKey, ulOptions, samDesired, phkResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3438 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3439 return RegOpenKeyExA (hKey, (LPCSTR) lpSubKey, ulOptions, samDesired, phkResult); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3440 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3441 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3442 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3443 qxeRegQueryInfoKey (HKEY hKey, Extbyte * lpClass, LPDWORD lpcchClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcbMaxSubKeyLen, LPDWORD lpcbMaxClassLen, LPDWORD lpcValues, LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3444 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3445 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3446 return RegQueryInfoKeyW (hKey, (LPWSTR) lpClass, lpcchClass, lpReserved, lpcSubKeys, lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen, lpcbMaxValueLen, lpcbSecurityDescriptor, lpftLastWriteTime); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3447 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3448 return RegQueryInfoKeyA (hKey, (LPSTR) lpClass, lpcchClass, lpReserved, lpcSubKeys, lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen, lpcbMaxValueLen, lpcbSecurityDescriptor, lpftLastWriteTime); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3449 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3450 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3451 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3452 qxeRegQueryValue (HKEY hKey, const Extbyte * lpSubKey, Extbyte * lpData, PLONG lpcbData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3453 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3454 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3455 return RegQueryValueW (hKey, (LPCWSTR) lpSubKey, (LPWSTR) lpData, lpcbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3456 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3457 return RegQueryValueA (hKey, (LPCSTR) lpSubKey, (LPSTR) lpData, lpcbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3458 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3459 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3460 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3461 qxeRegQueryMultipleValues (HKEY hKey, PVALENTW val_list, DWORD num_vals, Extbyte * lpValueBuf, LPDWORD ldwTotsize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3462 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3463 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3464 return RegQueryMultipleValuesW (hKey, val_list, num_vals, (LPWSTR) lpValueBuf, ldwTotsize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3465 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3466 return RegQueryMultipleValuesA (hKey, (PVALENTA) val_list, num_vals, (LPSTR) lpValueBuf, ldwTotsize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3467 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3468 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3469 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3470 qxeRegQueryValueEx (HKEY hKey, const Extbyte * lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3471 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3472 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3473 return RegQueryValueExW (hKey, (LPCWSTR) lpValueName, lpReserved, lpType, lpData, lpcbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3474 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3475 return RegQueryValueExA (hKey, (LPCSTR) lpValueName, lpReserved, lpType, lpData, lpcbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3476 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3477 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3478 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3479 qxeRegReplaceKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpNewFile, const Extbyte * lpOldFile) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3480 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3481 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3482 return RegReplaceKeyW (hKey, (LPCWSTR) lpSubKey, (LPCWSTR) lpNewFile, (LPCWSTR) lpOldFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3483 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3484 return RegReplaceKeyA (hKey, (LPCSTR) lpSubKey, (LPCSTR) lpNewFile, (LPCSTR) lpOldFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3485 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3486 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3487 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3488 qxeRegRestoreKey (HKEY hKey, const Extbyte * lpFile, DWORD dwFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3489 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3490 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3491 return RegRestoreKeyW (hKey, (LPCWSTR) lpFile, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3492 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3493 return RegRestoreKeyA (hKey, (LPCSTR) lpFile, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3494 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3495 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3496 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3497 qxeRegSaveKey (HKEY hKey, const Extbyte * lpFile, LPSECURITY_ATTRIBUTES lpSecurityAttributes) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3498 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3499 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3500 return RegSaveKeyW (hKey, (LPCWSTR) lpFile, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3501 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3502 return RegSaveKeyA (hKey, (LPCSTR) lpFile, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3503 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3504 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3505 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3506 qxeRegSetValue (HKEY hKey, const Extbyte * lpSubKey, DWORD dwType, const Extbyte * lpData, DWORD cbData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3507 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3508 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3509 return RegSetValueW (hKey, (LPCWSTR) lpSubKey, dwType, (LPCWSTR) lpData, cbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3510 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3511 return RegSetValueA (hKey, (LPCSTR) lpSubKey, dwType, (LPCSTR) lpData, cbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3512 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3513 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3514 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3515 qxeRegSetValueEx (HKEY hKey, const Extbyte * lpValueName, DWORD Reserved, DWORD dwType, CONST BYTE * lpData, DWORD cbData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3516 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3517 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3518 return RegSetValueExW (hKey, (LPCWSTR) lpValueName, Reserved, dwType, lpData, cbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3519 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3520 return RegSetValueExA (hKey, (LPCSTR) lpValueName, Reserved, dwType, lpData, cbData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3521 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3522 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3523 LONG |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3524 qxeRegUnLoadKey (HKEY hKey, const Extbyte * lpSubKey) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3525 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3526 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3527 return RegUnLoadKeyW (hKey, (LPCWSTR) lpSubKey); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3528 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3529 return RegUnLoadKeyA (hKey, (LPCSTR) lpSubKey); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3530 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3531 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3532 /* Error if RegGetValue used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3533 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3534 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3535 qxeInitiateSystemShutdown (Extbyte * lpMachineName, Extbyte * lpMessage, DWORD dwTimeout, WINBOOL bForceAppsClosed, WINBOOL bRebootAfterShutdown) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3536 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3537 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3538 return InitiateSystemShutdownW ((LPWSTR) lpMachineName, (LPWSTR) lpMessage, dwTimeout, bForceAppsClosed, bRebootAfterShutdown); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3539 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3540 return InitiateSystemShutdownA ((LPSTR) lpMachineName, (LPSTR) lpMessage, dwTimeout, bForceAppsClosed, bRebootAfterShutdown); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3541 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3542 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3543 /* NOTE: error arg 1, Cygwin prototype, extra const. |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3544 NOTE: Prototype manually overridden. |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3545 Header file claims: |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3546 WINADVAPI WINBOOL WINAPI AbortSystemShutdown(LPWSTR lpMachineName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3547 Overridden with: |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3548 BOOL AbortSystemShutdown(LPWSTR) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3549 Differences in return-type qualifiers, e.g. WINAPI, are not important. |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3550 */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3551 BOOL |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3552 qxeAbortSystemShutdown (Extbyte * arg1) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3553 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3554 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3555 return AbortSystemShutdownW ((LPWSTR) arg1); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3556 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3557 return AbortSystemShutdownA ((LPSTR) arg1); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3558 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3559 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3560 /* Error if InitiateSystemShutdownEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3561 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3562 /* Error if RegSaveKeyEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3563 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3564 /* Error if RegCopyTree used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3565 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3566 /* Error if RegCreateKeyTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3567 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3568 /* Error if RegDeleteKeyTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3569 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3570 /* Error if RegDeleteKeyValue used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3571 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3572 /* Error if RegDeleteTree used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3573 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3574 /* Error if RegLoadAppKey used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3575 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3576 /* Error if RegLoadMUIString used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3577 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3578 /* Error if RegOpenKeyTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3579 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3580 /* Error if RegSetKeyValue used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3581 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3582 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3583 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3584 /* Processing file SYSINFOAPI.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3585 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3586 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3587 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3588 qxeGetSystemDirectory (Extbyte * lpBuffer, UINT uSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3589 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3590 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3591 return GetSystemDirectoryW ((LPWSTR) lpBuffer, uSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3592 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3593 return GetSystemDirectoryA ((LPSTR) lpBuffer, uSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3594 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3595 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3596 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3597 qxeGetWindowsDirectory (Extbyte * lpBuffer, UINT uSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3598 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3599 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3600 return GetWindowsDirectoryW ((LPWSTR) lpBuffer, uSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3601 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3602 return GetWindowsDirectoryA ((LPSTR) lpBuffer, uSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3603 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3604 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3605 /* Error if GetSystemWindowsDirectory used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3606 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3607 /* Error if GetComputerNameEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3608 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3609 /* Error if SetComputerNameEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3610 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3611 /* Error if GetVersionEx used: HST: new? -- needs review */ |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3612 |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3613 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3614 /*----------------------------------------------------------------------*/ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3615 /* Processing file COMMDLG.H */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3616 /*----------------------------------------------------------------------*/ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3617 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3618 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3619 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3620 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3621 qxeGetOpenFileName (LPOPENFILENAMEW arg1) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3622 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3623 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3624 return GetOpenFileNameW (arg1); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3625 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3626 return GetOpenFileNameA ((LPOPENFILENAMEA) arg1); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3627 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3628 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3629 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3630 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3631 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3632 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3633 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3634 qxeGetSaveFileName (LPOPENFILENAMEW arg1) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3635 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3636 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3637 return GetSaveFileNameW (arg1); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3638 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3639 return GetSaveFileNameA ((LPOPENFILENAMEA) arg1); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3640 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3641 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3642 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3643 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3644 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3645 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3646 short |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3647 qxeGetFileTitle (const Extbyte * arg1, Extbyte * arg2, WORD arg3) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3648 { |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3649 if (XEUNICODE_P) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3650 return GetFileTitleW ((LPCWSTR) arg1, (LPWSTR) arg2, arg3); |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3651 else |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3652 return GetFileTitleA ((LPCSTR) arg1, (LPSTR) arg2, arg3); |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3653 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3654 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3655 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3656 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3657 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3658 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3659 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3660 qxeChooseColor (LPCHOOSECOLORW arg1) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3661 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3662 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3663 return ChooseColorW (arg1); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3664 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3665 return ChooseColorA ((LPCHOOSECOLORA) arg1); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3666 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3667 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3668 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3669 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3670 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3671 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3672 HWND |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3673 qxeFindText (LPFINDREPLACEW arg1) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3674 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3675 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3676 return FindTextW (arg1); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3677 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3678 return FindTextA ((LPFINDREPLACEA) arg1); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3679 } |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3680 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3681 #endif /* defined (HAVE_MS_WINDOWS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3682 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3683 #if defined (HAVE_MS_WINDOWS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3684 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3685 HWND |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3686 qxeReplaceText (LPFINDREPLACEW arg1) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3687 { |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3688 if (XEUNICODE_P) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3689 return ReplaceTextW (arg1); |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3690 else |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3691 return ReplaceTextA ((LPFINDREPLACEA) arg1); |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3692 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3693 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3694 #endif /* defined (HAVE_MS_WINDOWS) */ |
3728 | 3695 |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3696 #if defined (HAVE_MS_WINDOWS) |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3697 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3698 /* Error if ChooseFont used: split-sized LPLOGFONT in LPCHOOSEFONT */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3699 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3700 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3701 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3702 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3703 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3704 /* Skipping PrintDlg because LPPRINTDLG with split-sized DEVMODE handle */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3705 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3706 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3707 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3708 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3709 |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3710 /* Error if PrintDlgEx used: Function needs review to determine how to handle it */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3711 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3712 #endif /* defined (HAVE_MS_WINDOWS) */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3713 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3714 #if defined (HAVE_MS_WINDOWS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3715 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3716 /* Skipping PageSetupDlg because LPPAGESETUPDLG with split-sized DEVMODE handle */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3717 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3718 #endif /* defined (HAVE_MS_WINDOWS) */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3719 |
3728 | 3720 |
3721 /*----------------------------------------------------------------------*/ | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3722 /* Processing file SHLOBJ.H */ |
3728 | 3723 /*----------------------------------------------------------------------*/ |
3724 | |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3725 /* Error if SHGetIconOverlayIndex used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3726 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3727 /* Error if ILCreateFromPath used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3728 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3729 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3730 qxeSHGetPathFromIDList (PCIDLIST_ABSOLUTE pidl, Extbyte * pszPath) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3731 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3732 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3733 return SHGetPathFromIDListW (pidl, (LPWSTR) pszPath); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3734 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3735 return SHGetPathFromIDListA (pidl, (LPSTR) pszPath); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3736 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3737 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3738 /* Error if SHCreateDirectoryEx used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3739 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3740 /* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin libraries */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3741 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3742 /* Error if SHGetFolderPath used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3743 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3744 /* Error if SHSetFolderPath used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3745 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3746 /* Error if SHGetFolderPathAndSubDir used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3747 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3748 /* Skipping SHBrowseForFolder because need to intercept callback for SendMessage */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3749 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3750 /* Error if SHUpdateImage used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3751 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3752 /* Error if PathIsSlow used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3753 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3754 /* Error if SHStartNetConnectionDialog used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3755 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3756 /* Error if SHDefExtractIcon used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3757 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3758 /* Error if Shell_GetCachedImageIndex used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3759 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3760 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3761 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3762 /* Processing file PROCESSTHREADSAPI.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3763 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3764 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3765 VOID |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3766 qxeGetStartupInfo (LPSTARTUPINFOW lpStartupInfo) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3767 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3768 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3769 GetStartupInfoW (lpStartupInfo); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3770 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3771 GetStartupInfoA ((LPSTARTUPINFOA) lpStartupInfo); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3772 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3773 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3774 /* Error if CreateProcess used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3775 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3776 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3777 qxeCreateProcessAsUser (HANDLE hToken, const Extbyte * lpApplicationName, Extbyte * lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, WINBOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, const Extbyte * lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3778 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3779 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3780 return CreateProcessAsUserW (hToken, (LPCWSTR) lpApplicationName, (LPWSTR) lpCommandLine, lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, (LPCWSTR) lpCurrentDirectory, lpStartupInfo, lpProcessInformation); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3781 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3782 return CreateProcessAsUserA (hToken, (LPCSTR) lpApplicationName, (LPSTR) lpCommandLine, lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, (LPCSTR) lpCurrentDirectory, (LPSTARTUPINFOA) lpStartupInfo, lpProcessInformation); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3783 } |
3728 | 3784 |
3785 | |
3786 /*----------------------------------------------------------------------*/ | |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3787 /* Processing file WINBASE.H */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3788 /*----------------------------------------------------------------------*/ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3789 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3790 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3791 qxeGetBinaryType (const Extbyte * lpApplicationName, LPDWORD lpBinaryType) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3792 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3793 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3794 return GetBinaryTypeW ((LPCWSTR) lpApplicationName, lpBinaryType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3795 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3796 return GetBinaryTypeA ((LPCSTR) lpApplicationName, lpBinaryType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3797 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3798 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3799 /* Error if GetLongPathNameTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3800 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3801 /* Error if SetFileShortName used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3802 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3803 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3804 qxeFormatMessage (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, Extbyte * lpBuffer, DWORD nSize, va_list * Arguments) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3805 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3806 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3807 return FormatMessageW (dwFlags, lpSource, dwMessageId, dwLanguageId, (LPWSTR) lpBuffer, nSize, Arguments); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3808 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3809 return FormatMessageA (dwFlags, lpSource, dwMessageId, dwLanguageId, (LPSTR) lpBuffer, nSize, Arguments); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3810 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3811 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3812 HANDLE |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3813 qxeCreateMailslot (const Extbyte * lpName, DWORD nMaxMessageSize, DWORD lReadTimeout, LPSECURITY_ATTRIBUTES lpSecurityAttributes) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3814 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3815 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3816 return CreateMailslotW ((LPCWSTR) lpName, nMaxMessageSize, lReadTimeout, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3817 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3818 return CreateMailslotA ((LPCSTR) lpName, nMaxMessageSize, lReadTimeout, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3819 } |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3820 |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3821 #if !defined (CYGWIN_HEADERS) |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3822 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3823 /* Error if EncryptFile used: Win2K+ only */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3824 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3825 #endif /* !defined (CYGWIN_HEADERS) */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3826 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3827 #if !defined (CYGWIN_HEADERS) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3828 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3829 /* Error if DecryptFile used: Win2K+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3830 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3831 #endif /* !defined (CYGWIN_HEADERS) */ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3832 |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3833 /* Error if FileEncryptionStatus used: Function needs review to determine how to handle it */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3834 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3835 /* Error if OpenEncryptedFileRaw used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3836 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3837 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3838 qxelstrcmp (const Extbyte * lpString1, const Extbyte * lpString2) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3839 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3840 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3841 return lstrcmpW ((LPCWSTR) lpString1, (LPCWSTR) lpString2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3842 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3843 return lstrcmpA ((LPCSTR) lpString1, (LPCSTR) lpString2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3844 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3845 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3846 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3847 qxelstrcmpi (const Extbyte * lpString1, const Extbyte * lpString2) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3848 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3849 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3850 return lstrcmpiW ((LPCWSTR) lpString1, (LPCWSTR) lpString2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3851 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3852 return lstrcmpiA ((LPCSTR) lpString1, (LPCSTR) lpString2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3853 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3854 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3855 Extbyte * |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3856 qxelstrcpyn (Extbyte * lpString1, const Extbyte * lpString2, int iMaxLength) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3857 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3858 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3859 return (Extbyte *) lstrcpynW ((LPWSTR) lpString1, (LPCWSTR) lpString2, iMaxLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3860 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3861 return (Extbyte *) lstrcpynA ((LPSTR) lpString1, (LPCSTR) lpString2, iMaxLength); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3862 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3863 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3864 Extbyte * |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3865 qxelstrcpy (Extbyte * lpString1, const Extbyte * lpString2) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3866 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3867 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3868 return (Extbyte *) lstrcpyW ((LPWSTR) lpString1, (LPCWSTR) lpString2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3869 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3870 return (Extbyte *) lstrcpyA ((LPSTR) lpString1, (LPCSTR) lpString2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3871 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3872 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3873 Extbyte * |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3874 qxelstrcat (Extbyte * lpString1, const Extbyte * lpString2) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3875 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3876 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3877 return (Extbyte *) lstrcatW ((LPWSTR) lpString1, (LPCWSTR) lpString2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3878 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3879 return (Extbyte *) lstrcatA ((LPSTR) lpString1, (LPCSTR) lpString2); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3880 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3881 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3882 int |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3883 qxelstrlen (const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3884 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3885 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3886 return lstrlenW ((LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3887 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3888 return lstrlenA ((LPCSTR) lpString); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3889 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3890 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3891 HANDLE |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3892 qxeCreateSemaphore (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, const Extbyte * lpName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3893 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3894 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3895 return CreateSemaphoreW (lpSemaphoreAttributes, lInitialCount, lMaximumCount, (LPCWSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3896 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3897 return CreateSemaphoreA (lpSemaphoreAttributes, lInitialCount, lMaximumCount, (LPCSTR) lpName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3898 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3899 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3900 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3901 qxeCreateWaitableTimer (LPSECURITY_ATTRIBUTES lpTimerAttributes, WINBOOL bManualReset, const Extbyte * lpTimerName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3902 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3903 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3904 return CreateWaitableTimerW (lpTimerAttributes, bManualReset, (LPCWSTR) lpTimerName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3905 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3906 return CreateWaitableTimerA (lpTimerAttributes, bManualReset, (LPCSTR) lpTimerName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3907 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3908 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3909 HMODULE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3910 qxeLoadLibrary (const Extbyte * lpLibFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3911 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3912 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3913 return LoadLibraryW ((LPCWSTR) lpLibFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3914 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3915 return LoadLibraryA ((LPCSTR) lpLibFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3916 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3917 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3918 /* Error if QueryFullProcessImageName used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3919 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3920 VOID |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3921 qxeFatalAppExit (UINT uAction, const Extbyte * lpMessageText) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3922 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3923 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3924 FatalAppExitW (uAction, (LPCWSTR) lpMessageText); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3925 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3926 FatalAppExitA (uAction, (LPCSTR) lpMessageText); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3927 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3928 |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3929 /* Error if GetFirmwareEnvironmentVariable used: Function needs review to determine how to handle it */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
3930 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3931 /* Error if SetFirmwareEnvironmentVariable used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3932 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3933 HRSRC |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3934 qxeFindResource (HMODULE hModule, const Extbyte * lpName, const Extbyte * lpType) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3935 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3936 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3937 return FindResourceW (hModule, (LPCWSTR) lpName, (LPCWSTR) lpType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3938 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3939 return FindResourceA (hModule, (LPCSTR) lpName, (LPCSTR) lpType); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3940 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3941 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3942 /* Skipping EnumResourceTypes because different prototypes in VC6 and VC7 */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3943 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3944 /* Skipping EnumResourceNames because different prototypes in VC6 and VC7 */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3945 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3946 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3947 qxeBeginUpdateResource (const Extbyte * pFileName, WINBOOL bDeleteExistingResources) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3948 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3949 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3950 return BeginUpdateResourceW ((LPCWSTR) pFileName, bDeleteExistingResources); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3951 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3952 return BeginUpdateResourceA ((LPCSTR) pFileName, bDeleteExistingResources); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3953 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3954 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3955 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3956 qxeUpdateResource (HANDLE hUpdate, const Extbyte * lpType, const Extbyte * lpName, WORD wLanguage, LPVOID lpData, DWORD cb) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3957 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3958 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3959 return UpdateResourceW (hUpdate, (LPCWSTR) lpType, (LPCWSTR) lpName, wLanguage, lpData, cb); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3960 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3961 return UpdateResourceA (hUpdate, (LPCSTR) lpType, (LPCSTR) lpName, wLanguage, lpData, cb); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3962 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3963 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3964 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3965 qxeEndUpdateResource (HANDLE hUpdate, WINBOOL fDiscard) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3966 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3967 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3968 return EndUpdateResourceW (hUpdate, fDiscard); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3969 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3970 return EndUpdateResourceA (hUpdate, fDiscard); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3971 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3972 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3973 /* Error if GetFirmwareEnvironmentVariableEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3974 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3975 /* Error if SetFirmwareEnvironmentVariableEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3976 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3977 ATOM |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3978 qxeGlobalAddAtom (const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3979 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3980 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3981 return GlobalAddAtomW ((LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3982 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3983 return GlobalAddAtomA ((LPCSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3984 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3985 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3986 /* Error if GlobalAddAtomEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3987 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3988 ATOM |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3989 qxeGlobalFindAtom (const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3990 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3991 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3992 return GlobalFindAtomW ((LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3993 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3994 return GlobalFindAtomA ((LPCSTR) lpString); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3995 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3996 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
3997 UINT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3998 qxeGlobalGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
3999 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4000 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4001 return GlobalGetAtomNameW (nAtom, (LPWSTR) lpBuffer, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4002 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4003 return GlobalGetAtomNameA (nAtom, (LPSTR) lpBuffer, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4004 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4005 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4006 ATOM |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4007 qxeAddAtom (const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4008 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4009 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4010 return AddAtomW ((LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4011 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4012 return AddAtomA ((LPCSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4013 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4014 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4015 ATOM |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4016 qxeFindAtom (const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4017 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4018 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4019 return FindAtomW ((LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4020 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4021 return FindAtomA ((LPCSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4022 } |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4023 |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4024 UINT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4025 qxeGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4026 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4027 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4028 return GetAtomNameW (nAtom, (LPWSTR) lpBuffer, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4029 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4030 return GetAtomNameA (nAtom, (LPSTR) lpBuffer, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4031 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4032 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4033 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4034 qxeGetProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT nDefault) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4035 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4036 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4037 return GetProfileIntW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, nDefault); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4038 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4039 return GetProfileIntA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, nDefault); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4040 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4041 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4042 DWORD |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4043 qxeGetProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpDefault, Extbyte * lpReturnedString, DWORD nSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4044 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4045 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4046 return GetProfileStringW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, (LPCWSTR) lpDefault, (LPWSTR) lpReturnedString, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4047 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4048 return GetProfileStringA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, (LPCSTR) lpDefault, (LPSTR) lpReturnedString, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4049 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4050 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4051 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4052 qxeWriteProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4053 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4054 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4055 return WriteProfileStringW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, (LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4056 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4057 return WriteProfileStringA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, (LPCSTR) lpString); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4058 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4059 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4060 DWORD |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4061 qxeGetProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString, DWORD nSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4062 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4063 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4064 return GetProfileSectionW ((LPCWSTR) lpAppName, (LPWSTR) lpReturnedString, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4065 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4066 return GetProfileSectionA ((LPCSTR) lpAppName, (LPSTR) lpReturnedString, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4067 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4068 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4069 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4070 qxeWriteProfileSection (const Extbyte * lpAppName, const Extbyte * lpString) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4071 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4072 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4073 return WriteProfileSectionW ((LPCWSTR) lpAppName, (LPCWSTR) lpString); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4074 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4075 return WriteProfileSectionA ((LPCSTR) lpAppName, (LPCSTR) lpString); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4076 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4077 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4078 UINT |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4079 qxeGetPrivateProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT nDefault, const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4080 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4081 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4082 return GetPrivateProfileIntW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, nDefault, (LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4083 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4084 return GetPrivateProfileIntA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, nDefault, (LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4085 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4086 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4087 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4088 qxeGetPrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpDefault, Extbyte * lpReturnedString, DWORD nSize, const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4089 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4090 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4091 return GetPrivateProfileStringW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, (LPCWSTR) lpDefault, (LPWSTR) lpReturnedString, nSize, (LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4092 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4093 return GetPrivateProfileStringA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, (LPCSTR) lpDefault, (LPSTR) lpReturnedString, nSize, (LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4094 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4095 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4096 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4097 qxeWritePrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpString, const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4098 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4099 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4100 return WritePrivateProfileStringW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, (LPCWSTR) lpString, (LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4101 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4102 return WritePrivateProfileStringA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, (LPCSTR) lpString, (LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4103 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4104 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4105 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4106 qxeGetPrivateProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString, DWORD nSize, const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4107 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4108 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4109 return GetPrivateProfileSectionW ((LPCWSTR) lpAppName, (LPWSTR) lpReturnedString, nSize, (LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4110 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4111 return GetPrivateProfileSectionA ((LPCSTR) lpAppName, (LPSTR) lpReturnedString, nSize, (LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4112 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4113 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4114 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4115 qxeWritePrivateProfileSection (const Extbyte * lpAppName, const Extbyte * lpString, const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4116 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4117 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4118 return WritePrivateProfileSectionW ((LPCWSTR) lpAppName, (LPCWSTR) lpString, (LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4119 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4120 return WritePrivateProfileSectionA ((LPCSTR) lpAppName, (LPCSTR) lpString, (LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4121 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4122 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4123 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4124 qxeGetPrivateProfileSectionNames (Extbyte * lpszReturnBuffer, DWORD nSize, const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4125 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4126 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4127 return GetPrivateProfileSectionNamesW ((LPWSTR) lpszReturnBuffer, nSize, (LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4128 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4129 return GetPrivateProfileSectionNamesA ((LPSTR) lpszReturnBuffer, nSize, (LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4130 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4131 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4132 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4133 qxeGetPrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey, LPVOID lpStruct, UINT uSizeStruct, const Extbyte * szFile) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4134 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4135 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4136 return GetPrivateProfileStructW ((LPCWSTR) lpszSection, (LPCWSTR) lpszKey, lpStruct, uSizeStruct, (LPCWSTR) szFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4137 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4138 return GetPrivateProfileStructA ((LPCSTR) lpszSection, (LPCSTR) lpszKey, lpStruct, uSizeStruct, (LPCSTR) szFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4139 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4140 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4141 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4142 qxeWritePrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey, LPVOID lpStruct, UINT uSizeStruct, const Extbyte * szFile) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4143 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4144 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4145 return WritePrivateProfileStructW ((LPCWSTR) lpszSection, (LPCWSTR) lpszKey, lpStruct, uSizeStruct, (LPCWSTR) szFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4146 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4147 return WritePrivateProfileStructA ((LPCSTR) lpszSection, (LPCSTR) lpszKey, lpStruct, uSizeStruct, (LPCSTR) szFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4148 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4149 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4150 /* Error if GetSystemWow64Directory used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4151 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4152 /* Error if SetDllDirectory used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4153 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4154 /* Error if GetDllDirectory used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4155 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4156 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4157 qxeCreateDirectoryEx (const Extbyte * lpTemplateDirectory, const Extbyte * lpNewDirectory, LPSECURITY_ATTRIBUTES lpSecurityAttributes) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4158 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4159 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4160 return CreateDirectoryExW ((LPCWSTR) lpTemplateDirectory, (LPCWSTR) lpNewDirectory, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4161 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4162 return CreateDirectoryExA ((LPCSTR) lpTemplateDirectory, (LPCSTR) lpNewDirectory, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4163 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4164 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4165 /* Error if CreateDirectoryTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4166 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4167 /* Error if RemoveDirectoryTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4168 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4169 /* Error if GetFullPathNameTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4170 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4171 /* Error if CreateFileTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4172 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4173 /* Error if SetFileAttributesTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4174 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4175 /* Error if GetFileAttributesTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4176 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4177 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4178 qxeGetCompressedFileSize (const Extbyte * lpFileName, LPDWORD lpFileSizeHigh) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4179 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4180 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4181 return GetCompressedFileSizeW ((LPCWSTR) lpFileName, lpFileSizeHigh); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4182 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4183 return GetCompressedFileSizeA ((LPCSTR) lpFileName, lpFileSizeHigh); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4184 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4185 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4186 /* Error if GetCompressedFileSizeTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4187 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4188 /* Error if DeleteFileTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4189 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4190 /* Error if CheckNameLegalDOS8Dot3 used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4191 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4192 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4193 qxeCopyFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, WINBOOL bFailIfExists) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4194 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4195 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4196 return CopyFileW ((LPCWSTR) lpExistingFileName, (LPCWSTR) lpNewFileName, bFailIfExists); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4197 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4198 return CopyFileA ((LPCSTR) lpExistingFileName, (LPCSTR) lpNewFileName, bFailIfExists); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4199 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4200 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4201 /* NOTE: NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4202 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4203 qxeCopyFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4204 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4205 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4206 return CopyFileExW ((LPCWSTR) lpExistingFileName, (LPCWSTR) lpNewFileName, lpProgressRoutine, lpData, pbCancel, dwCopyFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4207 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4208 return CopyFileExA ((LPCSTR) lpExistingFileName, (LPCSTR) lpNewFileName, lpProgressRoutine, lpData, pbCancel, dwCopyFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4209 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4210 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4211 /* Error if FindFirstFileTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4212 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4213 /* Error if CopyFileTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4214 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4215 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4216 qxeMoveFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4217 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4218 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4219 return MoveFileW ((LPCWSTR) lpExistingFileName, (LPCWSTR) lpNewFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4220 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4221 return MoveFileA ((LPCSTR) lpExistingFileName, (LPCSTR) lpNewFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4222 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4223 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4224 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4225 qxeMoveFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, DWORD dwFlags) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4226 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4227 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4228 return MoveFileExW ((LPCWSTR) lpExistingFileName, (LPCWSTR) lpNewFileName, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4229 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4230 return MoveFileExA ((LPCSTR) lpExistingFileName, (LPCSTR) lpNewFileName, dwFlags); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4231 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4232 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4233 /* Error if MoveFileWithProgress used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4234 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4235 /* Error if MoveFileTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4236 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4237 /* Error if ReplaceFile used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4238 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4239 /* Error if CreateHardLink used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4240 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4241 /* Error if CreateHardLinkTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4242 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4243 /* Error if FindFirstStream used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4244 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4245 /* Error if FindNextStream used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4246 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4247 /* Error if FindFirstStreamTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4248 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4249 /* Error if FindFirstFileName used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4250 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4251 /* Error if FindNextFileName used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4252 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4253 /* Error if FindFirstFileNameTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4254 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4255 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4256 qxeGetNamedPipeHandleState (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, Extbyte * lpUserName, DWORD nMaxUserNameSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4257 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4258 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4259 return GetNamedPipeHandleStateW (hNamedPipe, lpState, lpCurInstances, lpMaxCollectionCount, lpCollectDataTimeout, (LPWSTR) lpUserName, nMaxUserNameSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4260 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4261 return GetNamedPipeHandleStateA (hNamedPipe, lpState, lpCurInstances, lpMaxCollectionCount, lpCollectDataTimeout, (LPSTR) lpUserName, nMaxUserNameSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4262 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4263 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4264 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4265 qxeCallNamedPipe (const Extbyte * lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4266 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4267 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4268 return CallNamedPipeW ((LPCWSTR) lpNamedPipeName, lpInBuffer, nInBufferSize, lpOutBuffer, nOutBufferSize, lpBytesRead, nTimeOut); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4269 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4270 return CallNamedPipeA ((LPCSTR) lpNamedPipeName, lpInBuffer, nInBufferSize, lpOutBuffer, nOutBufferSize, lpBytesRead, nTimeOut); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4271 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4272 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4273 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4274 qxeSetVolumeLabel (const Extbyte * lpRootPathName, const Extbyte * lpVolumeName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4275 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4276 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4277 return SetVolumeLabelW ((LPCWSTR) lpRootPathName, (LPCWSTR) lpVolumeName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4278 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4279 return SetVolumeLabelA ((LPCSTR) lpRootPathName, (LPCSTR) lpVolumeName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4280 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4281 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4282 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4283 qxeClearEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4284 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4285 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4286 return ClearEventLogW (hEventLog, (LPCWSTR) lpBackupFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4287 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4288 return ClearEventLogA (hEventLog, (LPCSTR) lpBackupFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4289 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4290 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4291 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4292 qxeBackupEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4293 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4294 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4295 return BackupEventLogW (hEventLog, (LPCWSTR) lpBackupFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4296 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4297 return BackupEventLogA (hEventLog, (LPCSTR) lpBackupFileName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4298 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4299 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4300 HANDLE |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4301 qxeOpenEventLog (const Extbyte * lpUNCServerName, const Extbyte * lpSourceName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4302 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4303 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4304 return OpenEventLogW ((LPCWSTR) lpUNCServerName, (LPCWSTR) lpSourceName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4305 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4306 return OpenEventLogA ((LPCSTR) lpUNCServerName, (LPCSTR) lpSourceName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4307 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4308 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4309 HANDLE |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4310 qxeRegisterEventSource (const Extbyte * lpUNCServerName, const Extbyte * lpSourceName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4311 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4312 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4313 return RegisterEventSourceW ((LPCWSTR) lpUNCServerName, (LPCWSTR) lpSourceName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4314 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4315 return RegisterEventSourceA ((LPCSTR) lpUNCServerName, (LPCSTR) lpSourceName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4316 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4317 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4318 HANDLE |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4319 qxeOpenBackupEventLog (const Extbyte * lpUNCServerName, const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4320 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4321 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4322 return OpenBackupEventLogW ((LPCWSTR) lpUNCServerName, (LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4323 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4324 return OpenBackupEventLogA ((LPCSTR) lpUNCServerName, (LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4325 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4326 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4327 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4328 qxeReadEventLog (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD * pnBytesRead, DWORD * pnMinNumberOfBytesNeeded) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4329 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4330 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4331 return ReadEventLogW (hEventLog, dwReadFlags, dwRecordOffset, lpBuffer, nNumberOfBytesToRead, pnBytesRead, pnMinNumberOfBytesNeeded); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4332 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4333 return ReadEventLogA (hEventLog, dwReadFlags, dwRecordOffset, lpBuffer, nNumberOfBytesToRead, pnBytesRead, pnMinNumberOfBytesNeeded); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4334 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4335 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4336 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4337 qxeReportEvent (HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dwEventID, PSID lpUserSid, WORD wNumStrings, DWORD dwDataSize, const Extbyte * * lpStrings, LPVOID lpRawData) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4338 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4339 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4340 return ReportEventW (hEventLog, wType, wCategory, dwEventID, lpUserSid, wNumStrings, dwDataSize, (LPCWSTR *) lpStrings, lpRawData); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4341 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4342 return ReportEventA (hEventLog, wType, wCategory, dwEventID, lpUserSid, wNumStrings, dwDataSize, (LPCSTR *) lpStrings, lpRawData); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4343 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4344 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4345 /* Error if ReadDirectoryChanges used: Unicode-only */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4346 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4347 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4348 qxeIsBadStringPtr (const Extbyte * lpsz, UINT_PTR ucchMax) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4349 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4350 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4351 return IsBadStringPtrW ((LPCWSTR) lpsz, ucchMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4352 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4353 return IsBadStringPtrA ((LPCSTR) lpsz, ucchMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4354 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4355 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4356 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4357 qxeLookupAccountSid (const Extbyte * lpSystemName, PSID Sid, Extbyte * Name, LPDWORD cchName, Extbyte * ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4358 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4359 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4360 return LookupAccountSidW ((LPCWSTR) lpSystemName, Sid, (LPWSTR) Name, cchName, (LPWSTR) ReferencedDomainName, cchReferencedDomainName, peUse); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4361 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4362 return LookupAccountSidA ((LPCSTR) lpSystemName, Sid, (LPSTR) Name, cchName, (LPSTR) ReferencedDomainName, cchReferencedDomainName, peUse); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4363 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4364 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4365 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4366 qxeLookupAccountName (const Extbyte * lpSystemName, const Extbyte * lpAccountName, PSID Sid, LPDWORD cbSid, Extbyte * ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4367 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4368 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4369 return LookupAccountNameW ((LPCWSTR) lpSystemName, (LPCWSTR) lpAccountName, Sid, cbSid, (LPWSTR) ReferencedDomainName, cchReferencedDomainName, peUse); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4370 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4371 return LookupAccountNameA ((LPCSTR) lpSystemName, (LPCSTR) lpAccountName, Sid, cbSid, (LPSTR) ReferencedDomainName, cchReferencedDomainName, peUse); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4372 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4373 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4374 /* Error if LookupAccountNameLocal used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4375 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4376 /* Error if LookupAccountSidLocal used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4377 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4378 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4379 qxeLookupPrivilegeValue (const Extbyte * lpSystemName, const Extbyte * lpName, PLUID lpLuid) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4380 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4381 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4382 return LookupPrivilegeValueW ((LPCWSTR) lpSystemName, (LPCWSTR) lpName, lpLuid); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4383 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4384 return LookupPrivilegeValueA ((LPCSTR) lpSystemName, (LPCSTR) lpName, lpLuid); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4385 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4386 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4387 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4388 qxeLookupPrivilegeName (const Extbyte * lpSystemName, PLUID lpLuid, Extbyte * lpName, LPDWORD cchName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4389 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4390 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4391 return LookupPrivilegeNameW ((LPCWSTR) lpSystemName, lpLuid, (LPWSTR) lpName, cchName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4392 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4393 return LookupPrivilegeNameA ((LPCSTR) lpSystemName, lpLuid, (LPSTR) lpName, cchName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4394 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4395 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4396 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4397 qxeLookupPrivilegeDisplayName (const Extbyte * lpSystemName, const Extbyte * lpName, Extbyte * lpDisplayName, LPDWORD cchDisplayName, LPDWORD lpLanguageId) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4398 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4399 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4400 return LookupPrivilegeDisplayNameW ((LPCWSTR) lpSystemName, (LPCWSTR) lpName, (LPWSTR) lpDisplayName, cchDisplayName, lpLanguageId); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4401 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4402 return LookupPrivilegeDisplayNameA ((LPCSTR) lpSystemName, (LPCSTR) lpName, (LPSTR) lpDisplayName, cchDisplayName, lpLanguageId); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4403 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4404 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4405 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4406 qxeBuildCommDCB (const Extbyte * lpDef, LPDCB lpDCB) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4407 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4408 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4409 return BuildCommDCBW ((LPCWSTR) lpDef, lpDCB); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4410 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4411 return BuildCommDCBA ((LPCSTR) lpDef, lpDCB); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4412 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4413 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4414 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4415 qxeBuildCommDCBAndTimeouts (const Extbyte * lpDef, LPDCB lpDCB, LPCOMMTIMEOUTS lpCommTimeouts) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4416 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4417 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4418 return BuildCommDCBAndTimeoutsW ((LPCWSTR) lpDef, lpDCB, lpCommTimeouts); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4419 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4420 return BuildCommDCBAndTimeoutsA ((LPCSTR) lpDef, lpDCB, lpCommTimeouts); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4421 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4422 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4423 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4424 qxeCommConfigDialog (const Extbyte * lpszName, HWND hWnd, LPCOMMCONFIG lpCC) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4425 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4426 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4427 return CommConfigDialogW ((LPCWSTR) lpszName, hWnd, lpCC); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4428 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4429 return CommConfigDialogA ((LPCSTR) lpszName, hWnd, lpCC); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4430 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4431 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4432 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4433 qxeGetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, LPDWORD lpdwSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4434 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4435 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4436 return GetDefaultCommConfigW ((LPCWSTR) lpszName, lpCC, lpdwSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4437 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4438 return GetDefaultCommConfigA ((LPCSTR) lpszName, lpCC, lpdwSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4439 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4440 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4441 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4442 qxeSetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, DWORD dwSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4443 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4444 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4445 return SetDefaultCommConfigW ((LPCWSTR) lpszName, lpCC, dwSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4446 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4447 return SetDefaultCommConfigA ((LPCSTR) lpszName, lpCC, dwSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4448 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4449 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4450 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4451 qxeGetComputerName (Extbyte * lpBuffer, LPDWORD nSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4452 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4453 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4454 return GetComputerNameW ((LPWSTR) lpBuffer, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4455 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4456 return GetComputerNameA ((LPSTR) lpBuffer, nSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4457 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4458 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4459 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4460 qxeSetComputerName (const Extbyte * lpComputerName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4461 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4462 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4463 return SetComputerNameW ((LPCWSTR) lpComputerName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4464 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4465 return SetComputerNameA ((LPCSTR) lpComputerName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4466 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4467 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4468 /* Error if DnsHostnameToComputerName used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4469 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4470 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4471 qxeGetUserName (Extbyte * lpBuffer, LPDWORD pcbBuffer) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4472 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4473 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4474 return GetUserNameW ((LPWSTR) lpBuffer, pcbBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4475 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4476 return GetUserNameA ((LPSTR) lpBuffer, pcbBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4477 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4478 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4479 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4480 qxeLogonUser (const Extbyte * lpszUsername, const Extbyte * lpszDomain, const Extbyte * lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4481 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4482 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4483 return LogonUserW ((LPCWSTR) lpszUsername, (LPCWSTR) lpszDomain, (LPCWSTR) lpszPassword, dwLogonType, dwLogonProvider, phToken); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4484 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4485 return LogonUserA ((LPCSTR) lpszUsername, (LPCSTR) lpszDomain, (LPCSTR) lpszPassword, dwLogonType, dwLogonProvider, phToken); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4486 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4487 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4488 /* Error if LogonUserEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4489 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4490 /* Error if CreateProcessWithLogon used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4491 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4492 /* Error if CreateProcessWithToken used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4493 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4494 /* Error if GetCurrentHwProfile used: split-sized LPHW_PROFILE_INFO; NT 4.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4495 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4496 /* Error if VerifyVersionInfo used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4497 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4498 /* Error if CreateJobObject used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4499 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4500 /* Error if OpenJobObject used: NT 5.0+ only */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4501 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4502 /* Error if FindFirstVolumeMountPoint used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4503 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4504 /* Error if FindNextVolumeMountPoint used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4505 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4506 /* Error if SetVolumeMountPoint used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4507 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4508 /* Error if CreateActCtx used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4509 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4510 /* Error if FindActCtxSectionString used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4511 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4512 /* Error if QueryActCtx used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4513 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4514 /* Error if CreateSymbolicLink used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4515 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4516 /* Error if CreateSymbolicLinkTransacted used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4517 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4518 /* Error if QueryActCtxSettings used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4519 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4520 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4521 /*----------------------------------------------------------------------*/ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4522 /* Processing file FILEAPI.H */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4523 /*----------------------------------------------------------------------*/ |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4524 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4525 HANDLE |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4526 qxeCreateFile (const Extbyte * lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4527 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4528 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4529 return CreateFileW ((LPCWSTR) lpFileName, dwDesiredAccess, dwShareMode, lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4530 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4531 return CreateFileA ((LPCSTR) lpFileName, dwDesiredAccess, dwShareMode, lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4532 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4533 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4534 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4535 qxeDefineDosDevice (DWORD dwFlags, const Extbyte * lpDeviceName, const Extbyte * lpTargetPath) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4536 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4537 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4538 return DefineDosDeviceW (dwFlags, (LPCWSTR) lpDeviceName, (LPCWSTR) lpTargetPath); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4539 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4540 return DefineDosDeviceA (dwFlags, (LPCSTR) lpDeviceName, (LPCSTR) lpTargetPath); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4541 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4542 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4543 /* Error if DeleteVolumeMountPoint used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4544 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4545 HANDLE |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4546 qxeFindFirstChangeNotification (const Extbyte * lpPathName, WINBOOL bWatchSubtree, DWORD dwNotifyFilter) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4547 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4548 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4549 return FindFirstChangeNotificationW ((LPCWSTR) lpPathName, bWatchSubtree, dwNotifyFilter); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4550 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4551 return FindFirstChangeNotificationA ((LPCSTR) lpPathName, bWatchSubtree, dwNotifyFilter); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4552 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4553 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4554 /* Error if FindFirstFile used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4555 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4556 /* Error if FindFirstVolume used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4557 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4558 /* Error if FindNextVolume used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4559 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4560 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4561 qxeGetDiskFreeSpace (const Extbyte * lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4562 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4563 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4564 return GetDiskFreeSpaceW ((LPCWSTR) lpRootPathName, lpSectorsPerCluster, lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4565 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4566 return GetDiskFreeSpaceA ((LPCSTR) lpRootPathName, lpSectorsPerCluster, lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4567 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4568 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4569 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4570 qxeGetDriveType (const Extbyte * lpRootPathName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4571 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4572 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4573 return GetDriveTypeW ((LPCWSTR) lpRootPathName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4574 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4575 return GetDriveTypeA ((LPCSTR) lpRootPathName); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4576 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4577 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4578 DWORD |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4579 qxeGetFileAttributes (const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4580 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4581 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4582 return GetFileAttributesW ((LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4583 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4584 return GetFileAttributesA ((LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4585 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4586 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4587 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4588 qxeGetFullPathName (const Extbyte * lpFileName, DWORD nBufferLength, Extbyte * lpBuffer, Extbyte * * lpFilePart) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4589 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4590 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4591 return GetFullPathNameW ((LPCWSTR) lpFileName, nBufferLength, (LPWSTR) lpBuffer, (LPWSTR *) lpFilePart); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4592 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4593 return GetFullPathNameA ((LPCSTR) lpFileName, nBufferLength, (LPSTR) lpBuffer, (LPSTR *) lpFilePart); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4594 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4595 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4596 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4597 qxeGetLogicalDriveStrings (DWORD nBufferLength, Extbyte * lpBuffer) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4598 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4599 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4600 return GetLogicalDriveStringsW (nBufferLength, (LPWSTR) lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4601 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4602 return GetLogicalDriveStringsA (nBufferLength, (LPSTR) lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4603 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4604 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4605 /* Error if GetLongPathName used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4606 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4607 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4608 qxeGetShortPathName (const Extbyte * lpszLongPath, Extbyte * lpszShortPath, DWORD cchBuffer) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4609 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4610 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4611 return GetShortPathNameW ((LPCWSTR) lpszLongPath, (LPWSTR) lpszShortPath, cchBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4612 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4613 return GetShortPathNameA ((LPCSTR) lpszLongPath, (LPSTR) lpszShortPath, cchBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4614 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4615 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4616 UINT |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4617 qxeGetTempFileName (const Extbyte * lpPathName, const Extbyte * lpPrefixString, UINT uUnique, Extbyte * lpTempFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4618 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4619 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4620 return GetTempFileNameW ((LPCWSTR) lpPathName, (LPCWSTR) lpPrefixString, uUnique, (LPWSTR) lpTempFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4621 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4622 return GetTempFileNameA ((LPCSTR) lpPathName, (LPCSTR) lpPrefixString, uUnique, (LPSTR) lpTempFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4623 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4624 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4625 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4626 qxeGetVolumeInformation (const Extbyte * lpRootPathName, Extbyte * lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, Extbyte * lpFileSystemNameBuffer, DWORD nFileSystemNameSize) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4627 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4628 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4629 return GetVolumeInformationW ((LPCWSTR) lpRootPathName, (LPWSTR) lpVolumeNameBuffer, nVolumeNameSize, lpVolumeSerialNumber, lpMaximumComponentLength, lpFileSystemFlags, (LPWSTR) lpFileSystemNameBuffer, nFileSystemNameSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4630 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4631 return GetVolumeInformationA ((LPCSTR) lpRootPathName, (LPSTR) lpVolumeNameBuffer, nVolumeNameSize, lpVolumeSerialNumber, lpMaximumComponentLength, lpFileSystemFlags, (LPSTR) lpFileSystemNameBuffer, nFileSystemNameSize); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4632 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4633 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4634 /* Error if GetVolumePathName used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4635 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4636 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4637 qxeQueryDosDevice (const Extbyte * lpDeviceName, Extbyte * lpTargetPath, DWORD ucchMax) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4638 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4639 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4640 return QueryDosDeviceW ((LPCWSTR) lpDeviceName, (LPWSTR) lpTargetPath, ucchMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4641 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4642 return QueryDosDeviceA ((LPCSTR) lpDeviceName, (LPSTR) lpTargetPath, ucchMax); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4643 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4644 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4645 DWORD |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4646 qxeGetTempPath (DWORD nBufferLength, Extbyte * lpBuffer) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4647 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4648 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4649 return GetTempPathW (nBufferLength, (LPWSTR) lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4650 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4651 return GetTempPathA (nBufferLength, (LPSTR) lpBuffer); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4652 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4653 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4654 /* Error if GetVolumeNameForVolumeMountPoint used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4655 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4656 /* Error if GetVolumePathNamesForVolumeName used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4657 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4658 /* Error if GetFinalPathNameByHandle used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4659 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4660 /* Error if GetVolumeInformationByHandle used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4661 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4662 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4663 qxeCreateDirectory (const Extbyte * lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4664 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4665 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4666 return CreateDirectoryW ((LPCWSTR) lpPathName, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4667 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4668 return CreateDirectoryA ((LPCSTR) lpPathName, lpSecurityAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4669 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4670 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4671 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4672 qxeDeleteFile (const Extbyte * lpFileName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4673 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4674 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4675 return DeleteFileW ((LPCWSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4676 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4677 return DeleteFileA ((LPCSTR) lpFileName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4678 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4679 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4680 /* Error if FindFirstFileEx used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4681 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4682 /* Error if FindNextFile used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4683 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4684 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4685 qxeGetDiskFreeSpaceEx (const Extbyte * lpDirectoryName, PULARGE_INTEGER lpFreeBytesAvailableToCaller, PULARGE_INTEGER lpTotalNumberOfBytes, PULARGE_INTEGER lpTotalNumberOfFreeBytes) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4686 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4687 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4688 return GetDiskFreeSpaceExW ((LPCWSTR) lpDirectoryName, lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes, lpTotalNumberOfFreeBytes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4689 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4690 return GetDiskFreeSpaceExA ((LPCSTR) lpDirectoryName, lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes, lpTotalNumberOfFreeBytes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4691 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4692 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4693 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4694 qxeGetFileAttributesEx (const Extbyte * lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, LPVOID lpFileInformation) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4695 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4696 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4697 return GetFileAttributesExW ((LPCWSTR) lpFileName, fInfoLevelId, lpFileInformation); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4698 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4699 return GetFileAttributesExA ((LPCSTR) lpFileName, fInfoLevelId, lpFileInformation); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4700 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4701 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4702 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4703 qxeRemoveDirectory (const Extbyte * lpPathName) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4704 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4705 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4706 return RemoveDirectoryW ((LPCWSTR) lpPathName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4707 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4708 return RemoveDirectoryA ((LPCSTR) lpPathName); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4709 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4710 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4711 WINBOOL |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4712 qxeSetFileAttributes (const Extbyte * lpFileName, DWORD dwFileAttributes) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4713 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4714 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4715 return SetFileAttributesW ((LPCWSTR) lpFileName, dwFileAttributes); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4716 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4717 return SetFileAttributesA ((LPCSTR) lpFileName, dwFileAttributes); |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4718 } |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4719 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4720 |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4721 /*----------------------------------------------------------------------*/ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4722 /* Processing file ACLAPI.h */ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4723 /*----------------------------------------------------------------------*/ |
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4724 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4725 /* Error if SetEntriesInAcl used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4726 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4727 /* Error if GetExplicitEntriesFromAcl used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4728 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4729 /* Error if GetEffectiveRightsFromAcl used: Function needs review to determine how to handle it */ |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4730 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4731 /* Error if GetAuditedPermissionsFromAcl used: Function needs review to determine how to handle it */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4732 |
4873
50861fea97f6
regenerate intl-auto-encap-win32.c, now possible from Cygwin /usr/include/w32api headers
Ben Wing <ben@xemacs.org>
parents:
3728
diff
changeset
|
4733 DWORD |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4734 qxeGetNamedSecurityInfo (const Extbyte * pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, PSID * ppsidOwner, PSID * ppsidGroup, PACL * ppDacl, PACL * ppSacl, PSECURITY_DESCRIPTOR * ppSecurityDescriptor) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4735 { |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4736 if (XEUNICODE_P) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4737 return GetNamedSecurityInfoW ((LPCWSTR) pObjectName, ObjectType, SecurityInfo, ppsidOwner, ppsidGroup, ppDacl, ppSacl, ppSecurityDescriptor); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4738 else |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4739 return GetNamedSecurityInfoA ((LPCSTR) pObjectName, ObjectType, SecurityInfo, ppsidOwner, ppsidGroup, ppDacl, ppSacl, ppSecurityDescriptor); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4740 } |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4741 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4742 /* Error if SetNamedSecurityInfo used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4743 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4744 /* Error if GetInheritanceSource used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4745 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4746 /* Error if TreeResetNamedSecurityInfo used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4747 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4748 /* Error if BuildSecurityDescriptor used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4749 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4750 /* Error if LookupSecurityDescriptorParts used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4751 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4752 /* Error if BuildExplicitAccessWithName used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4753 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4754 /* Error if BuildImpersonateExplicitAccessWithName used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4755 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4756 /* Error if BuildTrusteeWithName used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4757 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4758 /* Error if BuildImpersonateTrustee used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4759 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4760 /* Error if BuildTrusteeWithSid used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4761 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4762 /* Error if BuildTrusteeWithObjectsAndSid used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4763 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4764 /* Error if BuildTrusteeWithObjectsAndName used: Function needs review to determine how to handle it */ |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4765 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4766 /* Error if GetTrusteeName used: Function needs review to determine how to handle it */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4767 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4768 /* Error if GetTrusteeType used: Function needs review to determine how to handle it */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4769 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4770 /* Error if GetTrusteeForm used: Function needs review to determine how to handle it */ |
4875
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4771 |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4772 /* Error if GetMultipleTrusteeOperation used: Function needs review to determine how to handle it */ |
49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
Ben Wing <ben@xemacs.org>
parents:
4873
diff
changeset
|
4773 |
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4774 /* Error if GetMultipleTrustee used: Function needs review to determine how to handle it */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4775 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4776 /* Error if TreeSetNamedSecurityInfo used: HST: new? -- needs review */ |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
4911
diff
changeset
|
4777 |