comparison src/intl-auto-encap-win32.h @ 2367:ecf1ebac70d8

[xemacs-hg @ 2004-11-04 23:05:23 by ben] commit mega-patch configure.in: Turn off -Winline and -Wchar-subscripts. Use the right set of cflags when compiling modules. Rewrite ldap configuration to separate the inclusion of lber (needed in recent Cygwin) from the basic checks for the needed libraries. add a function for MAKE_JUNK_C; initially code was added to generate xemacs.def using this, but it will need to be rewritten. add an rm -f for junk.c to avoid weird Cygwin bug with cp -f onto an existing file. Sort list of auto-detected functions and eliminate unused checks for stpcpy, setlocale and getwd. Add autodetection of Cygwin scanf problems BETA: Rewrite section on configure to indicate what flags are important and what not. digest-doc.c, make-dump-id.c, profile.c, sorted-doc.c: Add proper decls for main(). make-msgfile.c: Document that this is old junk. Move proposal to text.c. make-msgfile.lex: Move proposal to text.c. make-mswin-unicode.pl: Convert error-generating code so that the entire message will be seen as a single unrecognized token. mule/mule-ccl.el: Update docs. lispref/mule.texi: Update CCL docs. ldap/eldap.c: Mule-ize. Use EXTERNAL_LIST_LOOP_2 instead of deleted EXTERNAL_LIST_LOOP. * XEmacs 21.5.18 "chestnut" is released. --------------------------------------------------------------- MULE-RELATED WORK: --------------------------------------------------------------- --------------------------- byte-char conversion --------------------------- buffer.c, buffer.h, insdel.c, text.c: Port FSF algorithm for byte-char conversion, replacing broken previous version. Track the char position of the gap. Add functions to do char-byte conversion downwards as well as upwards. Move comments about algorithm workings to internals manual. --------------------------- work on types --------------------------- alloc.c, console-x-impl.h, dump-data.c, dump-data.h, dumper.c, dialog-msw.c, dired-msw.c, doc.c, editfns.c, esd.c, event-gtk.h, event-msw.c, events.c, file-coding.c, file-coding.h, fns.c, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-shared.c, glyphs-x.c, glyphs.c, glyphs.h, gui.c, hpplay.c, imgproc.c, intl-win32.c, lrecord.h, lstream.c, keymap.c, lisp.h, libsst.c, linuxplay.c, miscplay.c, miscplay.h, mule-coding.c, nas.c, nt.c, ntheap.c, ntplay.c, objects-msw.c, objects-tty.c, objects-x.c, print.c, process-nt.c, process.c, redisplay.h, select-common.h, select-gtk.c, select-x.c, sgiplay.c, sound.c, sound.h, sunplay.c, sysfile.h, sysdep.c, syswindows.h, text.c, unexnt.c, win32.c, xgccache.c: Further work on types. This creates a full set of types for all the basic semantics of `char' that I have so far identified, so that its semantics can always be identified for the purposes of proper Mule-safe code, and the raw use of `char' always avoided. (1) More type renaming, for consistency of naming. Char_ASCII -> Ascbyte UChar_ASCII -> UAscbyte Char_Binary -> CBinbyte UChar_Binary -> Binbyte SChar_Binary -> SBinbyte (2) Introduce Rawbyte, CRawbyte, Boolbyte, Chbyte, UChbyte, and Bitbyte and use them. (3) New types Itext, Wexttext and Textcount for separating out the concepts of bytes and textual units (different under UTF-16 and UTF-32, which are potential internal encodings). (4) qxestr*_c -> qxestr*_ascii. lisp.h: New; goes with other qxe() functions. #### Maybe goes in a different section. lisp.h: Group generic int-type defs together with EMACS_INT defs. lisp.h: * lisp.h (WEXTTEXT_IS_WIDE) New defns. lisp.h: New type to replace places where int occurs as a boolean. It's signed because occasionally people may want to use -1 as an error value, and because unsigned ints are viral -- see comments in the internals manual against using them. dynarr.c: int -> Bytecount. --------------------------- Mule-izing --------------------------- device-x.c: Partially Mule-ize. dumper.c, dumper.h: Mule-ize. Use Rawbyte. Use stderr_out not printf. Use wext_*(). sysdep.c, syswindows.h, text.c: New Wexttext API for manipulation of external text that may be Unicode (e.g. startup code under Windows). emacs.c: Mule-ize. Properly deal with argv in external encoding. Use wext_*() and Wexttext. Use Rawbyte. #if 0 some old junk on SCO that is unlikely to be correct. Rewrite allocation code in run-temacs. emacs.c, symsinit.h, win32.c: Rename win32 init function and call it even earlier, to initialize mswindows_9x_p even earlier, for use in startup code (XEUNICODE_P). process.c: Use _wenviron not environ under Windows, to get Unicode environment variables. event-Xt.c: Mule-ize drag-n-drop related stuff. dragdrop.c, dragdrop.h, frame-x.c: Mule-ize. text.h: Add some more stand-in defines for particular kinds of conversion; use in Mule-ization work in frame-x.c etc. --------------------------- Freshening --------------------------- intl-auto-encap-win32.c, intl-auto-encap-win32.h: Regenerate. --------------------------- Unicode-work --------------------------- intl-win32.c, syswindows.h: Factor out common options to MultiByteToWideChar and WideCharToMultiByte. Add convert_unicode_to_multibyte_malloc() and convert_unicode_to_multibyte_dynarr() and use. Add stuff for alloca() conversion of multibyte/unicode. alloc.c: Use dfc_external_data_len() in case of unicode coding system. alloc.c, mule-charset.c: Don't zero out and reinit charset Unicode tables. This fucks up dump-time loading. Anyway, either we load them at dump time or run time, never both. unicode.c: Dump the blank tables as well. --------------------------------------------------------------- DOCUMENTATION, MOSTLY MULE-RELATED: --------------------------------------------------------------- EmacsFrame.c, emodules.c, event-Xt.c, fileio.c, input-method-xlib.c, mule-wnnfns.c, redisplay-gtk.c, redisplay-tty.c, redisplay-x.c, regex.c, sysdep.c: Add comment about Mule work needed. text.h: Add more documentation describing why DFC routines were not written to return their value. Add some other DFC documentation. console-msw.c, console-msw.h: Add pointer to docs in win32.c. emacs.c: Add comments on sources of doc info. text.c, charset.h, unicode.c, intl-win32.c, intl-encap-win32.c, text.h, file-coding.c, mule-coding.c: Collect background comments and related to text matters and internationalization, and proposals for work to be done, in text.c or Internals manual, stuff related to specific textual API's in text.h, and stuff related to internal implementation of Unicode conversion in unicode.c. Put lots of pointers to the comments to make them easier to find. s/mingw32.h, s/win32-common.h, s/win32-native.h, s/windowsnt.h, win32.c: Add bunches of new documentation on the different kinds of builds and environments under Windows and how they work. Collect this info in win32.c. Add pointers to these docs in the relevant s/* files. emacs.c: Document places with long comments. Remove comment about exiting, move to internals manual, put in pointer. event-stream.c: Move docs about event queues and focus to internals manual, put in pointer. events.h: Move docs about event stream callbacks to internals manual, put in pointer. profile.c, redisplay.c, signal.c: Move documentation to the Internals manual. process-nt.c: Add pointer to comment in win32-native.el. lisp.h: Add comments about some comment conventions. lisp.h: Add comment about the second argument. device-msw.c, redisplay-msw.c: @@#### comments are out-of-date. --------------------------------------------------------------- PDUMP WORK (MOTIVATED BY UNICODE CHANGES) --------------------------------------------------------------- alloc.c, buffer.c, bytecode.c, console-impl.h, console.c, device.c, dumper.c, lrecord.h, elhash.c, emodules.h, events.c, extents.c, frame.c, glyphs.c, glyphs.h, mule-charset.c, mule-coding.c, objects.c, profile.c, rangetab.c, redisplay.c, specifier.c, specifier.h, window.c, lstream.c, file-coding.h, file-coding.c: PDUMP: Properly implement dump_add_root_block(), which never worked before, and is necessary for dumping Unicode tables. Pdump name changes for accuracy: XD_STRUCT_PTR -> XD_BLOCK_PTR. XD_STRUCT_ARRAY -> XD_BLOCK_ARRAY. XD_C_STRING -> XD_ASCII_STRING. *_structure_* -> *_block_*. lrecord.h: some comments added about dump_add_root_block() vs dump_add_root_block_ptr(). extents.c: remove incorrect comment about pdump problems with gap array. --------------------------------------------------------------- ALLOCATION --------------------------------------------------------------- abbrev.c, alloc.c, bytecode.c, casefiddle.c, device-msw.c, device-x.c, dired-msw.c, doc.c, doprnt.c, dragdrop.c, editfns.c, emodules.c, file-coding.c, fileio.c, filelock.c, fns.c, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-x.c, gui-msw.c, gui-x.c, imgproc.c, intl-win32.c, lread.c, menubar-gtk.c, menubar.c, nt.c, objects-msw.c, objects-x.c, print.c, process-nt.c, process-unix.c, process.c, realpath.c, redisplay.c, search.c, select-common.c, symbols.c, sysdep.c, syswindows.h, text.c, text.h, ui-byhand.c: New macros {alloca,xnew}_{itext,{i,ext,raw,bin,asc}bytes} for more convenient allocation of these commonly requested items. Modify functions to use alloca_ibytes, alloca_array, alloca_extbytes, xnew_ibytes, etc. also XREALLOC_ARRAY, xnew. alloc.c: Rewrite the allocation functions to factor out repeated code. Add assertions for freeing dumped data. lisp.h: Moved down and consolidated with other allocation stuff. lisp.h, dynarr.c: New functions for allocation that's very efficient when mostly in LIFO order. lisp.h, text.c, text.h: Factor out some stuff for general use by alloca()-conversion funs. text.h, lisp.h: Fill out convenience routines for allocating various kinds of bytes and put them in lisp.h. Use them in place of xmalloc(), ALLOCA(). text.h: Fill out the convenience functions so the _MALLOC() kinds match the alloca() kinds. --------------------------------------------------------------- ERROR-CHECKING --------------------------------------------------------------- text.h: Create ASSERT_ASCTEXT_ASCII() and ASSERT_ASCTEXT_ASCII_LEN() from similar Eistring checkers and change the Eistring checkers to use them instead. --------------------------------------------------------------- MACROS IN LISP.H --------------------------------------------------------------- lisp.h: Redo GCPRO declarations. Create a "base" set of functions that can be used to generate any kind of gcpro sets -- regular, ngcpro, nngcpro, private ones used in GC_EXTERNAL_LIST_LOOP_2. buffer.c, callint.c, chartab.c, console-msw.c, device-x.c, dialog-msw.c, dired.c, extents.c, ui-gtk.c, rangetab.c, nt.c, mule-coding.c, minibuf.c, menubar-msw.c, menubar.c, menubar-gtk.c, lread.c, lisp.h, gutter.c, glyphs.c, glyphs-widget.c, fns.c, fileio.c, file-coding.c, specifier.c: Eliminate EXTERNAL_LIST_LOOP, which does not check for circularities. Use EXTERNAL_LIST_LOOP_2 instead or EXTERNAL_LIST_LOOP_3 or EXTERNAL_PROPERTY_LIST_LOOP_3 or GC_EXTERNAL_LIST_LOOP_2 (new macro). Removed/redid comments on EXTERNAL_LIST_LOOP. --------------------------------------------------------------- SPACING FIXES --------------------------------------------------------------- callint.c, hftctl.c, number-gmp.c, process-unix.c: Spacing fixes. --------------------------------------------------------------- FIX FOR GEOMETRY PROBLEM IN FIRST FRAME --------------------------------------------------------------- unicode.c: Add workaround for newlib bug in sscanf() [should be fixed by release 1.5.12 of Cygwin]. toolbar.c: bug fix for problem of initial frame being 77 chars wide on Windows. will be overridden by my other ws. --------------------------------------------------------------- FIX FOR LEAKING PROCESS HANDLES: --------------------------------------------------------------- process-nt.c: Fixes for leaking handles. Inspired by work done by Adrian Aichner <adrian@xemacs.org>. --------------------------------------------------------------- FIX FOR CYGWIN BUG (Unicode-related): --------------------------------------------------------------- unicode.c: Add workaround for newlib bug in sscanf() [should be fixed by release 1.5.12 of Cygwin]. --------------------------------------------------------------- WARNING FIXES: --------------------------------------------------------------- console-stream.c: `reinit' is unused. compiler.h, event-msw.c, frame-msw.c, intl-encap-win32.c, text.h: Add stuff to deal with ANSI-aliasing warnings I got. regex.c: Gather includes together to avoid warning. --------------------------------------------------------------- CHANGES TO INITIALIZATION ROUTINES: --------------------------------------------------------------- buffer.c, emacs.c, console.c, debug.c, device-x.c, device.c, dragdrop.c, emodules.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, event-tty.c, events.c, extents.c, faces.c, file-coding.c, fileio.c, font-lock.c, frame-msw.c, glyphs-widget.c, glyphs.c, gui-x.c, insdel.c, lread.c, lstream.c, menubar-gtk.c, menubar-x.c, minibuf.c, mule-wnnfns.c, objects-msw.c, objects.c, print.c, scrollbar-x.c, search.c, select-x.c, text.c, undo.c, unicode.c, window.c, symsinit.h: Call reinit_*() functions directly from emacs.c, for clarity. Factor out some redundant init code. Move disallowed stuff that had crept into vars_of_glyphs() into complex_vars_of_glyphs(). Call init_eval_semi_early() from eval.c not in the middle of vars_of_() in emacs.c since there should be no order dependency in the latter calls. --------------------------------------------------------------- ARMAGEDDON: --------------------------------------------------------------- alloc.c, emacs.c, lisp.h, print.c: Rename inhibit_non_essential_printing_operations to inhibit_non_essential_conversion_operations. text.c: Assert on !inhibit_non_essential_conversion_operations. console-msw.c, print.c: Don't do conversion in SetConsoleTitle or FindWindow to avoid problems during armageddon. Put #errors for NON_ASCII_INTERNAL_FORMAT in places where problems would arise. --------------------------------------------------------------- CHANGES TO THE BUILD PROCEDURE: --------------------------------------------------------------- config.h.in, s/cxux.h, s/usg5-4-2.h, m/powerpc.h: Add comment about correct ordering of this file. Rearrange everything to follow this -- put all #undefs together and before the s&m files. Add undefs for HAVE_ALLOCA, C_ALLOCA, BROKEN_ALLOCA_IN_FUNCTION_CALLS, STACK_DIRECTION. Remove unused HAVE_STPCPY, HAVE_GETWD, HAVE_SETLOCALE. m/gec63.h: Deleted; totally broken, not used at all, not in FSF. m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/altos.h, m/amdahl.h, m/apollo.h, m/att3b.h, m/aviion.h, m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/ews4800r.h, m/gould.h, m/hp300bsd.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, m/intel386.h, m/iris4d.h, m/iris5d.h, m/iris6d.h, m/irist.h, m/isi-ov.h, m/luna88k.h, m/m68k.h, m/masscomp.h, m/mg1.h, m/mips-nec.h, m/mips-siemens.h, m/mips.h, m/news.h, m/nh3000.h, m/nh4000.h, m/ns32000.h, m/orion105.h, m/pfa50.h, m/plexus.h, m/pmax.h, m/powerpc.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, m/sgi-challenge.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, m/targon31.h, m/tekxd88.h, m/template.h, m/tower32.h, m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/xps100.h: Delete C_ALLOCA, HAVE_ALLOCA, STACK_DIRECTION, BROKEN_ALLOCA_IN_FUNCTION_CALLS. All of this is auto-detected. When in doubt, I followed recent FSF sources, which also have these things deleted.
author ben
date Thu, 04 Nov 2004 23:08:28 +0000
parents fba0799e2d79
children 3d8143fc88e1
comparison
equal deleted inserted replaced
2366:2a392e0c390a 2367:ecf1ebac70d8
1 /* Automatically-generated Unicode-encapsulation header file. 1 /* Automatically-generated Unicode-encapsulation header file.
2 Do not edit. See `make-mswin-unicode.pl'. 2 Do not edit. See `make-mswin-unicode.pl'.
3 */ 3 */
4 4
5 5
6 /* Processing file WINNLS.H */ 6 /* Processing file WINCON.H */
7 7
8 #undef GetCPInfoEx 8 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
9 #define GetCPInfoEx error not used, not examined yet 9 #undef PeekConsoleInput
10 10 #define PeekConsoleInput error_use_qxePeekConsoleInput_or_PeekConsoleInputA_and_PeekConsoleInputW
11 #undef CompareString 11 #endif
12 #define CompareString error not used, not examined yet 12 BOOL qxePeekConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead);
13 13
14 #undef LCMapString 14 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
15 #define LCMapString error not used, not examined yet 15 #undef ReadConsoleInput
16 16 #define ReadConsoleInput error_use_qxeReadConsoleInput_or_ReadConsoleInputA_and_ReadConsoleInputW
17 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 17 #endif
18 #undef GetLocaleInfo 18 BOOL qxeReadConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead);
19 #define GetLocaleInfo error use qxeGetLocaleInfo or GetLocaleInfoA/GetLocaleInfoW 19
20 #endif 20 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
21 int qxeGetLocaleInfo (LCID Locale, LCTYPE LCType, Extbyte * lpLCData, int cchData); 21 #undef WriteConsoleInput
22 22 #define WriteConsoleInput error_use_qxeWriteConsoleInput_or_WriteConsoleInputA_and_WriteConsoleInputW
23 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 23 #endif
24 #undef SetLocaleInfo 24 BOOL qxeWriteConsoleInput (HANDLE hConsoleInput, CONST INPUT_RECORD * lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsWritten);
25 #define SetLocaleInfo error use qxeSetLocaleInfo or SetLocaleInfoA/SetLocaleInfoW 25
26 #endif 26 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
27 BOOL qxeSetLocaleInfo (LCID Locale, LCTYPE LCType, const Extbyte * lpLCData); 27 #undef ReadConsoleOutput
28 28 #define ReadConsoleOutput error_use_qxeReadConsoleOutput_or_ReadConsoleOutputA_and_ReadConsoleOutputW
29 #undef GetTimeFormat 29 #endif
30 #define GetTimeFormat error not used, not examined yet 30 BOOL qxeReadConsoleOutput (HANDLE hConsoleOutput, PCHAR_INFO lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpReadRegion);
31 31
32 #undef GetDateFormat 32 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
33 #define GetDateFormat error not used, not examined yet 33 #undef WriteConsoleOutput
34 34 #define WriteConsoleOutput error_use_qxeWriteConsoleOutput_or_WriteConsoleOutputA_and_WriteConsoleOutputW
35 #undef GetNumberFormat 35 #endif
36 #define GetNumberFormat error not used, not examined yet 36 BOOL qxeWriteConsoleOutput (HANDLE hConsoleOutput, CONST CHAR_INFO * lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpWriteRegion);
37 37
38 #undef GetCurrencyFormat 38 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
39 #define GetCurrencyFormat error not used, not examined yet 39 #undef ReadConsoleOutputCharacter
40 40 #define ReadConsoleOutputCharacter error_use_qxeReadConsoleOutputCharacter_or_ReadConsoleOutputCharacterA_and_ReadConsoleOutputCharacterW
41 #undef EnumCalendarInfo 41 #endif
42 #define EnumCalendarInfo error not used, not examined yet 42 BOOL qxeReadConsoleOutputCharacter (HANDLE hConsoleOutput, Extbyte * lpCharacter, DWORD nLength, COORD dwReadCoord, LPDWORD lpNumberOfCharsRead);
43 43
44 #undef EnumCalendarInfoEx 44 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
45 #define EnumCalendarInfoEx error not used, not examined yet 45 #undef WriteConsoleOutputCharacter
46 46 #define WriteConsoleOutputCharacter error_use_qxeWriteConsoleOutputCharacter_or_WriteConsoleOutputCharacterA_and_WriteConsoleOutputCharacterW
47 #undef EnumTimeFormats 47 #endif
48 #define EnumTimeFormats error not used, not examined yet 48 BOOL qxeWriteConsoleOutputCharacter (HANDLE hConsoleOutput, const Extbyte * lpCharacter, DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfCharsWritten);
49 49
50 #undef EnumDateFormats 50 #undef FillConsoleOutputCharacter
51 #define EnumDateFormats error not used, not examined yet 51 #define FillConsoleOutputCharacter error_split_CHAR
52 52
53 #undef EnumDateFormatsEx 53 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
54 #define EnumDateFormatsEx error not used, not examined yet 54 #undef ScrollConsoleScreenBuffer
55 55 #define ScrollConsoleScreenBuffer error_use_qxeScrollConsoleScreenBuffer_or_ScrollConsoleScreenBufferA_and_ScrollConsoleScreenBufferW
56 #undef GetStringTypeEx 56 #endif
57 #define GetStringTypeEx error not used, not examined yet 57 BOOL qxeScrollConsoleScreenBuffer (HANDLE hConsoleOutput, CONST SMALL_RECT * lpScrollRectangle, CONST SMALL_RECT * lpClipRectangle, COORD dwDestinationOrigin, CONST CHAR_INFO * lpFill);
58 58
59 #undef GetStringType 59 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
60 #define GetStringType error no such fun; A and W versions have different nos. of args 60 #undef GetConsoleTitle
61 61 #define GetConsoleTitle error_use_qxeGetConsoleTitle_or_GetConsoleTitleA_and_GetConsoleTitleW
62 #undef FoldString 62 #endif
63 #define FoldString error not used, not examined yet 63 DWORD qxeGetConsoleTitle (Extbyte * lpConsoleTitle, DWORD nSize);
64 64
65 #undef EnumSystemLocales 65 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
66 #define EnumSystemLocales error not used, not examined yet 66 #undef SetConsoleTitle
67 67 #define SetConsoleTitle error_use_qxeSetConsoleTitle_or_SetConsoleTitleA_and_SetConsoleTitleW
68 #undef EnumSystemCodePages 68 #endif
69 #define EnumSystemCodePages error not used, not examined yet 69 BOOL qxeSetConsoleTitle (const Extbyte * lpConsoleTitle);
70
71 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
72 #undef ReadConsole
73 #define ReadConsole error_use_qxeReadConsole_or_ReadConsoleA_and_ReadConsoleW
74 #endif
75 BOOL qxeReadConsole (HANDLE hConsoleInput, LPVOID lpBuffer, DWORD nNumberOfCharsToRead, LPDWORD lpNumberOfCharsRead, LPVOID lpReserved);
76
77 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
78 #undef WriteConsole
79 #define WriteConsole error_use_qxeWriteConsole_or_WriteConsoleA_and_WriteConsoleW
80 #endif
81 BOOL qxeWriteConsole (HANDLE hConsoleOutput, CONST VOID * lpBuffer, DWORD nNumberOfCharsToWrite, LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved);
82
83
84 /* Processing file SHELLAPI.H */
85
86 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
87 #undef DragQueryFile
88 #define DragQueryFile error_use_qxeDragQueryFile_or_DragQueryFileA_and_DragQueryFileW
89 #endif
90 UINT qxeDragQueryFile (HDROP arg1, UINT arg2, Extbyte * arg3, UINT arg4);
91
92 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
93 #undef ShellExecute
94 #define ShellExecute error_use_qxeShellExecute_or_ShellExecuteA_and_ShellExecuteW
95 #endif
96 HINSTANCE qxeShellExecute (HWND hwnd, const Extbyte * lpOperation, const Extbyte * lpFile, const Extbyte * lpParameters, const Extbyte * lpDirectory, INT nShowCmd);
97
98 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
99 #undef FindExecutable
100 #define FindExecutable error_use_qxeFindExecutable_or_FindExecutableA_and_FindExecutableW
101 #endif
102 HINSTANCE qxeFindExecutable (const Extbyte * lpFile, const Extbyte * lpDirectory, Extbyte * lpResult);
103
104 #undef CommandLineToArgv
105 #define CommandLineToArgv error_Unicode_only
106
107 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
108 #undef ShellAbout
109 #define ShellAbout error_use_qxeShellAbout_or_ShellAboutA_and_ShellAboutW
110 #endif
111 INT qxeShellAbout (HWND hWnd, const Extbyte * szApp, const Extbyte * szOtherStuff, HICON hIcon);
112
113 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
114 #undef ExtractAssociatedIcon
115 #define ExtractAssociatedIcon error_use_qxeExtractAssociatedIcon_or_ExtractAssociatedIconA_and_ExtractAssociatedIconW
116 #endif
117 HICON qxeExtractAssociatedIcon (HINSTANCE hInst, Extbyte * lpIconPath, LPWORD lpiIcon);
118
119 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
120 #undef ExtractIcon
121 #define ExtractIcon error_use_qxeExtractIcon_or_ExtractIconA_and_ExtractIconW
122 #endif
123 HICON qxeExtractIcon (HINSTANCE hInst, const Extbyte * lpszExeFileName, UINT nIconIndex);
124
125 #if !defined (CYGWIN_HEADERS)
126 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
127 #undef DoEnvironmentSubst
128 #define DoEnvironmentSubst error_use_qxeDoEnvironmentSubst_or_DoEnvironmentSubstA_and_DoEnvironmentSubstW
129 #endif
130 DWORD qxeDoEnvironmentSubst (Extbyte * szString, UINT cbString);
131 #endif /* !defined (CYGWIN_HEADERS) */
132
133 #undef FindEnvironmentString
134 #define FindEnvironmentString error_causes_link_error__NT_4_0__only
135
136 /* Skipping ExtractIconEx because NT 4.0+ only, error in Cygwin prototype */
137
138 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
139 #undef SHFileOperation
140 #define SHFileOperation error_use_qxeSHFileOperation_or_SHFileOperationA_and_SHFileOperationW
141 #endif
142 int qxeSHFileOperation (LPSHFILEOPSTRUCTW lpFileOp);
143
144 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
145 #undef ShellExecuteEx
146 #define ShellExecuteEx error_use_qxeShellExecuteEx_or_ShellExecuteExA_and_ShellExecuteExW
147 #endif
148 BOOL qxeShellExecuteEx (LPSHELLEXECUTEINFOW lpExecInfo);
149
150 #undef WinExecError
151 #define WinExecError error_causes_link_error__NT_4_0__only
152
153 #if !defined (CYGWIN_HEADERS)
154 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
155 #undef SHQueryRecycleBin
156 #define SHQueryRecycleBin error_use_qxeSHQueryRecycleBin_or_SHQueryRecycleBinA_and_SHQueryRecycleBinW
157 #endif
158 HRESULT qxeSHQueryRecycleBin (const Extbyte * pszRootPath, LPSHQUERYRBINFO pSHQueryRBInfo);
159 #endif /* !defined (CYGWIN_HEADERS) */
160
161 #if !defined (CYGWIN_HEADERS)
162 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
163 #undef SHEmptyRecycleBin
164 #define SHEmptyRecycleBin error_use_qxeSHEmptyRecycleBin_or_SHEmptyRecycleBinA_and_SHEmptyRecycleBinW
165 #endif
166 HRESULT qxeSHEmptyRecycleBin (HWND hwnd, const Extbyte * pszRootPath, DWORD dwFlags);
167 #endif /* !defined (CYGWIN_HEADERS) */
168
169 #undef Shell_NotifyIcon
170 #define Shell_NotifyIcon error_split_sized_NOTIFYICONDATA__NT_4_0__only
171
172 /* Skipping SHGetFileInfo because split-sized SHFILEINFO, NT 4.0+ only */
173
174 #undef SHGetDiskFreeSpace
175 #define SHGetDiskFreeSpace error_causes_link_error__NT_4_0__only
176
177 #if !defined (CYGWIN_HEADERS)
178 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
179 #undef SHGetNewLinkInfo
180 #define SHGetNewLinkInfo error_use_qxeSHGetNewLinkInfo_or_SHGetNewLinkInfoA_and_SHGetNewLinkInfoW
181 #endif
182 BOOL qxeSHGetNewLinkInfo (const Extbyte * pszLinkTo, const Extbyte * pszDir, Extbyte * pszName, BOOL * pfMustCopy, UINT uFlags);
183 #endif /* !defined (CYGWIN_HEADERS) */
184
185 #if !defined (CYGWIN_HEADERS)
186 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
187 #undef SHInvokePrinterCommand
188 #define SHInvokePrinterCommand error_use_qxeSHInvokePrinterCommand_or_SHInvokePrinterCommandA_and_SHInvokePrinterCommandW
189 #endif
190 BOOL qxeSHInvokePrinterCommand (HWND hwnd, UINT uAction, const Extbyte * lpBuf1, const Extbyte * lpBuf2, BOOL fModal);
191 #endif /* !defined (CYGWIN_HEADERS) */
70 192
71 193
72 /* Processing file WINSPOOL.H */ 194 /* Processing file WINSPOOL.H */
73 195
74 #if defined (HAVE_MS_WINDOWS) 196 #if defined (HAVE_MS_WINDOWS)
75 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 197 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
76 #undef EnumPrinters 198 #undef EnumPrinters
77 #define EnumPrinters error use qxeEnumPrinters or EnumPrintersA/EnumPrintersW 199 #define EnumPrinters error_use_qxeEnumPrinters_or_EnumPrintersA_and_EnumPrintersW
78 #endif 200 #endif
79 BOOL qxeEnumPrinters (DWORD Flags, Extbyte * Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned); 201 BOOL qxeEnumPrinters (DWORD Flags, Extbyte * Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned);
80 #endif /* defined (HAVE_MS_WINDOWS) */ 202 #endif /* defined (HAVE_MS_WINDOWS) */
81 203
82 #if defined (HAVE_MS_WINDOWS) 204 #if defined (HAVE_MS_WINDOWS)
83 /* Skipping OpenPrinter because split-sized DEVMODE pointer in split PRINTER_DEFAULTS */ 205 /* Skipping OpenPrinter because split-sized DEVMODE pointer in split PRINTER_DEFAULTS */
84 #endif /* defined (HAVE_MS_WINDOWS) */ 206 #endif /* defined (HAVE_MS_WINDOWS) */
85 207
86 #if defined (HAVE_MS_WINDOWS) 208 #if defined (HAVE_MS_WINDOWS)
87 #undef ResetPrinter 209 #undef ResetPrinter
88 #define ResetPrinter error split-sized DEVMODE pointer in split PRINTER_DEFAULTS 210 #define ResetPrinter error_split_sized_DEVMODE_pointer_in_split_PRINTER_DEFAULTS
89 #endif /* defined (HAVE_MS_WINDOWS) */ 211 #endif /* defined (HAVE_MS_WINDOWS) */
90 212
91 #if defined (HAVE_MS_WINDOWS) 213 #if defined (HAVE_MS_WINDOWS)
92 #undef SetJob 214 #undef SetJob
93 #define SetJob error split-sized DEVMODE pointer in split JOB_INFO_2 215 #define SetJob error_split_sized_DEVMODE_pointer_in_split_JOB_INFO_2
94 #endif /* defined (HAVE_MS_WINDOWS) */ 216 #endif /* defined (HAVE_MS_WINDOWS) */
95 217
96 #if defined (HAVE_MS_WINDOWS) 218 #if defined (HAVE_MS_WINDOWS)
97 #undef GetJob 219 #undef GetJob
98 #define GetJob error split-sized DEVMODE pointer in split JOB_INFO_2 220 #define GetJob error_split_sized_DEVMODE_pointer_in_split_JOB_INFO_2
99 #endif /* defined (HAVE_MS_WINDOWS) */ 221 #endif /* defined (HAVE_MS_WINDOWS) */
100 222
101 #if defined (HAVE_MS_WINDOWS) 223 #if defined (HAVE_MS_WINDOWS)
102 #undef EnumJobs 224 #undef EnumJobs
103 #define EnumJobs error split-sized DEVMODE pointer in split JOB_INFO_2 225 #define EnumJobs error_split_sized_DEVMODE_pointer_in_split_JOB_INFO_2
104 #endif /* defined (HAVE_MS_WINDOWS) */ 226 #endif /* defined (HAVE_MS_WINDOWS) */
105 227
106 #if defined (HAVE_MS_WINDOWS) 228 #if defined (HAVE_MS_WINDOWS)
107 #undef AddPrinter 229 #undef AddPrinter
108 #define AddPrinter error split-sized DEVMODE pointer in split PRINTER_INFO_2 230 #define AddPrinter error_split_sized_DEVMODE_pointer_in_split_PRINTER_INFO_2
109 #endif /* defined (HAVE_MS_WINDOWS) */ 231 #endif /* defined (HAVE_MS_WINDOWS) */
110 232
111 #if defined (HAVE_MS_WINDOWS) 233 #if defined (HAVE_MS_WINDOWS)
112 #undef SetPrinter 234 #undef SetPrinter
113 #define SetPrinter error split-sized DEVMODE pointer in split PRINTER_INFO_2 235 #define SetPrinter error_split_sized_DEVMODE_pointer_in_split_PRINTER_INFO_2
114 #endif /* defined (HAVE_MS_WINDOWS) */ 236 #endif /* defined (HAVE_MS_WINDOWS) */
115 237
116 #if defined (HAVE_MS_WINDOWS) 238 #if defined (HAVE_MS_WINDOWS)
117 #undef GetPrinter 239 #undef GetPrinter
118 #define GetPrinter error split-sized DEVMODE pointer in split PRINTER_INFO_2 240 #define GetPrinter error_split_sized_DEVMODE_pointer_in_split_PRINTER_INFO_2
119 #endif /* defined (HAVE_MS_WINDOWS) */ 241 #endif /* defined (HAVE_MS_WINDOWS) */
120 242
121 #if defined (HAVE_MS_WINDOWS) 243 #if defined (HAVE_MS_WINDOWS)
122 #undef AddPrinterDriver 244 #undef AddPrinterDriver
123 #define AddPrinterDriver error not used, complicated interface with split structures 245 #define AddPrinterDriver error_not_used__complicated_interface_with_split_structures
124 #endif /* defined (HAVE_MS_WINDOWS) */ 246 #endif /* defined (HAVE_MS_WINDOWS) */
125 247
126 #if defined (HAVE_MS_WINDOWS) 248 #if defined (HAVE_MS_WINDOWS)
127 #undef AddPrinterDriverEx 249 #undef AddPrinterDriverEx
128 #define AddPrinterDriverEx error not used, complicated interface with split structures 250 #define AddPrinterDriverEx error_not_used__complicated_interface_with_split_structures
129 #endif /* defined (HAVE_MS_WINDOWS) */ 251 #endif /* defined (HAVE_MS_WINDOWS) */
130 252
131 #if defined (HAVE_MS_WINDOWS) 253 #if defined (HAVE_MS_WINDOWS)
132 #undef EnumPrinterDrivers 254 #undef EnumPrinterDrivers
133 #define EnumPrinterDrivers error not used, complicated interface with split structures 255 #define EnumPrinterDrivers error_not_used__complicated_interface_with_split_structures
134 #endif /* defined (HAVE_MS_WINDOWS) */ 256 #endif /* defined (HAVE_MS_WINDOWS) */
135 257
136 #if defined (HAVE_MS_WINDOWS) 258 #if defined (HAVE_MS_WINDOWS)
137 #undef GetPrinterDriver 259 #undef GetPrinterDriver
138 #define GetPrinterDriver error not used, complicated interface with split structures 260 #define GetPrinterDriver error_not_used__complicated_interface_with_split_structures
139 #endif /* defined (HAVE_MS_WINDOWS) */ 261 #endif /* defined (HAVE_MS_WINDOWS) */
140 262
141 #if defined (HAVE_MS_WINDOWS) 263 #if defined (HAVE_MS_WINDOWS)
142 #undef GetPrinterDriverDirectory 264 #undef GetPrinterDriverDirectory
143 #define GetPrinterDriverDirectory error not used, complicated interface with split structures 265 #define GetPrinterDriverDirectory error_not_used__complicated_interface_with_split_structures
144 #endif /* defined (HAVE_MS_WINDOWS) */ 266 #endif /* defined (HAVE_MS_WINDOWS) */
145 267
146 #if defined (HAVE_MS_WINDOWS) 268 #if defined (HAVE_MS_WINDOWS)
147 #undef DeletePrinterDriver 269 #undef DeletePrinterDriver
148 #define DeletePrinterDriver error not used, complicated interface with split structures 270 #define DeletePrinterDriver error_not_used__complicated_interface_with_split_structures
149 #endif /* defined (HAVE_MS_WINDOWS) */ 271 #endif /* defined (HAVE_MS_WINDOWS) */
150 272
151 #if defined (HAVE_MS_WINDOWS) 273 #if defined (HAVE_MS_WINDOWS)
152 #undef DeletePrinterDriverEx 274 #undef DeletePrinterDriverEx
153 #define DeletePrinterDriverEx error not used, complicated interface with split structures 275 #define DeletePrinterDriverEx error_not_used__complicated_interface_with_split_structures
154 #endif /* defined (HAVE_MS_WINDOWS) */ 276 #endif /* defined (HAVE_MS_WINDOWS) */
155 277
156 #if defined (HAVE_MS_WINDOWS) 278 #if defined (HAVE_MS_WINDOWS)
157 #undef AddPerMachineConnection 279 #undef AddPerMachineConnection
158 #define AddPerMachineConnection error not used, complicated interface with split structures 280 #define AddPerMachineConnection error_not_used__complicated_interface_with_split_structures
159 #endif /* defined (HAVE_MS_WINDOWS) */ 281 #endif /* defined (HAVE_MS_WINDOWS) */
160 282
161 #if defined (HAVE_MS_WINDOWS) 283 #if defined (HAVE_MS_WINDOWS)
162 #undef DeletePerMachineConnection 284 #undef DeletePerMachineConnection
163 #define DeletePerMachineConnection error not used, complicated interface with split structures 285 #define DeletePerMachineConnection error_not_used__complicated_interface_with_split_structures
164 #endif /* defined (HAVE_MS_WINDOWS) */ 286 #endif /* defined (HAVE_MS_WINDOWS) */
165 287
166 #if defined (HAVE_MS_WINDOWS) 288 #if defined (HAVE_MS_WINDOWS)
167 #undef EnumPerMachineConnections 289 #undef EnumPerMachineConnections
168 #define EnumPerMachineConnections error not used, complicated interface with split structures 290 #define EnumPerMachineConnections error_not_used__complicated_interface_with_split_structures
169 #endif /* defined (HAVE_MS_WINDOWS) */ 291 #endif /* defined (HAVE_MS_WINDOWS) */
170 292
171 #if defined (HAVE_MS_WINDOWS) 293 #if defined (HAVE_MS_WINDOWS)
172 #undef AddPrintProcessor 294 #undef AddPrintProcessor
173 #define AddPrintProcessor error not used, complicated interface with split structures 295 #define AddPrintProcessor error_not_used__complicated_interface_with_split_structures
174 #endif /* defined (HAVE_MS_WINDOWS) */ 296 #endif /* defined (HAVE_MS_WINDOWS) */
175 297
176 #if defined (HAVE_MS_WINDOWS) 298 #if defined (HAVE_MS_WINDOWS)
177 #undef EnumPrintProcessors 299 #undef EnumPrintProcessors
178 #define EnumPrintProcessors error not used, complicated interface with split structures 300 #define EnumPrintProcessors error_not_used__complicated_interface_with_split_structures
179 #endif /* defined (HAVE_MS_WINDOWS) */ 301 #endif /* defined (HAVE_MS_WINDOWS) */
180 302
181 #if defined (HAVE_MS_WINDOWS) 303 #if defined (HAVE_MS_WINDOWS)
182 #undef GetPrintProcessorDirectory 304 #undef GetPrintProcessorDirectory
183 #define GetPrintProcessorDirectory error not used, complicated interface with split structures 305 #define GetPrintProcessorDirectory error_not_used__complicated_interface_with_split_structures
184 #endif /* defined (HAVE_MS_WINDOWS) */ 306 #endif /* defined (HAVE_MS_WINDOWS) */
185 307
186 #if defined (HAVE_MS_WINDOWS) 308 #if defined (HAVE_MS_WINDOWS)
187 #undef EnumPrintProcessorDatatypes 309 #undef EnumPrintProcessorDatatypes
188 #define EnumPrintProcessorDatatypes error not used, complicated interface with split structures 310 #define EnumPrintProcessorDatatypes error_not_used__complicated_interface_with_split_structures
189 #endif /* defined (HAVE_MS_WINDOWS) */ 311 #endif /* defined (HAVE_MS_WINDOWS) */
190 312
191 #if defined (HAVE_MS_WINDOWS) 313 #if defined (HAVE_MS_WINDOWS)
192 #undef DeletePrintProcessor 314 #undef DeletePrintProcessor
193 #define DeletePrintProcessor error not used, complicated interface with split structures 315 #define DeletePrintProcessor error_not_used__complicated_interface_with_split_structures
194 #endif /* defined (HAVE_MS_WINDOWS) */ 316 #endif /* defined (HAVE_MS_WINDOWS) */
195 317
196 #if defined (HAVE_MS_WINDOWS) 318 #if defined (HAVE_MS_WINDOWS)
197 #undef StartDocPrinter 319 #undef StartDocPrinter
198 #define StartDocPrinter error not used, complicated interface with split structures 320 #define StartDocPrinter error_not_used__complicated_interface_with_split_structures
199 #endif /* defined (HAVE_MS_WINDOWS) */ 321 #endif /* defined (HAVE_MS_WINDOWS) */
200 322
201 #if defined (HAVE_MS_WINDOWS) 323 #if defined (HAVE_MS_WINDOWS)
202 #undef AddJob 324 #undef AddJob
203 #define AddJob error not used, complicated interface with split structures 325 #define AddJob error_not_used__complicated_interface_with_split_structures
204 #endif /* defined (HAVE_MS_WINDOWS) */ 326 #endif /* defined (HAVE_MS_WINDOWS) */
205 327
206 #if defined (HAVE_MS_WINDOWS) 328 #if defined (HAVE_MS_WINDOWS)
207 /* Skipping DocumentProperties because split-sized DEVMODE, error in Cygwin prototype */ 329 /* Skipping DocumentProperties because split-sized DEVMODE, error in Cygwin prototype */
208 #endif /* defined (HAVE_MS_WINDOWS) */ 330 #endif /* defined (HAVE_MS_WINDOWS) */
209 331
210 #if defined (HAVE_MS_WINDOWS) 332 #if defined (HAVE_MS_WINDOWS)
211 #undef AdvancedDocumentProperties 333 #undef AdvancedDocumentProperties
212 #define AdvancedDocumentProperties error not used, complicated interface with split structures 334 #define AdvancedDocumentProperties error_not_used__complicated_interface_with_split_structures
213 #endif /* defined (HAVE_MS_WINDOWS) */ 335 #endif /* defined (HAVE_MS_WINDOWS) */
214 336
215 #if defined (HAVE_MS_WINDOWS) 337 #if defined (HAVE_MS_WINDOWS)
216 #undef GetPrinterData 338 #undef GetPrinterData
217 #define GetPrinterData error not used, complicated interface with split structures 339 #define GetPrinterData error_not_used__complicated_interface_with_split_structures
218 #endif /* defined (HAVE_MS_WINDOWS) */ 340 #endif /* defined (HAVE_MS_WINDOWS) */
219 341
220 #if defined (HAVE_MS_WINDOWS) 342 #if defined (HAVE_MS_WINDOWS)
221 #undef GetPrinterDataEx 343 #undef GetPrinterDataEx
222 #define GetPrinterDataEx error not used, complicated interface with split structures 344 #define GetPrinterDataEx error_not_used__complicated_interface_with_split_structures
223 #endif /* defined (HAVE_MS_WINDOWS) */ 345 #endif /* defined (HAVE_MS_WINDOWS) */
224 346
225 #if defined (HAVE_MS_WINDOWS) 347 #if defined (HAVE_MS_WINDOWS)
226 #undef EnumPrinterData 348 #undef EnumPrinterData
227 #define EnumPrinterData error not used, complicated interface with split structures 349 #define EnumPrinterData error_not_used__complicated_interface_with_split_structures
228 #endif /* defined (HAVE_MS_WINDOWS) */ 350 #endif /* defined (HAVE_MS_WINDOWS) */
229 351
230 #if defined (HAVE_MS_WINDOWS) 352 #if defined (HAVE_MS_WINDOWS)
231 #undef EnumPrinterDataEx 353 #undef EnumPrinterDataEx
232 #define EnumPrinterDataEx error not used, complicated interface with split structures 354 #define EnumPrinterDataEx error_not_used__complicated_interface_with_split_structures
233 #endif /* defined (HAVE_MS_WINDOWS) */ 355 #endif /* defined (HAVE_MS_WINDOWS) */
234 356
235 #if defined (HAVE_MS_WINDOWS) 357 #if defined (HAVE_MS_WINDOWS)
236 #undef EnumPrinterKey 358 #undef EnumPrinterKey
237 #define EnumPrinterKey error not used, complicated interface with split structures 359 #define EnumPrinterKey error_not_used__complicated_interface_with_split_structures
238 #endif /* defined (HAVE_MS_WINDOWS) */ 360 #endif /* defined (HAVE_MS_WINDOWS) */
239 361
240 #if defined (HAVE_MS_WINDOWS) 362 #if defined (HAVE_MS_WINDOWS)
241 #undef SetPrinterData 363 #undef SetPrinterData
242 #define SetPrinterData error not used, complicated interface with split structures 364 #define SetPrinterData error_not_used__complicated_interface_with_split_structures
243 #endif /* defined (HAVE_MS_WINDOWS) */ 365 #endif /* defined (HAVE_MS_WINDOWS) */
244 366
245 #if defined (HAVE_MS_WINDOWS) 367 #if defined (HAVE_MS_WINDOWS)
246 #undef SetPrinterDataEx 368 #undef SetPrinterDataEx
247 #define SetPrinterDataEx error not used, complicated interface with split structures 369 #define SetPrinterDataEx error_not_used__complicated_interface_with_split_structures
248 #endif /* defined (HAVE_MS_WINDOWS) */ 370 #endif /* defined (HAVE_MS_WINDOWS) */
249 371
250 #if defined (HAVE_MS_WINDOWS) 372 #if defined (HAVE_MS_WINDOWS)
251 #undef DeletePrinterData 373 #undef DeletePrinterData
252 #define DeletePrinterData error not used, complicated interface with split structures 374 #define DeletePrinterData error_not_used__complicated_interface_with_split_structures
253 #endif /* defined (HAVE_MS_WINDOWS) */ 375 #endif /* defined (HAVE_MS_WINDOWS) */
254 376
255 #if defined (HAVE_MS_WINDOWS) 377 #if defined (HAVE_MS_WINDOWS)
256 #undef DeletePrinterDataEx 378 #undef DeletePrinterDataEx
257 #define DeletePrinterDataEx error not used, complicated interface with split structures 379 #define DeletePrinterDataEx error_not_used__complicated_interface_with_split_structures
258 #endif /* defined (HAVE_MS_WINDOWS) */ 380 #endif /* defined (HAVE_MS_WINDOWS) */
259 381
260 #if defined (HAVE_MS_WINDOWS) 382 #if defined (HAVE_MS_WINDOWS)
261 #undef DeletePrinterKey 383 #undef DeletePrinterKey
262 #define DeletePrinterKey error not used, complicated interface with split structures 384 #define DeletePrinterKey error_not_used__complicated_interface_with_split_structures
263 #endif /* defined (HAVE_MS_WINDOWS) */ 385 #endif /* defined (HAVE_MS_WINDOWS) */
264 386
265 #if defined (HAVE_MS_WINDOWS) 387 #if defined (HAVE_MS_WINDOWS)
266 #undef PrinterMessageBox 388 #undef PrinterMessageBox
267 #define PrinterMessageBox error not used, complicated interface with split structures 389 #define PrinterMessageBox error_not_used__complicated_interface_with_split_structures
268 #endif /* defined (HAVE_MS_WINDOWS) */ 390 #endif /* defined (HAVE_MS_WINDOWS) */
269 391
270 #if defined (HAVE_MS_WINDOWS) 392 #if defined (HAVE_MS_WINDOWS)
271 #undef AddForm 393 #undef AddForm
272 #define AddForm error not used, complicated interface with split structures 394 #define AddForm error_not_used__complicated_interface_with_split_structures
273 #endif /* defined (HAVE_MS_WINDOWS) */ 395 #endif /* defined (HAVE_MS_WINDOWS) */
274 396
275 #if defined (HAVE_MS_WINDOWS) 397 #if defined (HAVE_MS_WINDOWS)
276 #undef DeleteForm 398 #undef DeleteForm
277 #define DeleteForm error not used, complicated interface with split structures 399 #define DeleteForm error_not_used__complicated_interface_with_split_structures
278 #endif /* defined (HAVE_MS_WINDOWS) */ 400 #endif /* defined (HAVE_MS_WINDOWS) */
279 401
280 #if defined (HAVE_MS_WINDOWS) 402 #if defined (HAVE_MS_WINDOWS)
281 #undef GetForm 403 #undef GetForm
282 #define GetForm error not used, complicated interface with split structures 404 #define GetForm error_not_used__complicated_interface_with_split_structures
283 #endif /* defined (HAVE_MS_WINDOWS) */ 405 #endif /* defined (HAVE_MS_WINDOWS) */
284 406
285 #if defined (HAVE_MS_WINDOWS) 407 #if defined (HAVE_MS_WINDOWS)
286 #undef SetForm 408 #undef SetForm
287 #define SetForm error not used, complicated interface with split structures 409 #define SetForm error_not_used__complicated_interface_with_split_structures
288 #endif /* defined (HAVE_MS_WINDOWS) */ 410 #endif /* defined (HAVE_MS_WINDOWS) */
289 411
290 #if defined (HAVE_MS_WINDOWS) 412 #if defined (HAVE_MS_WINDOWS)
291 #undef EnumForms 413 #undef EnumForms
292 #define EnumForms error not used, complicated interface with split structures 414 #define EnumForms error_not_used__complicated_interface_with_split_structures
293 #endif /* defined (HAVE_MS_WINDOWS) */ 415 #endif /* defined (HAVE_MS_WINDOWS) */
294 416
295 #if defined (HAVE_MS_WINDOWS) 417 #if defined (HAVE_MS_WINDOWS)
296 #undef EnumMonitors 418 #undef EnumMonitors
297 #define EnumMonitors error not used, complicated interface with split structures 419 #define EnumMonitors error_not_used__complicated_interface_with_split_structures
298 #endif /* defined (HAVE_MS_WINDOWS) */ 420 #endif /* defined (HAVE_MS_WINDOWS) */
299 421
300 #if defined (HAVE_MS_WINDOWS) 422 #if defined (HAVE_MS_WINDOWS)
301 #undef AddMonitor 423 #undef AddMonitor
302 #define AddMonitor error not used, complicated interface with split structures 424 #define AddMonitor error_not_used__complicated_interface_with_split_structures
303 #endif /* defined (HAVE_MS_WINDOWS) */ 425 #endif /* defined (HAVE_MS_WINDOWS) */
304 426
305 #if defined (HAVE_MS_WINDOWS) 427 #if defined (HAVE_MS_WINDOWS)
306 #undef DeleteMonitor 428 #undef DeleteMonitor
307 #define DeleteMonitor error not used, complicated interface with split structures 429 #define DeleteMonitor error_not_used__complicated_interface_with_split_structures
308 #endif /* defined (HAVE_MS_WINDOWS) */ 430 #endif /* defined (HAVE_MS_WINDOWS) */
309 431
310 #if defined (HAVE_MS_WINDOWS) 432 #if defined (HAVE_MS_WINDOWS)
311 #undef EnumPorts 433 #undef EnumPorts
312 #define EnumPorts error not used, complicated interface with split structures 434 #define EnumPorts error_not_used__complicated_interface_with_split_structures
313 #endif /* defined (HAVE_MS_WINDOWS) */ 435 #endif /* defined (HAVE_MS_WINDOWS) */
314 436
315 #if defined (HAVE_MS_WINDOWS) 437 #if defined (HAVE_MS_WINDOWS)
316 #undef AddPort 438 #undef AddPort
317 #define AddPort error not used, complicated interface with split structures 439 #define AddPort error_not_used__complicated_interface_with_split_structures
318 #endif /* defined (HAVE_MS_WINDOWS) */ 440 #endif /* defined (HAVE_MS_WINDOWS) */
319 441
320 #if defined (HAVE_MS_WINDOWS) 442 #if defined (HAVE_MS_WINDOWS)
321 #undef ConfigurePort 443 #undef ConfigurePort
322 #define ConfigurePort error not used, complicated interface with split structures 444 #define ConfigurePort error_not_used__complicated_interface_with_split_structures
323 #endif /* defined (HAVE_MS_WINDOWS) */ 445 #endif /* defined (HAVE_MS_WINDOWS) */
324 446
325 #if defined (HAVE_MS_WINDOWS) 447 #if defined (HAVE_MS_WINDOWS)
326 #undef DeletePort 448 #undef DeletePort
327 #define DeletePort error not used, complicated interface with split structures 449 #define DeletePort error_not_used__complicated_interface_with_split_structures
328 #endif /* defined (HAVE_MS_WINDOWS) */ 450 #endif /* defined (HAVE_MS_WINDOWS) */
329 451
330 #if defined (HAVE_MS_WINDOWS) 452 #if defined (HAVE_MS_WINDOWS)
331 #undef XcvData 453 #undef XcvData
332 #define XcvData error not used, complicated interface with split structures 454 #define XcvData error_not_used__complicated_interface_with_split_structures
333 #endif /* defined (HAVE_MS_WINDOWS) */ 455 #endif /* defined (HAVE_MS_WINDOWS) */
334 456
335 #if defined (HAVE_MS_WINDOWS) 457 #if defined (HAVE_MS_WINDOWS)
336 #undef SetPort 458 #undef SetPort
337 #define SetPort error not used, complicated interface with split structures 459 #define SetPort error_not_used__complicated_interface_with_split_structures
338 #endif /* defined (HAVE_MS_WINDOWS) */ 460 #endif /* defined (HAVE_MS_WINDOWS) */
339 461
340 #if defined (HAVE_MS_WINDOWS) 462 #if defined (HAVE_MS_WINDOWS)
341 #undef AddPrinterConnection 463 #undef AddPrinterConnection
342 #define AddPrinterConnection error not used, complicated interface with split structures 464 #define AddPrinterConnection error_not_used__complicated_interface_with_split_structures
343 #endif /* defined (HAVE_MS_WINDOWS) */ 465 #endif /* defined (HAVE_MS_WINDOWS) */
344 466
345 #if defined (HAVE_MS_WINDOWS) 467 #if defined (HAVE_MS_WINDOWS)
346 #undef DeletePrinterConnection 468 #undef DeletePrinterConnection
347 #define DeletePrinterConnection error not used, complicated interface with split structures 469 #define DeletePrinterConnection error_not_used__complicated_interface_with_split_structures
348 #endif /* defined (HAVE_MS_WINDOWS) */ 470 #endif /* defined (HAVE_MS_WINDOWS) */
349 471
350 #if defined (HAVE_MS_WINDOWS) 472 #if defined (HAVE_MS_WINDOWS)
351 #undef AddPrintProvidor 473 #undef AddPrintProvidor
352 #define AddPrintProvidor error not used, complicated interface with split structures 474 #define AddPrintProvidor error_not_used__complicated_interface_with_split_structures
353 #endif /* defined (HAVE_MS_WINDOWS) */ 475 #endif /* defined (HAVE_MS_WINDOWS) */
354 476
355 #if defined (HAVE_MS_WINDOWS) 477 #if defined (HAVE_MS_WINDOWS)
356 #undef DeletePrintProvidor 478 #undef DeletePrintProvidor
357 #define DeletePrintProvidor error not used, complicated interface with split structures 479 #define DeletePrintProvidor error_not_used__complicated_interface_with_split_structures
358 #endif /* defined (HAVE_MS_WINDOWS) */ 480 #endif /* defined (HAVE_MS_WINDOWS) */
359 481
360 #if defined (HAVE_MS_WINDOWS) 482 #if defined (HAVE_MS_WINDOWS)
361 #undef SetPrinterHTMLView 483 #undef SetPrinterHTMLView
362 #define SetPrinterHTMLView error not used, complicated interface with split structures 484 #define SetPrinterHTMLView error_not_used__complicated_interface_with_split_structures
363 #endif /* defined (HAVE_MS_WINDOWS) */ 485 #endif /* defined (HAVE_MS_WINDOWS) */
364 486
365 #if defined (HAVE_MS_WINDOWS) 487 #if defined (HAVE_MS_WINDOWS)
366 #undef GetPrinterHTMLView 488 #undef GetPrinterHTMLView
367 #define GetPrinterHTMLView error not used, complicated interface with split structures 489 #define GetPrinterHTMLView error_not_used__complicated_interface_with_split_structures
368 #endif /* defined (HAVE_MS_WINDOWS) */ 490 #endif /* defined (HAVE_MS_WINDOWS) */
369 491
370 492
371 /* Processing file WINNETWK.H */ 493 /* Processing file WINNETWK.H */
372 494
373 #if defined (HAVE_MS_WINDOWS) 495 #if defined (HAVE_MS_WINDOWS)
374 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 496 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
375 #undef WNetAddConnection 497 #undef WNetAddConnection
376 #define WNetAddConnection error use qxeWNetAddConnection or WNetAddConnectionA/WNetAddConnectionW 498 #define WNetAddConnection error_use_qxeWNetAddConnection_or_WNetAddConnectionA_and_WNetAddConnectionW
377 #endif 499 #endif
378 DWORD qxeWNetAddConnection (const Extbyte * lpRemoteName, const Extbyte * lpPassword, const Extbyte * lpLocalName); 500 DWORD qxeWNetAddConnection (const Extbyte * lpRemoteName, const Extbyte * lpPassword, const Extbyte * lpLocalName);
379 #endif /* defined (HAVE_MS_WINDOWS) */ 501 #endif /* defined (HAVE_MS_WINDOWS) */
380 502
381 #if defined (HAVE_MS_WINDOWS) 503 #if defined (HAVE_MS_WINDOWS)
382 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 504 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
383 #undef WNetAddConnection2 505 #undef WNetAddConnection2
384 #define WNetAddConnection2 error use qxeWNetAddConnection2 or WNetAddConnection2A/WNetAddConnection2W 506 #define WNetAddConnection2 error_use_qxeWNetAddConnection2_or_WNetAddConnection2A_and_WNetAddConnection2W
385 #endif 507 #endif
386 DWORD qxeWNetAddConnection2 (LPNETRESOURCEW lpNetResource, const Extbyte * lpPassword, const Extbyte * lpUserName, DWORD dwFlags); 508 DWORD qxeWNetAddConnection2 (LPNETRESOURCEW lpNetResource, const Extbyte * lpPassword, const Extbyte * lpUserName, DWORD dwFlags);
387 #endif /* defined (HAVE_MS_WINDOWS) */ 509 #endif /* defined (HAVE_MS_WINDOWS) */
388 510
389 #if defined (HAVE_MS_WINDOWS) 511 #if defined (HAVE_MS_WINDOWS)
390 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 512 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
391 #undef WNetAddConnection3 513 #undef WNetAddConnection3
392 #define WNetAddConnection3 error use qxeWNetAddConnection3 or WNetAddConnection3A/WNetAddConnection3W 514 #define WNetAddConnection3 error_use_qxeWNetAddConnection3_or_WNetAddConnection3A_and_WNetAddConnection3W
393 #endif 515 #endif
394 DWORD qxeWNetAddConnection3 (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte * lpPassword, const Extbyte * lpUserName, DWORD dwFlags); 516 DWORD qxeWNetAddConnection3 (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte * lpPassword, const Extbyte * lpUserName, DWORD dwFlags);
395 #endif /* defined (HAVE_MS_WINDOWS) */ 517 #endif /* defined (HAVE_MS_WINDOWS) */
396 518
397 #if defined (HAVE_MS_WINDOWS) 519 #if defined (HAVE_MS_WINDOWS)
398 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 520 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
399 #undef WNetCancelConnection 521 #undef WNetCancelConnection
400 #define WNetCancelConnection error use qxeWNetCancelConnection or WNetCancelConnectionA/WNetCancelConnectionW 522 #define WNetCancelConnection error_use_qxeWNetCancelConnection_or_WNetCancelConnectionA_and_WNetCancelConnectionW
401 #endif 523 #endif
402 DWORD qxeWNetCancelConnection (const Extbyte * lpName, BOOL fForce); 524 DWORD qxeWNetCancelConnection (const Extbyte * lpName, BOOL fForce);
403 #endif /* defined (HAVE_MS_WINDOWS) */ 525 #endif /* defined (HAVE_MS_WINDOWS) */
404 526
405 #if defined (HAVE_MS_WINDOWS) 527 #if defined (HAVE_MS_WINDOWS)
406 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 528 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
407 #undef WNetCancelConnection2 529 #undef WNetCancelConnection2
408 #define WNetCancelConnection2 error use qxeWNetCancelConnection2 or WNetCancelConnection2A/WNetCancelConnection2W 530 #define WNetCancelConnection2 error_use_qxeWNetCancelConnection2_or_WNetCancelConnection2A_and_WNetCancelConnection2W
409 #endif 531 #endif
410 DWORD qxeWNetCancelConnection2 (const Extbyte * lpName, DWORD dwFlags, BOOL fForce); 532 DWORD qxeWNetCancelConnection2 (const Extbyte * lpName, DWORD dwFlags, BOOL fForce);
411 #endif /* defined (HAVE_MS_WINDOWS) */ 533 #endif /* defined (HAVE_MS_WINDOWS) */
412 534
413 #if defined (HAVE_MS_WINDOWS) 535 #if defined (HAVE_MS_WINDOWS)
414 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 536 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
415 #undef WNetGetConnection 537 #undef WNetGetConnection
416 #define WNetGetConnection error use qxeWNetGetConnection or WNetGetConnectionA/WNetGetConnectionW 538 #define WNetGetConnection error_use_qxeWNetGetConnection_or_WNetGetConnectionA_and_WNetGetConnectionW
417 #endif 539 #endif
418 DWORD qxeWNetGetConnection (const Extbyte * lpLocalName, Extbyte * lpRemoteName, LPDWORD lpnLength); 540 DWORD qxeWNetGetConnection (const Extbyte * lpLocalName, Extbyte * lpRemoteName, LPDWORD lpnLength);
419 #endif /* defined (HAVE_MS_WINDOWS) */ 541 #endif /* defined (HAVE_MS_WINDOWS) */
420 542
421 #if defined (HAVE_MS_WINDOWS) 543 #if defined (HAVE_MS_WINDOWS)
422 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 544 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
423 #undef WNetUseConnection 545 #undef WNetUseConnection
424 #define WNetUseConnection error use qxeWNetUseConnection or WNetUseConnectionA/WNetUseConnectionW 546 #define WNetUseConnection error_use_qxeWNetUseConnection_or_WNetUseConnectionA_and_WNetUseConnectionW
425 #endif 547 #endif
426 DWORD qxeWNetUseConnection (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte * lpUserID, const Extbyte * lpPassword, DWORD dwFlags, Extbyte * lpAccessName, LPDWORD lpBufferSize, LPDWORD lpResult); 548 DWORD qxeWNetUseConnection (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte * lpUserID, const Extbyte * lpPassword, DWORD dwFlags, Extbyte * lpAccessName, LPDWORD lpBufferSize, LPDWORD lpResult);
427 #endif /* defined (HAVE_MS_WINDOWS) */ 549 #endif /* defined (HAVE_MS_WINDOWS) */
428 550
429 #if defined (HAVE_MS_WINDOWS) 551 #if defined (HAVE_MS_WINDOWS)
430 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 552 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
431 #undef WNetConnectionDialog1 553 #undef WNetConnectionDialog1
432 #define WNetConnectionDialog1 error use qxeWNetConnectionDialog1 or WNetConnectionDialog1A/WNetConnectionDialog1W 554 #define WNetConnectionDialog1 error_use_qxeWNetConnectionDialog1_or_WNetConnectionDialog1A_and_WNetConnectionDialog1W
433 #endif 555 #endif
434 DWORD qxeWNetConnectionDialog1 (LPCONNECTDLGSTRUCTW lpConnDlgStruct); 556 DWORD qxeWNetConnectionDialog1 (LPCONNECTDLGSTRUCTW lpConnDlgStruct);
435 #endif /* defined (HAVE_MS_WINDOWS) */ 557 #endif /* defined (HAVE_MS_WINDOWS) */
436 558
437 #if defined (HAVE_MS_WINDOWS) 559 #if defined (HAVE_MS_WINDOWS)
438 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 560 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
439 #undef WNetDisconnectDialog1 561 #undef WNetDisconnectDialog1
440 #define WNetDisconnectDialog1 error use qxeWNetDisconnectDialog1 or WNetDisconnectDialog1A/WNetDisconnectDialog1W 562 #define WNetDisconnectDialog1 error_use_qxeWNetDisconnectDialog1_or_WNetDisconnectDialog1A_and_WNetDisconnectDialog1W
441 #endif 563 #endif
442 DWORD qxeWNetDisconnectDialog1 (LPDISCDLGSTRUCTW lpConnDlgStruct); 564 DWORD qxeWNetDisconnectDialog1 (LPDISCDLGSTRUCTW lpConnDlgStruct);
443 #endif /* defined (HAVE_MS_WINDOWS) */ 565 #endif /* defined (HAVE_MS_WINDOWS) */
444 566
445 #if defined (HAVE_MS_WINDOWS) 567 #if defined (HAVE_MS_WINDOWS)
446 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 568 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
447 #undef WNetOpenEnum 569 #undef WNetOpenEnum
448 #define WNetOpenEnum error use qxeWNetOpenEnum or WNetOpenEnumA/WNetOpenEnumW 570 #define WNetOpenEnum error_use_qxeWNetOpenEnum_or_WNetOpenEnumA_and_WNetOpenEnumW
449 #endif 571 #endif
450 DWORD qxeWNetOpenEnum (DWORD dwScope, DWORD dwType, DWORD dwUsage, LPNETRESOURCEW lpNetResource, LPHANDLE lphEnum); 572 DWORD qxeWNetOpenEnum (DWORD dwScope, DWORD dwType, DWORD dwUsage, LPNETRESOURCEW lpNetResource, LPHANDLE lphEnum);
451 #endif /* defined (HAVE_MS_WINDOWS) */ 573 #endif /* defined (HAVE_MS_WINDOWS) */
452 574
453 #if defined (HAVE_MS_WINDOWS) 575 #if defined (HAVE_MS_WINDOWS)
454 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 576 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
455 #undef WNetEnumResource 577 #undef WNetEnumResource
456 #define WNetEnumResource error use qxeWNetEnumResource or WNetEnumResourceA/WNetEnumResourceW 578 #define WNetEnumResource error_use_qxeWNetEnumResource_or_WNetEnumResourceA_and_WNetEnumResourceW
457 #endif 579 #endif
458 DWORD qxeWNetEnumResource (HANDLE hEnum, LPDWORD lpcCount, LPVOID lpBuffer, LPDWORD lpBufferSize); 580 DWORD qxeWNetEnumResource (HANDLE hEnum, LPDWORD lpcCount, LPVOID lpBuffer, LPDWORD lpBufferSize);
459 #endif /* defined (HAVE_MS_WINDOWS) */ 581 #endif /* defined (HAVE_MS_WINDOWS) */
460 582
461 #if defined (HAVE_MS_WINDOWS) 583 #if defined (HAVE_MS_WINDOWS)
462 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 584 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
463 #undef WNetGetUniversalName 585 #undef WNetGetUniversalName
464 #define WNetGetUniversalName error use qxeWNetGetUniversalName or WNetGetUniversalNameA/WNetGetUniversalNameW 586 #define WNetGetUniversalName error_use_qxeWNetGetUniversalName_or_WNetGetUniversalNameA_and_WNetGetUniversalNameW
465 #endif 587 #endif
466 DWORD qxeWNetGetUniversalName (const Extbyte * lpLocalPath, DWORD dwInfoLevel, LPVOID lpBuffer, LPDWORD lpBufferSize); 588 DWORD qxeWNetGetUniversalName (const Extbyte * lpLocalPath, DWORD dwInfoLevel, LPVOID lpBuffer, LPDWORD lpBufferSize);
467 #endif /* defined (HAVE_MS_WINDOWS) */ 589 #endif /* defined (HAVE_MS_WINDOWS) */
468 590
469 #if defined (HAVE_MS_WINDOWS) 591 #if defined (HAVE_MS_WINDOWS)
470 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 592 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
471 #undef WNetGetUser 593 #undef WNetGetUser
472 #define WNetGetUser error use qxeWNetGetUser or WNetGetUserA/WNetGetUserW 594 #define WNetGetUser error_use_qxeWNetGetUser_or_WNetGetUserA_and_WNetGetUserW
473 #endif 595 #endif
474 DWORD qxeWNetGetUser (const Extbyte * lpName, Extbyte * lpUserName, LPDWORD lpnLength); 596 DWORD qxeWNetGetUser (const Extbyte * lpName, Extbyte * lpUserName, LPDWORD lpnLength);
475 #endif /* defined (HAVE_MS_WINDOWS) */ 597 #endif /* defined (HAVE_MS_WINDOWS) */
476 598
477 #if defined (HAVE_MS_WINDOWS) 599 #if defined (HAVE_MS_WINDOWS)
478 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 600 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
479 #undef WNetGetProviderName 601 #undef WNetGetProviderName
480 #define WNetGetProviderName error use qxeWNetGetProviderName or WNetGetProviderNameA/WNetGetProviderNameW 602 #define WNetGetProviderName error_use_qxeWNetGetProviderName_or_WNetGetProviderNameA_and_WNetGetProviderNameW
481 #endif 603 #endif
482 DWORD qxeWNetGetProviderName (DWORD dwNetType, Extbyte * lpProviderName, LPDWORD lpBufferSize); 604 DWORD qxeWNetGetProviderName (DWORD dwNetType, Extbyte * lpProviderName, LPDWORD lpBufferSize);
483 #endif /* defined (HAVE_MS_WINDOWS) */ 605 #endif /* defined (HAVE_MS_WINDOWS) */
484 606
485 #if defined (HAVE_MS_WINDOWS) 607 #if defined (HAVE_MS_WINDOWS)
486 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 608 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
487 #undef WNetGetNetworkInformation 609 #undef WNetGetNetworkInformation
488 #define WNetGetNetworkInformation error use qxeWNetGetNetworkInformation or WNetGetNetworkInformationA/WNetGetNetworkInformationW 610 #define WNetGetNetworkInformation error_use_qxeWNetGetNetworkInformation_or_WNetGetNetworkInformationA_and_WNetGetNetworkInformationW
489 #endif 611 #endif
490 DWORD qxeWNetGetNetworkInformation (const Extbyte * lpProvider, LPNETINFOSTRUCT lpNetInfoStruct); 612 DWORD qxeWNetGetNetworkInformation (const Extbyte * lpProvider, LPNETINFOSTRUCT lpNetInfoStruct);
491 #endif /* defined (HAVE_MS_WINDOWS) */ 613 #endif /* defined (HAVE_MS_WINDOWS) */
492 614
493 #if defined (HAVE_MS_WINDOWS) 615 #if defined (HAVE_MS_WINDOWS)
494 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 616 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
495 #undef WNetGetLastError 617 #undef WNetGetLastError
496 #define WNetGetLastError error use qxeWNetGetLastError or WNetGetLastErrorA/WNetGetLastErrorW 618 #define WNetGetLastError error_use_qxeWNetGetLastError_or_WNetGetLastErrorA_and_WNetGetLastErrorW
497 #endif 619 #endif
498 DWORD qxeWNetGetLastError (LPDWORD lpError, Extbyte * lpErrorBuf, DWORD nErrorBufSize, Extbyte * lpNameBuf, DWORD nNameBufSize); 620 DWORD qxeWNetGetLastError (LPDWORD lpError, Extbyte * lpErrorBuf, DWORD nErrorBufSize, Extbyte * lpNameBuf, DWORD nNameBufSize);
499 #endif /* defined (HAVE_MS_WINDOWS) */ 621 #endif /* defined (HAVE_MS_WINDOWS) */
500 622
501 #if defined (HAVE_MS_WINDOWS) 623 #if defined (HAVE_MS_WINDOWS)
502 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 624 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
503 #undef MultinetGetConnectionPerformance 625 #undef MultinetGetConnectionPerformance
504 #define MultinetGetConnectionPerformance error use qxeMultinetGetConnectionPerformance or MultinetGetConnectionPerformanceA/MultinetGetConnectionPerformanceW 626 #define MultinetGetConnectionPerformance error_use_qxeMultinetGetConnectionPerformance_or_MultinetGetConnectionPerformanceA_and_MultinetGetConnectionPerformanceW
505 #endif 627 #endif
506 DWORD qxeMultinetGetConnectionPerformance (LPNETRESOURCEW lpNetResource, LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct); 628 DWORD qxeMultinetGetConnectionPerformance (LPNETRESOURCEW lpNetResource, LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct);
507 #endif /* defined (HAVE_MS_WINDOWS) */ 629 #endif /* defined (HAVE_MS_WINDOWS) */
508 630
509 631
632 /* Processing file WINUSER.H */
633
634 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
635 #undef wvsprintf
636 #define wvsprintf error_use_qxewvsprintf_or_wvsprintfA_and_wvsprintfW
637 #endif
638 int qxewvsprintf (Extbyte * arg1, const Extbyte * arg2, va_list arglist);
639
640 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
641 #undef LoadKeyboardLayout
642 #define LoadKeyboardLayout error_use_qxeLoadKeyboardLayout_or_LoadKeyboardLayoutA_and_LoadKeyboardLayoutW
643 #endif
644 HKL qxeLoadKeyboardLayout (const Extbyte * pwszKLID, UINT Flags);
645
646 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
647 #undef GetKeyboardLayoutName
648 #define GetKeyboardLayoutName error_use_qxeGetKeyboardLayoutName_or_GetKeyboardLayoutNameA_and_GetKeyboardLayoutNameW
649 #endif
650 BOOL qxeGetKeyboardLayoutName (Extbyte * pwszKLID);
651
652 #undef CreateDesktop
653 #define CreateDesktop error_split_sized_LPDEVMODE
654
655 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
656 #undef OpenDesktop
657 #define OpenDesktop error_use_qxeOpenDesktop_or_OpenDesktopA_and_OpenDesktopW
658 #endif
659 HDESK qxeOpenDesktop (Extbyte * lpszDesktop, DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess);
660
661 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
662 #undef EnumDesktops
663 #define EnumDesktops error_use_qxeEnumDesktops_or_EnumDesktopsA_and_EnumDesktopsW
664 #endif
665 BOOL qxeEnumDesktops (HWINSTA hwinsta, DESKTOPENUMPROCW lpEnumFunc, LPARAM lParam);
666
667 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
668 #undef CreateWindowStation
669 #define CreateWindowStation error_use_qxeCreateWindowStation_or_CreateWindowStationA_and_CreateWindowStationW
670 #endif
671 HWINSTA qxeCreateWindowStation (Extbyte * lpwinsta, DWORD dwReserved, ACCESS_MASK dwDesiredAccess, LPSECURITY_ATTRIBUTES lpsa);
672
673 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
674 #undef OpenWindowStation
675 #define OpenWindowStation error_use_qxeOpenWindowStation_or_OpenWindowStationA_and_OpenWindowStationW
676 #endif
677 HWINSTA qxeOpenWindowStation (Extbyte * lpszWinSta, BOOL fInherit, ACCESS_MASK dwDesiredAccess);
678
679 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
680 #undef EnumWindowStations
681 #define EnumWindowStations error_use_qxeEnumWindowStations_or_EnumWindowStationsA_and_EnumWindowStationsW
682 #endif
683 BOOL qxeEnumWindowStations (WINSTAENUMPROCW lpEnumFunc, LPARAM lParam);
684
685 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
686 #undef GetUserObjectInformation
687 #define GetUserObjectInformation error_use_qxeGetUserObjectInformation_or_GetUserObjectInformationA_and_GetUserObjectInformationW
688 #endif
689 BOOL qxeGetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength, LPDWORD lpnLengthNeeded);
690
691 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
692 #undef SetUserObjectInformation
693 #define SetUserObjectInformation error_use_qxeSetUserObjectInformation_or_SetUserObjectInformationA_and_SetUserObjectInformationW
694 #endif
695 BOOL qxeSetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength);
696
697 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
698 #undef RegisterWindowMessage
699 #define RegisterWindowMessage error_use_qxeRegisterWindowMessage_or_RegisterWindowMessageA_and_RegisterWindowMessageW
700 #endif
701 UINT qxeRegisterWindowMessage (const Extbyte * lpString);
702
703 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
704 #undef GetMessage
705 #define GetMessage error_use_qxeGetMessage_or_GetMessageA_and_GetMessageW
706 #endif
707 BOOL qxeGetMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax);
708
709 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
710 #undef DispatchMessage
711 #define DispatchMessage error_use_qxeDispatchMessage_or_DispatchMessageA_and_DispatchMessageW
712 #endif
713 LONG qxeDispatchMessage (CONST MSG * lpMsg);
714
715 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
716 #undef PeekMessage
717 #define PeekMessage error_use_qxePeekMessage_or_PeekMessageA_and_PeekMessageW
718 #endif
719 BOOL qxePeekMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT wRemoveMsg);
720
721 /* Skipping SendMessage because split messages and structures */
722
723 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
724 #undef SendMessageTimeout
725 #define SendMessageTimeout error_use_qxeSendMessageTimeout_or_SendMessageTimeoutA_and_SendMessageTimeoutW
726 #endif
727 LRESULT qxeSendMessageTimeout (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, UINT fuFlags, UINT uTimeout, LPDWORD lpdwResult);
728
729 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
730 #undef SendNotifyMessage
731 #define SendNotifyMessage error_use_qxeSendNotifyMessage_or_SendNotifyMessageA_and_SendNotifyMessageW
732 #endif
733 BOOL qxeSendNotifyMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
734
735 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
736 #undef SendMessageCallback
737 #define SendMessageCallback error_use_qxeSendMessageCallback_or_SendMessageCallbackA_and_SendMessageCallbackW
738 #endif
739 BOOL qxeSendMessageCallback (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, SENDASYNCPROC lpResultCallBack, DWORD dwData);
740
741 #undef BroadcastSystemMessage
742 #define BroadcastSystemMessage error_win95_version_not_split__NT_4_0__only
743
744 #undef RegisterDeviceNotification
745 #define RegisterDeviceNotification error_NT_5_0__only
746
747 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
748 #undef PostMessage
749 #define PostMessage error_use_qxePostMessage_or_PostMessageA_and_PostMessageW
750 #endif
751 BOOL qxePostMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
752
753 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
754 #undef PostThreadMessage
755 #define PostThreadMessage error_use_qxePostThreadMessage_or_PostThreadMessageA_and_PostThreadMessageW
756 #endif
757 BOOL qxePostThreadMessage (DWORD idThread, UINT Msg, WPARAM wParam, LPARAM lParam);
758
759 /* Skipping DefWindowProc because return value is conditionalized on _MAC, messes up parser */
760
761 #undef CallWindowProc
762 #define CallWindowProc error_two_versions__STRICT_and_non_STRICT
763
764 #undef CallWindowProc
765 #define CallWindowProc error_two_versions__STRICT_and_non_STRICT
766
767 /* Skipping RegisterClass because need to intercept so we can provide our own window procedure and handle split notify messages; split-simple WNDCLASS */
768
769 /* Skipping UnregisterClass because need to intercept for reasons related to RegisterClass */
770
771 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
772 #undef GetClassInfo
773 #define GetClassInfo error_use_qxeGetClassInfo_or_GetClassInfoA_and_GetClassInfoW
774 #endif
775 BOOL qxeGetClassInfo (HINSTANCE hInstance, const Extbyte * lpClassName, LPWNDCLASSW lpWndClass);
776
777 /* 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 */
778
779 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
780 #undef GetClassInfoEx
781 #define GetClassInfoEx error_use_qxeGetClassInfoEx_or_GetClassInfoExA_and_GetClassInfoExW
782 #endif
783 BOOL qxeGetClassInfoEx (HINSTANCE arg1, const Extbyte * arg2, LPWNDCLASSEXW arg3);
784
785 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
786 #undef CreateWindowEx
787 #define CreateWindowEx error_use_qxeCreateWindowEx_or_CreateWindowExA_and_CreateWindowExW
788 #endif
789 HWND 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);
790
791 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
792 #undef CreateDialogParam
793 #define CreateDialogParam error_use_qxeCreateDialogParam_or_CreateDialogParamA_and_CreateDialogParamW
794 #endif
795 HWND qxeCreateDialogParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
796
797 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
798 #undef CreateDialogIndirectParam
799 #define CreateDialogIndirectParam error_use_qxeCreateDialogIndirectParam_or_CreateDialogIndirectParamA_and_CreateDialogIndirectParamW
800 #endif
801 HWND qxeCreateDialogIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW lpTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
802
803 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
804 #undef DialogBoxParam
805 #define DialogBoxParam error_use_qxeDialogBoxParam_or_DialogBoxParamA_and_DialogBoxParamW
806 #endif
807 int qxeDialogBoxParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
808
809 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
810 #undef DialogBoxIndirectParam
811 #define DialogBoxIndirectParam error_use_qxeDialogBoxIndirectParam_or_DialogBoxIndirectParamA_and_DialogBoxIndirectParamW
812 #endif
813 int qxeDialogBoxIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW hDialogTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
814
815 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
816 #undef SetDlgItemText
817 #define SetDlgItemText error_use_qxeSetDlgItemText_or_SetDlgItemTextA_and_SetDlgItemTextW
818 #endif
819 BOOL qxeSetDlgItemText (HWND hDlg, int nIDDlgItem, const Extbyte * lpString);
820
821 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
822 #undef GetDlgItemText
823 #define GetDlgItemText error_use_qxeGetDlgItemText_or_GetDlgItemTextA_and_GetDlgItemTextW
824 #endif
825 UINT qxeGetDlgItemText (HWND hDlg, int nIDDlgItem, Extbyte * lpString, int nMaxCount);
826
827 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
828 #undef SendDlgItemMessage
829 #define SendDlgItemMessage error_use_qxeSendDlgItemMessage_or_SendDlgItemMessageA_and_SendDlgItemMessageW
830 #endif
831 LONG qxeSendDlgItemMessage (HWND hDlg, int nIDDlgItem, UINT Msg, WPARAM wParam, LPARAM lParam);
832
833 #undef DefDlgProc
834 #define DefDlgProc error_return_value_is_conditionalized_on__MAC__messes_up_parser
835
836 #if !defined (CYGWIN_HEADERS)
837 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
838 #undef CallMsgFilter
839 #define CallMsgFilter error_use_qxeCallMsgFilter_or_CallMsgFilterA_and_CallMsgFilterW
840 #endif
841 BOOL qxeCallMsgFilter (LPMSG lpMsg, int nCode);
842 #endif /* !defined (CYGWIN_HEADERS) */
843
844 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
845 #undef RegisterClipboardFormat
846 #define RegisterClipboardFormat error_use_qxeRegisterClipboardFormat_or_RegisterClipboardFormatA_and_RegisterClipboardFormatW
847 #endif
848 UINT qxeRegisterClipboardFormat (const Extbyte * lpszFormat);
849
850 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
851 #undef GetClipboardFormatName
852 #define GetClipboardFormatName error_use_qxeGetClipboardFormatName_or_GetClipboardFormatNameA_and_GetClipboardFormatNameW
853 #endif
854 int qxeGetClipboardFormatName (UINT format, Extbyte * lpszFormatName, int cchMaxCount);
855
856 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
857 #undef CharToOem
858 #define CharToOem error_use_qxeCharToOem_or_CharToOemA_and_CharToOemW
859 #endif
860 BOOL qxeCharToOem (const Extbyte * lpszSrc, LPSTR lpszDst);
861
862 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
863 #undef OemToChar
864 #define OemToChar error_use_qxeOemToChar_or_OemToCharA_and_OemToCharW
865 #endif
866 BOOL qxeOemToChar (LPCSTR lpszSrc, Extbyte * lpszDst);
867
868 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
869 #undef CharToOemBuff
870 #define CharToOemBuff error_use_qxeCharToOemBuff_or_CharToOemBuffA_and_CharToOemBuffW
871 #endif
872 BOOL qxeCharToOemBuff (const Extbyte * lpszSrc, LPSTR lpszDst, DWORD cchDstLength);
873
874 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
875 #undef OemToCharBuff
876 #define OemToCharBuff error_use_qxeOemToCharBuff_or_OemToCharBuffA_and_OemToCharBuffW
877 #endif
878 BOOL qxeOemToCharBuff (LPCSTR lpszSrc, Extbyte * lpszDst, DWORD cchDstLength);
879
880 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
881 #undef CharUpper
882 #define CharUpper error_use_qxeCharUpper_or_CharUpperA_and_CharUpperW
883 #endif
884 Extbyte * qxeCharUpper (Extbyte * lpsz);
885
886 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
887 #undef CharUpperBuff
888 #define CharUpperBuff error_use_qxeCharUpperBuff_or_CharUpperBuffA_and_CharUpperBuffW
889 #endif
890 DWORD qxeCharUpperBuff (Extbyte * lpsz, DWORD cchLength);
891
892 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
893 #undef CharLower
894 #define CharLower error_use_qxeCharLower_or_CharLowerA_and_CharLowerW
895 #endif
896 Extbyte * qxeCharLower (Extbyte * lpsz);
897
898 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
899 #undef CharLowerBuff
900 #define CharLowerBuff error_use_qxeCharLowerBuff_or_CharLowerBuffA_and_CharLowerBuffW
901 #endif
902 DWORD qxeCharLowerBuff (Extbyte * lpsz, DWORD cchLength);
903
904 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
905 #undef CharNext
906 #define CharNext error_use_qxeCharNext_or_CharNextA_and_CharNextW
907 #endif
908 Extbyte * qxeCharNext (const Extbyte * lpsz);
909
910 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
911 #undef CharPrev
912 #define CharPrev error_use_qxeCharPrev_or_CharPrevA_and_CharPrevW
913 #endif
914 Extbyte * qxeCharPrev (const Extbyte * lpszStart, const Extbyte * lpszCurrent);
915
916 #undef IsCharAlpha
917 #define IsCharAlpha error_split_CHAR
918
919 #undef IsCharAlphaNumeric
920 #define IsCharAlphaNumeric error_split_CHAR
921
922 #undef IsCharUpper
923 #define IsCharUpper error_split_CHAR
924
925 #undef IsCharLower
926 #define IsCharLower error_split_CHAR
927
928 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
929 #undef GetKeyNameText
930 #define GetKeyNameText error_use_qxeGetKeyNameText_or_GetKeyNameTextA_and_GetKeyNameTextW
931 #endif
932 int qxeGetKeyNameText (LONG lParam, Extbyte * lpString, int nSize);
933
934 /* Skipping VkKeyScan because split CHAR */
935
936 #undef VkKeyScanEx
937 #define VkKeyScanEx error_split_CHAR__NT_4_0__only
938
939 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
940 #undef MapVirtualKey
941 #define MapVirtualKey error_use_qxeMapVirtualKey_or_MapVirtualKeyA_and_MapVirtualKeyW
942 #endif
943 UINT qxeMapVirtualKey (UINT uCode, UINT uMapType);
944
945 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
946 #undef MapVirtualKeyEx
947 #define MapVirtualKeyEx error_use_qxeMapVirtualKeyEx_or_MapVirtualKeyExA_and_MapVirtualKeyExW
948 #endif
949 UINT qxeMapVirtualKeyEx (UINT uCode, UINT uMapType, HKL dwhkl);
950
951 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
952 #undef LoadAccelerators
953 #define LoadAccelerators error_use_qxeLoadAccelerators_or_LoadAcceleratorsA_and_LoadAcceleratorsW
954 #endif
955 HACCEL qxeLoadAccelerators (HINSTANCE hInstance, const Extbyte * lpTableName);
956
957 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
958 #undef CreateAcceleratorTable
959 #define CreateAcceleratorTable error_use_qxeCreateAcceleratorTable_or_CreateAcceleratorTableA_and_CreateAcceleratorTableW
960 #endif
961 HACCEL qxeCreateAcceleratorTable (LPACCEL arg1, int arg2);
962
963 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
964 #undef CopyAcceleratorTable
965 #define CopyAcceleratorTable error_use_qxeCopyAcceleratorTable_or_CopyAcceleratorTableA_and_CopyAcceleratorTableW
966 #endif
967 int qxeCopyAcceleratorTable (HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries);
968
969 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
970 #undef TranslateAccelerator
971 #define TranslateAccelerator error_use_qxeTranslateAccelerator_or_TranslateAcceleratorA_and_TranslateAcceleratorW
972 #endif
973 int qxeTranslateAccelerator (HWND hWnd, HACCEL hAccTable, LPMSG lpMsg);
974
975 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
976 #undef LoadMenu
977 #define LoadMenu error_use_qxeLoadMenu_or_LoadMenuA_and_LoadMenuW
978 #endif
979 HMENU qxeLoadMenu (HINSTANCE hInstance, const Extbyte * lpMenuName);
980
981 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
982 #undef LoadMenuIndirect
983 #define LoadMenuIndirect error_use_qxeLoadMenuIndirect_or_LoadMenuIndirectA_and_LoadMenuIndirectW
984 #endif
985 HMENU qxeLoadMenuIndirect (CONST MENUTEMPLATEW * lpMenuTemplate);
986
987 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
988 #undef ChangeMenu
989 #define ChangeMenu error_use_qxeChangeMenu_or_ChangeMenuA_and_ChangeMenuW
990 #endif
991 BOOL qxeChangeMenu (HMENU hMenu, UINT cmd, const Extbyte * lpszNewItem, UINT cmdInsert, UINT flags);
992
993 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
994 #undef GetMenuString
995 #define GetMenuString error_use_qxeGetMenuString_or_GetMenuStringA_and_GetMenuStringW
996 #endif
997 int qxeGetMenuString (HMENU hMenu, UINT uIDItem, Extbyte * lpString, int nMaxCount, UINT uFlag);
998
999 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1000 #undef InsertMenu
1001 #define InsertMenu error_use_qxeInsertMenu_or_InsertMenuA_and_InsertMenuW
1002 #endif
1003 BOOL qxeInsertMenu (HMENU hMenu, UINT uPosition, UINT uFlags, UINT uIDNewItem, const Extbyte * lpNewItem);
1004
1005 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1006 #undef AppendMenu
1007 #define AppendMenu error_use_qxeAppendMenu_or_AppendMenuA_and_AppendMenuW
1008 #endif
1009 BOOL qxeAppendMenu (HMENU hMenu, UINT uFlags, UINT uIDNewItem, const Extbyte * lpNewItem);
1010
1011 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1012 #undef ModifyMenu
1013 #define ModifyMenu error_use_qxeModifyMenu_or_ModifyMenuA_and_ModifyMenuW
1014 #endif
1015 BOOL qxeModifyMenu (HMENU hMnu, UINT uPosition, UINT uFlags, UINT uIDNewItem, const Extbyte * lpNewItem);
1016
1017 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1018 #undef InsertMenuItem
1019 #define InsertMenuItem error_use_qxeInsertMenuItem_or_InsertMenuItemA_and_InsertMenuItemW
1020 #endif
1021 BOOL qxeInsertMenuItem (HMENU arg1, UINT arg2, BOOL arg3, LPCMENUITEMINFOW arg4);
1022
1023 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1024 #undef GetMenuItemInfo
1025 #define GetMenuItemInfo error_use_qxeGetMenuItemInfo_or_GetMenuItemInfoA_and_GetMenuItemInfoW
1026 #endif
1027 BOOL qxeGetMenuItemInfo (HMENU arg1, UINT arg2, BOOL arg3, LPMENUITEMINFOW arg4);
1028
1029 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1030 #undef SetMenuItemInfo
1031 #define SetMenuItemInfo error_use_qxeSetMenuItemInfo_or_SetMenuItemInfoA_and_SetMenuItemInfoW
1032 #endif
1033 BOOL qxeSetMenuItemInfo (HMENU arg1, UINT arg2, BOOL arg3, LPCMENUITEMINFOW arg4);
1034
1035 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1036 #undef DrawText
1037 #define DrawText error_use_qxeDrawText_or_DrawTextA_and_DrawTextW
1038 #endif
1039 int qxeDrawText (HDC hDC, const Extbyte * lpString, int nCount, LPRECT lpRect, UINT uFormat);
1040
1041 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1042 #undef DrawTextEx
1043 #define DrawTextEx error_use_qxeDrawTextEx_or_DrawTextExA_and_DrawTextExW
1044 #endif
1045 int qxeDrawTextEx (HDC arg1, Extbyte * arg2, int arg3, LPRECT arg4, UINT arg5, LPDRAWTEXTPARAMS arg6);
1046
1047 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1048 #undef GrayString
1049 #define GrayString error_use_qxeGrayString_or_GrayStringA_and_GrayStringW
1050 #endif
1051 BOOL qxeGrayString (HDC hDC, HBRUSH hBrush, GRAYSTRINGPROC lpOutputFunc, LPARAM lpData, int nCount, int X, int Y, int nWidth, int nHeight);
1052
1053 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1054 #undef DrawState
1055 #define DrawState error_use_qxeDrawState_or_DrawStateA_and_DrawStateW
1056 #endif
1057 BOOL qxeDrawState (HDC arg1, HBRUSH arg2, DRAWSTATEPROC arg3, LPARAM arg4, WPARAM arg5, int arg6, int arg7, int arg8, int arg9, UINT arg10);
1058
1059 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1060 #undef TabbedTextOut
1061 #define TabbedTextOut error_use_qxeTabbedTextOut_or_TabbedTextOutA_and_TabbedTextOutW
1062 #endif
1063 LONG qxeTabbedTextOut (HDC hDC, int X, int Y, const Extbyte * lpString, int nCount, int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin);
1064
1065 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1066 #undef GetTabbedTextExtent
1067 #define GetTabbedTextExtent error_use_qxeGetTabbedTextExtent_or_GetTabbedTextExtentA_and_GetTabbedTextExtentW
1068 #endif
1069 DWORD qxeGetTabbedTextExtent (HDC hDC, const Extbyte * lpString, int nCount, int nTabPositions, LPINT lpnTabStopPositions);
1070
1071 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1072 #undef SetProp
1073 #define SetProp error_use_qxeSetProp_or_SetPropA_and_SetPropW
1074 #endif
1075 BOOL qxeSetProp (HWND hWnd, const Extbyte * lpString, HANDLE hData);
1076
1077 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1078 #undef GetProp
1079 #define GetProp error_use_qxeGetProp_or_GetPropA_and_GetPropW
1080 #endif
1081 HANDLE qxeGetProp (HWND hWnd, const Extbyte * lpString);
1082
1083 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1084 #undef RemoveProp
1085 #define RemoveProp error_use_qxeRemoveProp_or_RemovePropA_and_RemovePropW
1086 #endif
1087 HANDLE qxeRemoveProp (HWND hWnd, const Extbyte * lpString);
1088
1089 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1090 #undef EnumPropsEx
1091 #define EnumPropsEx error_use_qxeEnumPropsEx_or_EnumPropsExA_and_EnumPropsExW
1092 #endif
1093 int qxeEnumPropsEx (HWND hWnd, PROPENUMPROCEXW lpEnumFunc, LPARAM lParam);
1094
1095 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1096 #undef EnumProps
1097 #define EnumProps error_use_qxeEnumProps_or_EnumPropsA_and_EnumPropsW
1098 #endif
1099 int qxeEnumProps (HWND hWnd, PROPENUMPROCW lpEnumFunc);
1100
1101 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1102 #undef SetWindowText
1103 #define SetWindowText error_use_qxeSetWindowText_or_SetWindowTextA_and_SetWindowTextW
1104 #endif
1105 BOOL qxeSetWindowText (HWND hWnd, const Extbyte * lpString);
1106
1107 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1108 #undef GetWindowText
1109 #define GetWindowText error_use_qxeGetWindowText_or_GetWindowTextA_and_GetWindowTextW
1110 #endif
1111 int qxeGetWindowText (HWND hWnd, Extbyte * lpString, int nMaxCount);
1112
1113 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1114 #undef GetWindowTextLength
1115 #define GetWindowTextLength error_use_qxeGetWindowTextLength_or_GetWindowTextLengthA_and_GetWindowTextLengthW
1116 #endif
1117 int qxeGetWindowTextLength (HWND hWnd);
1118
1119 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1120 #undef MessageBox
1121 #define MessageBox error_use_qxeMessageBox_or_MessageBoxA_and_MessageBoxW
1122 #endif
1123 int qxeMessageBox (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT uType);
1124
1125 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1126 #undef MessageBoxEx
1127 #define MessageBoxEx error_use_qxeMessageBoxEx_or_MessageBoxExA_and_MessageBoxExW
1128 #endif
1129 int qxeMessageBoxEx (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT uType, WORD wLanguageId);
1130
1131 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1132 #undef MessageBoxIndirect
1133 #define MessageBoxIndirect error_use_qxeMessageBoxIndirect_or_MessageBoxIndirectA_and_MessageBoxIndirectW
1134 #endif
1135 int qxeMessageBoxIndirect (LPMSGBOXPARAMSW arg1);
1136
1137 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1138 #undef GetWindowLong
1139 #define GetWindowLong error_use_qxeGetWindowLong_or_GetWindowLongA_and_GetWindowLongW
1140 #endif
1141 LONG qxeGetWindowLong (HWND hWnd, int nIndex);
1142
1143 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1144 #undef SetWindowLong
1145 #define SetWindowLong error_use_qxeSetWindowLong_or_SetWindowLongA_and_SetWindowLongW
1146 #endif
1147 LONG qxeSetWindowLong (HWND hWnd, int nIndex, LONG dwNewLong);
1148
1149 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1150 #undef GetClassLong
1151 #define GetClassLong error_use_qxeGetClassLong_or_GetClassLongA_and_GetClassLongW
1152 #endif
1153 DWORD qxeGetClassLong (HWND hWnd, int nIndex);
1154
1155 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1156 #undef SetClassLong
1157 #define SetClassLong error_use_qxeSetClassLong_or_SetClassLongA_and_SetClassLongW
1158 #endif
1159 DWORD qxeSetClassLong (HWND hWnd, int nIndex, LONG dwNewLong);
1160
1161 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1162 #undef FindWindow
1163 #define FindWindow error_use_qxeFindWindow_or_FindWindowA_and_FindWindowW
1164 #endif
1165 HWND qxeFindWindow (const Extbyte * lpClassName, const Extbyte * lpWindowName);
1166
1167 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1168 #undef FindWindowEx
1169 #define FindWindowEx error_use_qxeFindWindowEx_or_FindWindowExA_and_FindWindowExW
1170 #endif
1171 HWND qxeFindWindowEx (HWND arg1, HWND arg2, const Extbyte * arg3, const Extbyte * arg4);
1172
1173 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1174 #undef GetClassName
1175 #define GetClassName error_use_qxeGetClassName_or_GetClassNameA_and_GetClassNameW
1176 #endif
1177 int qxeGetClassName (HWND hWnd, Extbyte * lpClassName, int nMaxCount);
1178
1179 #undef SetWindowsHook
1180 #define SetWindowsHook error_obsolete__two_versions__STRICT_and_non_STRICT
1181
1182 #undef SetWindowsHook
1183 #define SetWindowsHook error_obsolete__two_versions__STRICT_and_non_STRICT
1184
1185 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1186 #undef SetWindowsHookEx
1187 #define SetWindowsHookEx error_use_qxeSetWindowsHookEx_or_SetWindowsHookExA_and_SetWindowsHookExW
1188 #endif
1189 HHOOK qxeSetWindowsHookEx (int idHook, HOOKPROC lpfn, HINSTANCE hmod, DWORD dwThreadId);
1190
1191 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1192 #undef LoadBitmap
1193 #define LoadBitmap error_use_qxeLoadBitmap_or_LoadBitmapA_and_LoadBitmapW
1194 #endif
1195 HBITMAP qxeLoadBitmap (HINSTANCE hInstance, const Extbyte * lpBitmapName);
1196
1197 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1198 #undef LoadCursor
1199 #define LoadCursor error_use_qxeLoadCursor_or_LoadCursorA_and_LoadCursorW
1200 #endif
1201 HCURSOR qxeLoadCursor (HINSTANCE hInstance, const Extbyte * lpCursorName);
1202
1203 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1204 #undef LoadCursorFromFile
1205 #define LoadCursorFromFile error_use_qxeLoadCursorFromFile_or_LoadCursorFromFileA_and_LoadCursorFromFileW
1206 #endif
1207 HCURSOR qxeLoadCursorFromFile (const Extbyte * lpFileName);
1208
1209 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1210 #undef LoadIcon
1211 #define LoadIcon error_use_qxeLoadIcon_or_LoadIconA_and_LoadIconW
1212 #endif
1213 HICON qxeLoadIcon (HINSTANCE hInstance, const Extbyte * lpIconName);
1214
1215 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1216 #undef LoadImage
1217 #define LoadImage error_use_qxeLoadImage_or_LoadImageA_and_LoadImageW
1218 #endif
1219 HANDLE qxeLoadImage (HINSTANCE arg1, const Extbyte * arg2, UINT arg3, int arg4, int arg5, UINT arg6);
1220
1221 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1222 #undef LoadString
1223 #define LoadString error_use_qxeLoadString_or_LoadStringA_and_LoadStringW
1224 #endif
1225 int qxeLoadString (HINSTANCE hInstance, UINT uID, Extbyte * lpBuffer, int nBufferMax);
1226
1227 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1228 #undef IsDialogMessage
1229 #define IsDialogMessage error_use_qxeIsDialogMessage_or_IsDialogMessageA_and_IsDialogMessageW
1230 #endif
1231 BOOL qxeIsDialogMessage (HWND hDlg, LPMSG lpMsg);
1232
1233 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1234 #undef DlgDirList
1235 #define DlgDirList error_use_qxeDlgDirList_or_DlgDirListA_and_DlgDirListW
1236 #endif
1237 int qxeDlgDirList (HWND hDlg, Extbyte * lpPathSpec, int nIDListBox, int nIDStaticPath, UINT uFileType);
1238
1239 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1240 #undef DlgDirSelectEx
1241 #define DlgDirSelectEx error_use_qxeDlgDirSelectEx_or_DlgDirSelectExA_and_DlgDirSelectExW
1242 #endif
1243 BOOL qxeDlgDirSelectEx (HWND hDlg, Extbyte * lpString, int nCount, int nIDListBox);
1244
1245 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1246 #undef DlgDirListComboBox
1247 #define DlgDirListComboBox error_use_qxeDlgDirListComboBox_or_DlgDirListComboBoxA_and_DlgDirListComboBoxW
1248 #endif
1249 int qxeDlgDirListComboBox (HWND hDlg, Extbyte * lpPathSpec, int nIDComboBox, int nIDStaticPath, UINT uFiletype);
1250
1251 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1252 #undef DlgDirSelectComboBoxEx
1253 #define DlgDirSelectComboBoxEx error_use_qxeDlgDirSelectComboBoxEx_or_DlgDirSelectComboBoxExA_and_DlgDirSelectComboBoxExW
1254 #endif
1255 BOOL qxeDlgDirSelectComboBoxEx (HWND hDlg, Extbyte * lpString, int nCount, int nIDComboBox);
1256
1257 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1258 #undef DefFrameProc
1259 #define DefFrameProc error_use_qxeDefFrameProc_or_DefFrameProcA_and_DefFrameProcW
1260 #endif
1261 LRESULT qxeDefFrameProc (HWND hWnd, HWND hWndMDIClient, UINT uMsg, WPARAM wParam, LPARAM lParam);
1262
1263 #undef DefMDIChildProc
1264 #define DefMDIChildProc error_return_value_is_conditionalized_on__MAC__messes_up_parser
1265
1266 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1267 #undef CreateMDIWindow
1268 #define CreateMDIWindow error_use_qxeCreateMDIWindow_or_CreateMDIWindowA_and_CreateMDIWindowW
1269 #endif
1270 HWND qxeCreateMDIWindow (Extbyte * lpClassName, Extbyte * lpWindowName, DWORD dwStyle, int X, int Y, int nWidth, int nHeight, HWND hWndParent, HINSTANCE hInstance, LPARAM lParam);
1271
1272 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1273 #undef WinHelp
1274 #define WinHelp error_use_qxeWinHelp_or_WinHelpA_and_WinHelpW
1275 #endif
1276 BOOL qxeWinHelp (HWND hWndMain, const Extbyte * lpszHelp, UINT uCommand, DWORD dwData);
1277
1278 #undef ChangeDisplaySettings
1279 #define ChangeDisplaySettings error_split_sized_LPDEVMODE
1280
1281 #undef ChangeDisplaySettingsEx
1282 #define ChangeDisplaySettingsEx error_split_sized_LPDEVMODE__NT_5_0_Win98__only
1283
1284 #undef EnumDisplaySettings
1285 #define EnumDisplaySettings error_split_sized_LPDEVMODE
1286
1287 #undef EnumDisplayDevices
1288 #define EnumDisplayDevices error_split_sized_PDISPLAY_DEVICE__NT_5_0__only__no_Win98
1289
1290 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1291 #undef SystemParametersInfo
1292 #define SystemParametersInfo error_use_qxeSystemParametersInfo_or_SystemParametersInfoA_and_SystemParametersInfoW
1293 #endif
1294 BOOL qxeSystemParametersInfo (UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni);
1295
1296 #undef GetMonitorInfo
1297 #define GetMonitorInfo error_NT_5_0_Win98__only
1298
1299 #undef GetWindowModuleFileName
1300 #define GetWindowModuleFileName error_NT_5_0__only
1301
1302 #undef RealGetWindowClass
1303 #define RealGetWindowClass error_NT_5_0__only
1304
1305 #undef GetAltTabInfo
1306 #define GetAltTabInfo error_NT_5_0__only
1307
1308
1309 /* Processing file DDEML.H */
1310
1311 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1312 #undef DdeInitialize
1313 #define DdeInitialize error_use_qxeDdeInitialize_or_DdeInitializeA_and_DdeInitializeW
1314 #endif
1315 UINT qxeDdeInitialize (LPDWORD pidInst, PFNCALLBACK pfnCallback, DWORD afCmd, DWORD ulRes);
1316
1317 /* Skipping DdeCreateStringHandle because error in Cygwin prototype */
1318
1319 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1320 #undef DdeQueryString
1321 #define DdeQueryString error_use_qxeDdeQueryString_or_DdeQueryStringA_and_DdeQueryStringW
1322 #endif
1323 DWORD qxeDdeQueryString (DWORD idInst, HSZ hsz, Extbyte * psz, DWORD cchMax, int iCodePage);
1324
1325
510 /* Processing file WINREG.H */ 1326 /* Processing file WINREG.H */
511 1327
512 /* Skipping RegConnectRegistry because error in Cygwin prototype */ 1328 /* Skipping RegConnectRegistry because error in Cygwin prototype */
513 1329
514 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1330 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
515 #undef RegCreateKey 1331 #undef RegCreateKey
516 #define RegCreateKey error use qxeRegCreateKey or RegCreateKeyA/RegCreateKeyW 1332 #define RegCreateKey error_use_qxeRegCreateKey_or_RegCreateKeyA_and_RegCreateKeyW
517 #endif 1333 #endif
518 LONG 1334 LONG
519 qxeRegCreateKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult); 1335 qxeRegCreateKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult);
520 1336
521 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1337 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
522 #undef RegCreateKeyEx 1338 #undef RegCreateKeyEx
523 #define RegCreateKeyEx error use qxeRegCreateKeyEx or RegCreateKeyExA/RegCreateKeyExW 1339 #define RegCreateKeyEx error_use_qxeRegCreateKeyEx_or_RegCreateKeyExA_and_RegCreateKeyExW
524 #endif 1340 #endif
525 LONG 1341 LONG
526 qxeRegCreateKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD Reserved, Extbyte * lpClass, DWORD dwOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes, PHKEY phkResult, LPDWORD lpdwDisposition); 1342 qxeRegCreateKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD Reserved, Extbyte * lpClass, DWORD dwOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes, PHKEY phkResult, LPDWORD lpdwDisposition);
527 1343
528 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1344 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
529 #undef RegDeleteKey 1345 #undef RegDeleteKey
530 #define RegDeleteKey error use qxeRegDeleteKey or RegDeleteKeyA/RegDeleteKeyW 1346 #define RegDeleteKey error_use_qxeRegDeleteKey_or_RegDeleteKeyA_and_RegDeleteKeyW
531 #endif 1347 #endif
532 LONG 1348 LONG
533 qxeRegDeleteKey (HKEY hKey, const Extbyte * lpSubKey); 1349 qxeRegDeleteKey (HKEY hKey, const Extbyte * lpSubKey);
534 1350
535 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1351 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
536 #undef RegDeleteValue 1352 #undef RegDeleteValue
537 #define RegDeleteValue error use qxeRegDeleteValue or RegDeleteValueA/RegDeleteValueW 1353 #define RegDeleteValue error_use_qxeRegDeleteValue_or_RegDeleteValueA_and_RegDeleteValueW
538 #endif 1354 #endif
539 LONG 1355 LONG
540 qxeRegDeleteValue (HKEY hKey, const Extbyte * lpValueName); 1356 qxeRegDeleteValue (HKEY hKey, const Extbyte * lpValueName);
541 1357
542 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1358 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
543 #undef RegEnumKey 1359 #undef RegEnumKey
544 #define RegEnumKey error use qxeRegEnumKey or RegEnumKeyA/RegEnumKeyW 1360 #define RegEnumKey error_use_qxeRegEnumKey_or_RegEnumKeyA_and_RegEnumKeyW
545 #endif 1361 #endif
546 LONG 1362 LONG
547 qxeRegEnumKey (HKEY hKey, DWORD dwIndex, Extbyte * lpName, DWORD cbName); 1363 qxeRegEnumKey (HKEY hKey, DWORD dwIndex, Extbyte * lpName, DWORD cbName);
548 1364
549 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1365 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
550 #undef RegEnumKeyEx 1366 #undef RegEnumKeyEx
551 #define RegEnumKeyEx error use qxeRegEnumKeyEx or RegEnumKeyExA/RegEnumKeyExW 1367 #define RegEnumKeyEx error_use_qxeRegEnumKeyEx_or_RegEnumKeyExA_and_RegEnumKeyExW
552 #endif 1368 #endif
553 LONG 1369 LONG
554 qxeRegEnumKeyEx (HKEY hKey, DWORD dwIndex, Extbyte * lpName, LPDWORD lpcbName, LPDWORD lpReserved, Extbyte * lpClass, LPDWORD lpcbClass, PFILETIME lpftLastWriteTime); 1370 qxeRegEnumKeyEx (HKEY hKey, DWORD dwIndex, Extbyte * lpName, LPDWORD lpcbName, LPDWORD lpReserved, Extbyte * lpClass, LPDWORD lpcbClass, PFILETIME lpftLastWriteTime);
555 1371
556 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1372 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
557 #undef RegEnumValue 1373 #undef RegEnumValue
558 #define RegEnumValue error use qxeRegEnumValue or RegEnumValueA/RegEnumValueW 1374 #define RegEnumValue error_use_qxeRegEnumValue_or_RegEnumValueA_and_RegEnumValueW
559 #endif 1375 #endif
560 LONG 1376 LONG
561 qxeRegEnumValue (HKEY hKey, DWORD dwIndex, Extbyte * lpValueName, LPDWORD lpcbValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData); 1377 qxeRegEnumValue (HKEY hKey, DWORD dwIndex, Extbyte * lpValueName, LPDWORD lpcbValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData);
562 1378
563 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1379 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
564 #undef RegLoadKey 1380 #undef RegLoadKey
565 #define RegLoadKey error use qxeRegLoadKey or RegLoadKeyA/RegLoadKeyW 1381 #define RegLoadKey error_use_qxeRegLoadKey_or_RegLoadKeyA_and_RegLoadKeyW
566 #endif 1382 #endif
567 LONG 1383 LONG
568 qxeRegLoadKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpFile); 1384 qxeRegLoadKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpFile);
569 1385
570 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1386 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
571 #undef RegOpenKey 1387 #undef RegOpenKey
572 #define RegOpenKey error use qxeRegOpenKey or RegOpenKeyA/RegOpenKeyW 1388 #define RegOpenKey error_use_qxeRegOpenKey_or_RegOpenKeyA_and_RegOpenKeyW
573 #endif 1389 #endif
574 LONG 1390 LONG
575 qxeRegOpenKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult); 1391 qxeRegOpenKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult);
576 1392
577 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1393 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
578 #undef RegOpenKeyEx 1394 #undef RegOpenKeyEx
579 #define RegOpenKeyEx error use qxeRegOpenKeyEx or RegOpenKeyExA/RegOpenKeyExW 1395 #define RegOpenKeyEx error_use_qxeRegOpenKeyEx_or_RegOpenKeyExA_and_RegOpenKeyExW
580 #endif 1396 #endif
581 LONG 1397 LONG
582 qxeRegOpenKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult); 1398 qxeRegOpenKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult);
583 1399
584 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1400 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
585 #undef RegQueryInfoKey 1401 #undef RegQueryInfoKey
586 #define RegQueryInfoKey error use qxeRegQueryInfoKey or RegQueryInfoKeyA/RegQueryInfoKeyW 1402 #define RegQueryInfoKey error_use_qxeRegQueryInfoKey_or_RegQueryInfoKeyA_and_RegQueryInfoKeyW
587 #endif 1403 #endif
588 LONG 1404 LONG
589 qxeRegQueryInfoKey (HKEY hKey, Extbyte * lpClass, LPDWORD lpcbClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcbMaxSubKeyLen, LPDWORD lpcbMaxClassLen, LPDWORD lpcValues, LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime); 1405 qxeRegQueryInfoKey (HKEY hKey, Extbyte * lpClass, LPDWORD lpcbClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcbMaxSubKeyLen, LPDWORD lpcbMaxClassLen, LPDWORD lpcValues, LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime);
590 1406
591 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1407 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
592 #undef RegQueryValue 1408 #undef RegQueryValue
593 #define RegQueryValue error use qxeRegQueryValue or RegQueryValueA/RegQueryValueW 1409 #define RegQueryValue error_use_qxeRegQueryValue_or_RegQueryValueA_and_RegQueryValueW
594 #endif 1410 #endif
595 LONG 1411 LONG
596 qxeRegQueryValue (HKEY hKey, const Extbyte * lpSubKey, Extbyte * lpValue, PLONG lpcbValue); 1412 qxeRegQueryValue (HKEY hKey, const Extbyte * lpSubKey, Extbyte * lpValue, PLONG lpcbValue);
597 1413
598 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1414 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
599 #undef RegQueryMultipleValues 1415 #undef RegQueryMultipleValues
600 #define RegQueryMultipleValues error use qxeRegQueryMultipleValues or RegQueryMultipleValuesA/RegQueryMultipleValuesW 1416 #define RegQueryMultipleValues error_use_qxeRegQueryMultipleValues_or_RegQueryMultipleValuesA_and_RegQueryMultipleValuesW
601 #endif 1417 #endif
602 LONG 1418 LONG
603 qxeRegQueryMultipleValues (HKEY hKey, PVALENTW val_list, DWORD num_vals, Extbyte * lpValueBuf, LPDWORD ldwTotsize); 1419 qxeRegQueryMultipleValues (HKEY hKey, PVALENTW val_list, DWORD num_vals, Extbyte * lpValueBuf, LPDWORD ldwTotsize);
604 1420
605 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1421 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
606 #undef RegQueryValueEx 1422 #undef RegQueryValueEx
607 #define RegQueryValueEx error use qxeRegQueryValueEx or RegQueryValueExA/RegQueryValueExW 1423 #define RegQueryValueEx error_use_qxeRegQueryValueEx_or_RegQueryValueExA_and_RegQueryValueExW
608 #endif 1424 #endif
609 LONG 1425 LONG
610 qxeRegQueryValueEx (HKEY hKey, const Extbyte * lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData); 1426 qxeRegQueryValueEx (HKEY hKey, const Extbyte * lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData);
611 1427
612 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1428 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
613 #undef RegReplaceKey 1429 #undef RegReplaceKey
614 #define RegReplaceKey error use qxeRegReplaceKey or RegReplaceKeyA/RegReplaceKeyW 1430 #define RegReplaceKey error_use_qxeRegReplaceKey_or_RegReplaceKeyA_and_RegReplaceKeyW
615 #endif 1431 #endif
616 LONG 1432 LONG
617 qxeRegReplaceKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpNewFile, const Extbyte * lpOldFile); 1433 qxeRegReplaceKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpNewFile, const Extbyte * lpOldFile);
618 1434
619 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1435 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
620 #undef RegRestoreKey 1436 #undef RegRestoreKey
621 #define RegRestoreKey error use qxeRegRestoreKey or RegRestoreKeyA/RegRestoreKeyW 1437 #define RegRestoreKey error_use_qxeRegRestoreKey_or_RegRestoreKeyA_and_RegRestoreKeyW
622 #endif 1438 #endif
623 LONG 1439 LONG
624 qxeRegRestoreKey (HKEY hKey, const Extbyte * lpFile, DWORD dwFlags); 1440 qxeRegRestoreKey (HKEY hKey, const Extbyte * lpFile, DWORD dwFlags);
625 1441
626 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1442 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
627 #undef RegSaveKey 1443 #undef RegSaveKey
628 #define RegSaveKey error use qxeRegSaveKey or RegSaveKeyA/RegSaveKeyW 1444 #define RegSaveKey error_use_qxeRegSaveKey_or_RegSaveKeyA_and_RegSaveKeyW
629 #endif 1445 #endif
630 LONG 1446 LONG
631 qxeRegSaveKey (HKEY hKey, const Extbyte * lpFile, LPSECURITY_ATTRIBUTES lpSecurityAttributes); 1447 qxeRegSaveKey (HKEY hKey, const Extbyte * lpFile, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
632 1448
633 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1449 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
634 #undef RegSetValue 1450 #undef RegSetValue
635 #define RegSetValue error use qxeRegSetValue or RegSetValueA/RegSetValueW 1451 #define RegSetValue error_use_qxeRegSetValue_or_RegSetValueA_and_RegSetValueW
636 #endif 1452 #endif
637 LONG 1453 LONG
638 qxeRegSetValue (HKEY hKey, const Extbyte * lpSubKey, DWORD dwType, const Extbyte * lpData, DWORD cbData); 1454 qxeRegSetValue (HKEY hKey, const Extbyte * lpSubKey, DWORD dwType, const Extbyte * lpData, DWORD cbData);
639 1455
640 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1456 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
641 #undef RegSetValueEx 1457 #undef RegSetValueEx
642 #define RegSetValueEx error use qxeRegSetValueEx or RegSetValueExA/RegSetValueExW 1458 #define RegSetValueEx error_use_qxeRegSetValueEx_or_RegSetValueExA_and_RegSetValueExW
643 #endif 1459 #endif
644 LONG 1460 LONG
645 qxeRegSetValueEx (HKEY hKey, const Extbyte * lpValueName, DWORD Reserved, DWORD dwType, CONST BYTE* lpData, DWORD cbData); 1461 qxeRegSetValueEx (HKEY hKey, const Extbyte * lpValueName, DWORD Reserved, DWORD dwType, CONST BYTE* lpData, DWORD cbData);
646 1462
647 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1463 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
648 #undef RegUnLoadKey 1464 #undef RegUnLoadKey
649 #define RegUnLoadKey error use qxeRegUnLoadKey or RegUnLoadKeyA/RegUnLoadKeyW 1465 #define RegUnLoadKey error_use_qxeRegUnLoadKey_or_RegUnLoadKeyA_and_RegUnLoadKeyW
650 #endif 1466 #endif
651 LONG 1467 LONG
652 qxeRegUnLoadKey (HKEY hKey, const Extbyte * lpSubKey); 1468 qxeRegUnLoadKey (HKEY hKey, const Extbyte * lpSubKey);
653 1469
654 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1470 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
655 #undef InitiateSystemShutdown 1471 #undef InitiateSystemShutdown
656 #define InitiateSystemShutdown error use qxeInitiateSystemShutdown or InitiateSystemShutdownA/InitiateSystemShutdownW 1472 #define InitiateSystemShutdown error_use_qxeInitiateSystemShutdown_or_InitiateSystemShutdownA_and_InitiateSystemShutdownW
657 #endif 1473 #endif
658 BOOL 1474 BOOL
659 qxeInitiateSystemShutdown (Extbyte * lpMachineName, Extbyte * lpMessage, DWORD dwTimeout, BOOL bForceAppsClosed, BOOL bRebootAfterShutdown); 1475 qxeInitiateSystemShutdown (Extbyte * lpMachineName, Extbyte * lpMessage, DWORD dwTimeout, BOOL bForceAppsClosed, BOOL bRebootAfterShutdown);
660 1476
661 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1477 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
662 #undef AbortSystemShutdown 1478 #undef AbortSystemShutdown
663 #define AbortSystemShutdown error use qxeAbortSystemShutdown or AbortSystemShutdownA/AbortSystemShutdownW 1479 #define AbortSystemShutdown error_use_qxeAbortSystemShutdown_or_AbortSystemShutdownA_and_AbortSystemShutdownW
664 #endif 1480 #endif
665 BOOL 1481 BOOL
666 qxeAbortSystemShutdown (Extbyte * lpMachineName); 1482 qxeAbortSystemShutdown (Extbyte * lpMachineName);
667 1483
668 1484
669 /* Processing file SHELLAPI.H */ 1485 /* Processing file WINNLS.H */
670 1486
671 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1487 #undef GetCPInfoEx
672 #undef DragQueryFile 1488 #define GetCPInfoEx error_not_used__not_examined_yet
673 #define DragQueryFile error use qxeDragQueryFile or DragQueryFileA/DragQueryFileW 1489
674 #endif 1490 #undef CompareString
675 UINT qxeDragQueryFile (HDROP arg1, UINT arg2, Extbyte * arg3, UINT arg4); 1491 #define CompareString error_not_used__not_examined_yet
676 1492
677 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1493 #undef LCMapString
678 #undef ShellExecute 1494 #define LCMapString error_not_used__not_examined_yet
679 #define ShellExecute error use qxeShellExecute or ShellExecuteA/ShellExecuteW 1495
680 #endif 1496 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
681 HINSTANCE qxeShellExecute (HWND hwnd, const Extbyte * lpOperation, const Extbyte * lpFile, const Extbyte * lpParameters, const Extbyte * lpDirectory, INT nShowCmd); 1497 #undef GetLocaleInfo
682 1498 #define GetLocaleInfo error_use_qxeGetLocaleInfo_or_GetLocaleInfoA_and_GetLocaleInfoW
683 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1499 #endif
684 #undef FindExecutable 1500 int qxeGetLocaleInfo (LCID Locale, LCTYPE LCType, Extbyte * lpLCData, int cchData);
685 #define FindExecutable error use qxeFindExecutable or FindExecutableA/FindExecutableW 1501
686 #endif 1502 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
687 HINSTANCE qxeFindExecutable (const Extbyte * lpFile, const Extbyte * lpDirectory, Extbyte * lpResult); 1503 #undef SetLocaleInfo
688 1504 #define SetLocaleInfo error_use_qxeSetLocaleInfo_or_SetLocaleInfoA_and_SetLocaleInfoW
689 #undef CommandLineToArgv 1505 #endif
690 #define CommandLineToArgv error Unicode-only 1506 BOOL qxeSetLocaleInfo (LCID Locale, LCTYPE LCType, const Extbyte * lpLCData);
691 1507
692 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1508 #undef GetTimeFormat
693 #undef ShellAbout 1509 #define GetTimeFormat error_not_used__not_examined_yet
694 #define ShellAbout error use qxeShellAbout or ShellAboutA/ShellAboutW 1510
695 #endif 1511 #undef GetDateFormat
696 INT qxeShellAbout (HWND hWnd, const Extbyte * szApp, const Extbyte * szOtherStuff, HICON hIcon); 1512 #define GetDateFormat error_not_used__not_examined_yet
697 1513
698 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1514 #undef GetNumberFormat
699 #undef ExtractAssociatedIcon 1515 #define GetNumberFormat error_not_used__not_examined_yet
700 #define ExtractAssociatedIcon error use qxeExtractAssociatedIcon or ExtractAssociatedIconA/ExtractAssociatedIconW 1516
701 #endif 1517 #undef GetCurrencyFormat
702 HICON qxeExtractAssociatedIcon (HINSTANCE hInst, Extbyte * lpIconPath, LPWORD lpiIcon); 1518 #define GetCurrencyFormat error_not_used__not_examined_yet
703 1519
704 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 1520 #undef EnumCalendarInfo
705 #undef ExtractIcon 1521 #define EnumCalendarInfo error_not_used__not_examined_yet
706 #define ExtractIcon error use qxeExtractIcon or ExtractIconA/ExtractIconW 1522
707 #endif 1523 #undef EnumCalendarInfoEx
708 HICON qxeExtractIcon (HINSTANCE hInst, const Extbyte * lpszExeFileName, UINT nIconIndex); 1524 #define EnumCalendarInfoEx error_not_used__not_examined_yet
1525
1526 #undef EnumTimeFormats
1527 #define EnumTimeFormats error_not_used__not_examined_yet
1528
1529 #undef EnumDateFormats
1530 #define EnumDateFormats error_not_used__not_examined_yet
1531
1532 #undef EnumDateFormatsEx
1533 #define EnumDateFormatsEx error_not_used__not_examined_yet
1534
1535 #undef GetStringTypeEx
1536 #define GetStringTypeEx error_not_used__not_examined_yet
1537
1538 #undef GetStringType
1539 #define GetStringType error_no_such_fun__A_and_W_versions_have_different_nos__of_args
1540
1541 #undef FoldString
1542 #define FoldString error_not_used__not_examined_yet
1543
1544 #undef EnumSystemLocales
1545 #define EnumSystemLocales error_not_used__not_examined_yet
1546
1547 #undef EnumSystemCodePages
1548 #define EnumSystemCodePages error_not_used__not_examined_yet
1549
1550
1551 /* Processing file IME.H */
1552
1553 #undef SendIMEMessageEx
1554 #define SendIMEMessageEx error_obsolete__no_docs_available
1555
1556
1557 /* Processing file WINGDI.H */
1558
1559 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1560 #undef AddFontResource
1561 #define AddFontResource error_use_qxeAddFontResource_or_AddFontResourceA_and_AddFontResourceW
1562 #endif
1563 int qxeAddFontResource (const Extbyte * arg1);
1564
1565 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1566 #undef CopyMetaFile
1567 #define CopyMetaFile error_use_qxeCopyMetaFile_or_CopyMetaFileA_and_CopyMetaFileW
1568 #endif
1569 HMETAFILE qxeCopyMetaFile (HMETAFILE arg1, const Extbyte * arg2);
1570
1571 /* Skipping CreateDC because split-sized DEVMODE */
1572
1573 /* Skipping CreateFontIndirect because split-sized LOGFONT */
1574
1575 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1576 #undef CreateFont
1577 #define CreateFont error_use_qxeCreateFont_or_CreateFontA_and_CreateFontW
1578 #endif
1579 HFONT qxeCreateFont (int arg1, int arg2, int arg3, int arg4, int arg5, DWORD arg6, DWORD arg7, DWORD arg8, DWORD arg9, DWORD arg10, DWORD arg11, DWORD arg12, DWORD arg13, const Extbyte * arg14);
1580
1581 /* Skipping CreateIC because split-sized DEVMODE */
1582
1583 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1584 #undef CreateMetaFile
1585 #define CreateMetaFile error_use_qxeCreateMetaFile_or_CreateMetaFileA_and_CreateMetaFileW
1586 #endif
1587 HDC qxeCreateMetaFile (const Extbyte * arg1);
1588
1589 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1590 #undef CreateScalableFontResource
1591 #define CreateScalableFontResource error_use_qxeCreateScalableFontResource_or_CreateScalableFontResourceA_and_CreateScalableFontResourceW
1592 #endif
1593 BOOL qxeCreateScalableFontResource (DWORD arg1, const Extbyte * arg2, const Extbyte * arg3, const Extbyte * arg4);
1594
1595 /* Skipping DeviceCapabilities because split-sized DEVMODE */
1596
1597 /* Skipping EnumFontFamiliesEx because split-complex FONTENUMPROC; NT 4.0+ only */
1598
1599 #undef EnumFontFamilies
1600 #define EnumFontFamilies error_split_complex_FONTENUMPROC
1601
1602 #undef EnumFonts
1603 #define EnumFonts error_split_complex_FONTENUMPROC
1604
1605 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1606 #undef GetCharWidth
1607 #define GetCharWidth error_use_qxeGetCharWidth_or_GetCharWidthA_and_GetCharWidthW
1608 #endif
1609 BOOL qxeGetCharWidth (HDC arg1, UINT arg2, UINT arg3, LPINT arg4);
1610
1611 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1612 #undef GetCharWidth32
1613 #define GetCharWidth32 error_use_qxeGetCharWidth32_or_GetCharWidth32A_and_GetCharWidth32W
1614 #endif
1615 BOOL qxeGetCharWidth32 (HDC arg1, UINT arg2, UINT arg3, LPINT arg4);
1616
1617 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1618 #undef GetCharWidthFloat
1619 #define GetCharWidthFloat error_use_qxeGetCharWidthFloat_or_GetCharWidthFloatA_and_GetCharWidthFloatW
1620 #endif
1621 BOOL qxeGetCharWidthFloat (HDC arg1, UINT arg2, UINT arg3, PFLOAT arg4);
1622
1623 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1624 #undef GetCharABCWidths
1625 #define GetCharABCWidths error_use_qxeGetCharABCWidths_or_GetCharABCWidthsA_and_GetCharABCWidthsW
1626 #endif
1627 BOOL qxeGetCharABCWidths (HDC arg1, UINT arg2, UINT arg3, LPABC arg4);
1628
1629 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1630 #undef GetCharABCWidthsFloat
1631 #define GetCharABCWidthsFloat error_use_qxeGetCharABCWidthsFloat_or_GetCharABCWidthsFloatA_and_GetCharABCWidthsFloatW
1632 #endif
1633 BOOL qxeGetCharABCWidthsFloat (HDC arg1, UINT arg2, UINT arg3, LPABCFLOAT arg4);
1634
1635 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1636 #undef GetGlyphOutline
1637 #define GetGlyphOutline error_use_qxeGetGlyphOutline_or_GetGlyphOutlineA_and_GetGlyphOutlineW
1638 #endif
1639 DWORD qxeGetGlyphOutline (HDC arg1, UINT arg2, UINT arg3, LPGLYPHMETRICS arg4, DWORD arg5, LPVOID arg6, CONST MAT2 * arg7);
1640
1641 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1642 #undef GetMetaFile
1643 #define GetMetaFile error_use_qxeGetMetaFile_or_GetMetaFileA_and_GetMetaFileW
1644 #endif
1645 HMETAFILE qxeGetMetaFile (const Extbyte * arg1);
1646
1647 #undef GetOutlineTextMetrics
1648 #define GetOutlineTextMetrics error_split_sized_LPOUTLINETEXTMETRIC
1649
1650 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1651 #undef GetTextExtentPoint
1652 #define GetTextExtentPoint error_use_qxeGetTextExtentPoint_or_GetTextExtentPointA_and_GetTextExtentPointW
1653 #endif
1654 BOOL qxeGetTextExtentPoint (HDC arg1, const Extbyte * arg2, int arg3, LPSIZE arg4);
1655
1656 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1657 #undef GetTextExtentPoint32
1658 #define GetTextExtentPoint32 error_use_qxeGetTextExtentPoint32_or_GetTextExtentPoint32A_and_GetTextExtentPoint32W
1659 #endif
1660 BOOL qxeGetTextExtentPoint32 (HDC arg1, const Extbyte * arg2, int arg3, LPSIZE arg4);
1661
1662 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1663 #undef GetTextExtentExPoint
1664 #define GetTextExtentExPoint error_use_qxeGetTextExtentExPoint_or_GetTextExtentExPointA_and_GetTextExtentExPointW
1665 #endif
1666 BOOL qxeGetTextExtentExPoint (HDC arg1, const Extbyte * arg2, int arg3, int arg4, LPINT arg5, LPINT arg6, LPSIZE arg7);
1667
1668 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1669 #undef GetCharacterPlacement
1670 #define GetCharacterPlacement error_use_qxeGetCharacterPlacement_or_GetCharacterPlacementA_and_GetCharacterPlacementW
1671 #endif
1672 DWORD qxeGetCharacterPlacement (HDC arg1, const Extbyte * arg2, int arg3, int arg4, LPGCP_RESULTSW arg5, DWORD arg6);
1673
1674 #undef GetGlyphIndices
1675 #define GetGlyphIndices error_NT_5_0__only
1676
1677 #undef AddFontResourceEx
1678 #define AddFontResourceEx error_NT_5_0__only
1679
1680 #undef RemoveFontResourceEx
1681 #define RemoveFontResourceEx error_NT_5_0__only
1682
1683 #undef CreateFontIndirectEx
1684 #define CreateFontIndirectEx error_split_sized_ENUMLOGFONTEXDV__NT_5_0__only
1685
1686 /* Skipping ResetDC because split-sized DEVMODE */
1687
1688 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1689 #undef RemoveFontResource
1690 #define RemoveFontResource error_use_qxeRemoveFontResource_or_RemoveFontResourceA_and_RemoveFontResourceW
1691 #endif
1692 BOOL qxeRemoveFontResource (const Extbyte * arg1);
1693
1694 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1695 #undef CopyEnhMetaFile
1696 #define CopyEnhMetaFile error_use_qxeCopyEnhMetaFile_or_CopyEnhMetaFileA_and_CopyEnhMetaFileW
1697 #endif
1698 HENHMETAFILE qxeCopyEnhMetaFile (HENHMETAFILE arg1, const Extbyte * arg2);
1699
1700 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1701 #undef CreateEnhMetaFile
1702 #define CreateEnhMetaFile error_use_qxeCreateEnhMetaFile_or_CreateEnhMetaFileA_and_CreateEnhMetaFileW
1703 #endif
1704 HDC qxeCreateEnhMetaFile (HDC arg1, const Extbyte * arg2, CONST RECT * arg3, const Extbyte * arg4);
1705
1706 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1707 #undef GetEnhMetaFile
1708 #define GetEnhMetaFile error_use_qxeGetEnhMetaFile_or_GetEnhMetaFileA_and_GetEnhMetaFileW
1709 #endif
1710 HENHMETAFILE qxeGetEnhMetaFile (const Extbyte * arg1);
1711
1712 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1713 #undef GetEnhMetaFileDescription
1714 #define GetEnhMetaFileDescription error_use_qxeGetEnhMetaFileDescription_or_GetEnhMetaFileDescriptionA_and_GetEnhMetaFileDescriptionW
1715 #endif
1716 UINT qxeGetEnhMetaFileDescription (HENHMETAFILE arg1, UINT arg2, Extbyte * arg3);
1717
1718 /* Skipping GetTextMetrics because split-sized LPTEXTMETRIC */
1719
1720 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1721 #undef StartDoc
1722 #define StartDoc error_use_qxeStartDoc_or_StartDocA_and_StartDocW
1723 #endif
1724 int qxeStartDoc (HDC arg1, CONST DOCINFOW * arg2);
1725
1726 /* Skipping GetObject because split-sized LOGFONT */
1727
1728 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1729 #undef TextOut
1730 #define TextOut error_use_qxeTextOut_or_TextOutA_and_TextOutW
1731 #endif
1732 BOOL qxeTextOut (HDC arg1, int arg2, int arg3, const Extbyte * arg4, int arg5);
1733
1734 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1735 #undef ExtTextOut
1736 #define ExtTextOut error_use_qxeExtTextOut_or_ExtTextOutA_and_ExtTextOutW
1737 #endif
1738 BOOL qxeExtTextOut (HDC arg1, int arg2, int arg3, UINT arg4, CONST RECT * arg5, const Extbyte * arg6, UINT arg7, CONST INT * arg8);
1739
1740 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1741 #undef PolyTextOut
1742 #define PolyTextOut error_use_qxePolyTextOut_or_PolyTextOutA_and_PolyTextOutW
1743 #endif
1744 BOOL qxePolyTextOut (HDC arg1, CONST POLYTEXTW * arg2, int arg3);
1745
1746 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1747 #undef GetTextFace
1748 #define GetTextFace error_use_qxeGetTextFace_or_GetTextFaceA_and_GetTextFaceW
1749 #endif
1750 int qxeGetTextFace (HDC arg1, int arg2, Extbyte * arg3);
1751
1752 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1753 #undef GetKerningPairs
1754 #define GetKerningPairs error_use_qxeGetKerningPairs_or_GetKerningPairsA_and_GetKerningPairsW
1755 #endif
1756 DWORD qxeGetKerningPairs (HDC arg1, DWORD arg2, LPKERNINGPAIR arg3);
1757
1758 #undef GetLogColorSpace
1759 #define GetLogColorSpace error_split_sized_LPLOGCOLORSPACE__NT_4_0__only
1760
1761 #undef CreateColorSpace
1762 #define CreateColorSpace error_split_sized_LPLOGCOLORSPACE__NT_4_0__only
1763
1764 /* Skipping GetICMProfile because NT 4.0+ only, error in Cygwin prototype */
1765
1766 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1767 #undef SetICMProfile
1768 #define SetICMProfile error_use_qxeSetICMProfile_or_SetICMProfileA_and_SetICMProfileW
1769 #endif
1770 BOOL qxeSetICMProfile (HDC arg1, Extbyte * arg2);
1771
1772 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1773 #undef EnumICMProfiles
1774 #define EnumICMProfiles error_use_qxeEnumICMProfiles_or_EnumICMProfilesA_and_EnumICMProfilesW
1775 #endif
1776 int qxeEnumICMProfiles (HDC arg1, ICMENUMPROCW arg2, LPARAM arg3);
1777
1778 /* Skipping UpdateICMRegKey because NT 4.0+ only, error in Cygwin prototype */
1779
1780 #undef wglUseFontBitmaps
1781 #define wglUseFontBitmaps error_causes_link_error
1782
1783 #undef wglUseFontOutlines
1784 #define wglUseFontOutlines error_causes_link_error
1785
1786
1787 /* Processing file SHLOBJ.H */
1788
1789 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1790 #undef SHGetPathFromIDList
1791 #define SHGetPathFromIDList error_use_qxeSHGetPathFromIDList_or_SHGetPathFromIDListA_and_SHGetPathFromIDListW
1792 #endif
1793 BOOL qxeSHGetPathFromIDList (LPCITEMIDLIST pidl, Extbyte * pszPath);
1794
1795 /* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin libraries */
1796
1797 /* Skipping SHBrowseForFolder because need to intercept callback for SendMessage */
1798
1799 /* Skipping SHGetDataFromIDList because split-sized WIN32_FIND_DATA or split-simple NETRESOURCE, missing from Cygwin libraries */
1800
1801
1802 /* Processing file COMMDLG.H */
1803
1804 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1805 #undef GetOpenFileName
1806 #define GetOpenFileName error_use_qxeGetOpenFileName_or_GetOpenFileNameA_and_GetOpenFileNameW
1807 #endif
1808 BOOL qxeGetOpenFileName (LPOPENFILENAMEW arg1);
1809
1810 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1811 #undef GetSaveFileName
1812 #define GetSaveFileName error_use_qxeGetSaveFileName_or_GetSaveFileNameA_and_GetSaveFileNameW
1813 #endif
1814 BOOL qxeGetSaveFileName (LPOPENFILENAMEW arg1);
1815
1816 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1817 #undef GetFileTitle
1818 #define GetFileTitle error_use_qxeGetFileTitle_or_GetFileTitleA_and_GetFileTitleW
1819 #endif
1820 short qxeGetFileTitle (const Extbyte * arg1, Extbyte * arg2, WORD arg3);
1821
1822 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1823 #undef ChooseColor
1824 #define ChooseColor error_use_qxeChooseColor_or_ChooseColorA_and_ChooseColorW
1825 #endif
1826 BOOL qxeChooseColor (LPCHOOSECOLORW arg1);
1827
1828 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1829 #undef FindText
1830 #define FindText error_use_qxeFindText_or_FindTextA_and_FindTextW
1831 #endif
1832 HWND qxeFindText (LPFINDREPLACEW arg1);
1833
1834 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1835 #undef ReplaceText
1836 #define ReplaceText error_use_qxeReplaceText_or_ReplaceTextA_and_ReplaceTextW
1837 #endif
1838 HWND qxeReplaceText (LPFINDREPLACEW arg1);
1839
1840 #undef AfxReplaceText
1841 #define AfxReplaceText error_mac_only
1842
1843 #undef ChooseFont
1844 #define ChooseFont error_split_sized_LPLOGFONT_in_LPCHOOSEFONT
1845
1846 /* Skipping PrintDlg because LPPRINTDLG with split-sized DEVMODE handle */
1847
1848 /* Skipping PageSetupDlg because LPPAGESETUPDLG with split-sized DEVMODE handle */
1849
1850
1851 /* Processing file IMM.H */
1852
1853 #if defined (HAVE_MS_WINDOWS)
1854 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1855 #undef ImmInstallIME
1856 #define ImmInstallIME error_use_qxeImmInstallIME_or_ImmInstallIMEA_and_ImmInstallIMEW
1857 #endif
1858 HKL qxeImmInstallIME (const Extbyte * lpszIMEFileName, const Extbyte * lpszLayoutText);
1859 #endif /* defined (HAVE_MS_WINDOWS) */
1860
1861 #if defined (HAVE_MS_WINDOWS)
1862 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1863 #undef ImmGetDescription
1864 #define ImmGetDescription error_use_qxeImmGetDescription_or_ImmGetDescriptionA_and_ImmGetDescriptionW
1865 #endif
1866 UINT qxeImmGetDescription (HKL arg1, Extbyte * arg2, UINT uBufLen);
1867 #endif /* defined (HAVE_MS_WINDOWS) */
1868
1869 #if defined (HAVE_MS_WINDOWS)
1870 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1871 #undef ImmGetIMEFileName
1872 #define ImmGetIMEFileName error_use_qxeImmGetIMEFileName_or_ImmGetIMEFileNameA_and_ImmGetIMEFileNameW
1873 #endif
1874 UINT qxeImmGetIMEFileName (HKL arg1, Extbyte * arg2, UINT uBufLen);
1875 #endif /* defined (HAVE_MS_WINDOWS) */
1876
1877 #if defined (HAVE_MS_WINDOWS)
1878 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1879 #undef ImmGetCompositionString
1880 #define ImmGetCompositionString error_use_qxeImmGetCompositionString_or_ImmGetCompositionStringA_and_ImmGetCompositionStringW
1881 #endif
1882 LONG qxeImmGetCompositionString (HIMC arg1, DWORD arg2, LPVOID arg3, DWORD arg4);
1883 #endif /* defined (HAVE_MS_WINDOWS) */
1884
1885 #if defined (HAVE_MS_WINDOWS)
1886 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1887 #undef ImmSetCompositionString
1888 #define ImmSetCompositionString error_use_qxeImmSetCompositionString_or_ImmSetCompositionStringA_and_ImmSetCompositionStringW
1889 #endif
1890 BOOL qxeImmSetCompositionString (HIMC arg1, DWORD dwIndex, LPCVOID lpComp, DWORD arg4, LPCVOID lpRead, DWORD arg6);
1891 #endif /* defined (HAVE_MS_WINDOWS) */
1892
1893 #if defined (HAVE_MS_WINDOWS)
1894 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1895 #undef ImmGetCandidateListCount
1896 #define ImmGetCandidateListCount error_use_qxeImmGetCandidateListCount_or_ImmGetCandidateListCountA_and_ImmGetCandidateListCountW
1897 #endif
1898 DWORD qxeImmGetCandidateListCount (HIMC arg1, LPDWORD lpdwListCount);
1899 #endif /* defined (HAVE_MS_WINDOWS) */
1900
1901 #if defined (HAVE_MS_WINDOWS)
1902 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1903 #undef ImmGetCandidateList
1904 #define ImmGetCandidateList error_use_qxeImmGetCandidateList_or_ImmGetCandidateListA_and_ImmGetCandidateListW
1905 #endif
1906 DWORD qxeImmGetCandidateList (HIMC arg1, DWORD deIndex, LPCANDIDATELIST arg3, DWORD dwBufLen);
1907 #endif /* defined (HAVE_MS_WINDOWS) */
1908
1909 #if defined (HAVE_MS_WINDOWS)
1910 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1911 #undef ImmGetGuideLine
1912 #define ImmGetGuideLine error_use_qxeImmGetGuideLine_or_ImmGetGuideLineA_and_ImmGetGuideLineW
1913 #endif
1914 DWORD qxeImmGetGuideLine (HIMC arg1, DWORD dwIndex, Extbyte * arg3, DWORD dwBufLen);
1915 #endif /* defined (HAVE_MS_WINDOWS) */
1916
1917 #if defined (HAVE_MS_WINDOWS)
1918 /* Skipping ImmGetCompositionFont because split-sized LOGFONT */
1919 #endif /* defined (HAVE_MS_WINDOWS) */
1920
1921 #if defined (HAVE_MS_WINDOWS)
1922 /* Skipping ImmSetCompositionFont because split-sized LOGFONT */
1923 #endif /* defined (HAVE_MS_WINDOWS) */
1924
1925 #if defined (HAVE_MS_WINDOWS)
1926 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1927 #undef ImmConfigureIME
1928 #define ImmConfigureIME error_use_qxeImmConfigureIME_or_ImmConfigureIMEA_and_ImmConfigureIMEW
1929 #endif
1930 BOOL qxeImmConfigureIME (HKL arg1, HWND arg2, DWORD arg3, LPVOID arg4);
1931 #endif /* defined (HAVE_MS_WINDOWS) */
1932
1933 #if defined (HAVE_MS_WINDOWS)
1934 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1935 #undef ImmEscape
1936 #define ImmEscape error_use_qxeImmEscape_or_ImmEscapeA_and_ImmEscapeW
1937 #endif
1938 LRESULT qxeImmEscape (HKL arg1, HIMC arg2, UINT arg3, LPVOID arg4);
1939 #endif /* defined (HAVE_MS_WINDOWS) */
1940
1941 #if defined (HAVE_MS_WINDOWS)
1942 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1943 #undef ImmGetConversionList
1944 #define ImmGetConversionList error_use_qxeImmGetConversionList_or_ImmGetConversionListA_and_ImmGetConversionListW
1945 #endif
1946 DWORD qxeImmGetConversionList (HKL arg1, HIMC arg2, const Extbyte * arg3, LPCANDIDATELIST arg4, DWORD dwBufLen, UINT uFlag);
1947 #endif /* defined (HAVE_MS_WINDOWS) */
1948
1949 #if defined (HAVE_MS_WINDOWS)
1950 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1951 #undef ImmIsUIMessage
1952 #define ImmIsUIMessage error_use_qxeImmIsUIMessage_or_ImmIsUIMessageA_and_ImmIsUIMessageW
1953 #endif
1954 BOOL qxeImmIsUIMessage (HWND arg1, UINT arg2, WPARAM arg3, LPARAM arg4);
1955 #endif /* defined (HAVE_MS_WINDOWS) */
1956
1957 #if defined (HAVE_MS_WINDOWS)
1958 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1959 #undef ImmRegisterWord
1960 #define ImmRegisterWord error_use_qxeImmRegisterWord_or_ImmRegisterWordA_and_ImmRegisterWordW
1961 #endif
1962 BOOL qxeImmRegisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const Extbyte * lpszRegister);
1963 #endif /* defined (HAVE_MS_WINDOWS) */
1964
1965 #if defined (HAVE_MS_WINDOWS)
1966 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1967 #undef ImmUnregisterWord
1968 #define ImmUnregisterWord error_use_qxeImmUnregisterWord_or_ImmUnregisterWordA_and_ImmUnregisterWordW
1969 #endif
1970 BOOL qxeImmUnregisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const Extbyte * lpszUnregister);
1971 #endif /* defined (HAVE_MS_WINDOWS) */
1972
1973 #if defined (HAVE_MS_WINDOWS)
1974 #undef ImmGetRegisterWordStyle
1975 #define ImmGetRegisterWordStyle error_split_sized_STYLEBUF
1976 #endif /* defined (HAVE_MS_WINDOWS) */
1977
1978 #if defined (HAVE_MS_WINDOWS)
1979 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1980 #undef ImmEnumRegisterWord
1981 #define ImmEnumRegisterWord error_use_qxeImmEnumRegisterWord_or_ImmEnumRegisterWordA_and_ImmEnumRegisterWordW
1982 #endif
1983 UINT qxeImmEnumRegisterWord (HKL arg1, REGISTERWORDENUMPROCW arg2, const Extbyte * lpszReading, DWORD arg4, const Extbyte * lpszRegister, LPVOID arg6);
1984 #endif /* defined (HAVE_MS_WINDOWS) */
1985
1986 #if defined (HAVE_MS_WINDOWS)
1987 #undef ImmGetImeMenuItems
1988 #define ImmGetImeMenuItems error_split_sized_IMEMENUITEMINFO
1989 #endif /* defined (HAVE_MS_WINDOWS) */
1990
1991
1992 /* Processing file WINBASE.H */
1993
1994 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1995 #undef GetBinaryType
1996 #define GetBinaryType error_use_qxeGetBinaryType_or_GetBinaryTypeA_and_GetBinaryTypeW
1997 #endif
1998 BOOL qxeGetBinaryType (const Extbyte * lpApplicationName, LPDWORD lpBinaryType);
1999
2000 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2001 #undef GetShortPathName
2002 #define GetShortPathName error_use_qxeGetShortPathName_or_GetShortPathNameA_and_GetShortPathNameW
2003 #endif
2004 DWORD qxeGetShortPathName (const Extbyte * lpszLongPath, Extbyte * lpszShortPath, DWORD cchBuffer);
2005
2006 #undef GetLongPathName
2007 #define GetLongPathName error_Win98_2K__only
2008
2009 /* Skipping GetEnvironmentStrings because misnamed ANSI version of the function */
2010
2011 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2012 #undef FreeEnvironmentStrings
2013 #define FreeEnvironmentStrings error_use_qxeFreeEnvironmentStrings_or_FreeEnvironmentStringsA_and_FreeEnvironmentStringsW
2014 #endif
2015 BOOL qxeFreeEnvironmentStrings (Extbyte * arg1);
2016
2017 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2018 #undef FormatMessage
2019 #define FormatMessage error_use_qxeFormatMessage_or_FormatMessageA_and_FormatMessageW
2020 #endif
2021 DWORD qxeFormatMessage (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, Extbyte * lpBuffer, DWORD nSize, va_list * Arguments);
2022
2023 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2024 #undef CreateMailslot
2025 #define CreateMailslot error_use_qxeCreateMailslot_or_CreateMailslotA_and_CreateMailslotW
2026 #endif
2027 HANDLE qxeCreateMailslot (const Extbyte * lpName, DWORD nMaxMessageSize, DWORD lReadTimeout, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
709 2028
710 #if !defined (CYGWIN_HEADERS) 2029 #if !defined (CYGWIN_HEADERS)
711 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2030 #undef EncryptFile
712 #undef DoEnvironmentSubst 2031 #define EncryptFile error_Win2K__only
713 #define DoEnvironmentSubst error use qxeDoEnvironmentSubst or DoEnvironmentSubstA/DoEnvironmentSubstW
714 #endif
715 DWORD qxeDoEnvironmentSubst (Extbyte * szString, UINT cbString);
716 #endif /* !defined (CYGWIN_HEADERS) */ 2032 #endif /* !defined (CYGWIN_HEADERS) */
717 2033
718 #undef FindEnvironmentString
719 #define FindEnvironmentString error causes link error; NT 4.0+ only
720
721 /* Skipping ExtractIconEx because NT 4.0+ only, error in Cygwin prototype */
722
723 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
724 #undef SHFileOperation
725 #define SHFileOperation error use qxeSHFileOperation or SHFileOperationA/SHFileOperationW
726 #endif
727 int qxeSHFileOperation (LPSHFILEOPSTRUCTW lpFileOp);
728
729 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
730 #undef ShellExecuteEx
731 #define ShellExecuteEx error use qxeShellExecuteEx or ShellExecuteExA/ShellExecuteExW
732 #endif
733 BOOL qxeShellExecuteEx (LPSHELLEXECUTEINFOW lpExecInfo);
734
735 #undef WinExecError
736 #define WinExecError error causes link error; NT 4.0+ only
737
738 #if !defined (CYGWIN_HEADERS) 2034 #if !defined (CYGWIN_HEADERS)
739 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2035 #undef DecryptFile
740 #undef SHQueryRecycleBin 2036 #define DecryptFile error_Win2K__only
741 #define SHQueryRecycleBin error use qxeSHQueryRecycleBin or SHQueryRecycleBinA/SHQueryRecycleBinW
742 #endif
743 HRESULT qxeSHQueryRecycleBin (const Extbyte * pszRootPath, LPSHQUERYRBINFO pSHQueryRBInfo);
744 #endif /* !defined (CYGWIN_HEADERS) */ 2037 #endif /* !defined (CYGWIN_HEADERS) */
745 2038
746 #if !defined (CYGWIN_HEADERS) 2039 #undef OpenRaw
747 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2040 #define OpenRaw error_error__The_procedure_entry_point_OpenRawW_could_not_be_located_in_the_dynamic_link_library_ADVAPI32_dll__
748 #undef SHEmptyRecycleBin 2041
749 #define SHEmptyRecycleBin error use qxeSHEmptyRecycleBin or SHEmptyRecycleBinA/SHEmptyRecycleBinW 2042 #undef QueryRecoveryAgents
750 #endif 2043 #define QueryRecoveryAgents error_split_sized_LPRECOVERY_AGENT_INFORMATION
751 HRESULT qxeSHEmptyRecycleBin (HWND hwnd, const Extbyte * pszRootPath, DWORD dwFlags); 2044
752 #endif /* !defined (CYGWIN_HEADERS) */ 2045 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
753 2046 #undef lstrcmp
754 #undef Shell_NotifyIcon 2047 #define lstrcmp error_use_qxelstrcmp_or_lstrcmpA_and_lstrcmpW
755 #define Shell_NotifyIcon error split-sized NOTIFYICONDATA, NT 4.0+ only 2048 #endif
756 2049 int qxelstrcmp (const Extbyte * lpString1, const Extbyte * lpString2);
757 /* Skipping SHGetFileInfo because split-sized SHFILEINFO, NT 4.0+ only */ 2050
758 2051 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
759 #undef SHGetDiskFreeSpace 2052 #undef lstrcmpi
760 #define SHGetDiskFreeSpace error causes link error; NT 4.0+ only 2053 #define lstrcmpi error_use_qxelstrcmpi_or_lstrcmpiA_and_lstrcmpiW
761 2054 #endif
762 #if !defined (CYGWIN_HEADERS) 2055 int qxelstrcmpi (const Extbyte * lpString1, const Extbyte * lpString2);
763 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2056
764 #undef SHGetNewLinkInfo 2057 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
765 #define SHGetNewLinkInfo error use qxeSHGetNewLinkInfo or SHGetNewLinkInfoA/SHGetNewLinkInfoW 2058 #undef lstrcpyn
766 #endif 2059 #define lstrcpyn error_use_qxelstrcpyn_or_lstrcpynA_and_lstrcpynW
767 BOOL qxeSHGetNewLinkInfo (const Extbyte * pszLinkTo, const Extbyte * pszDir, Extbyte * pszName, BOOL * pfMustCopy, UINT uFlags); 2060 #endif
768 #endif /* !defined (CYGWIN_HEADERS) */ 2061 Extbyte * qxelstrcpyn (Extbyte * lpString1, const Extbyte * lpString2, int iMaxLength);
769 2062
770 #if !defined (CYGWIN_HEADERS) 2063 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
771 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2064 #undef lstrcpy
772 #undef SHInvokePrinterCommand 2065 #define lstrcpy error_use_qxelstrcpy_or_lstrcpyA_and_lstrcpyW
773 #define SHInvokePrinterCommand error use qxeSHInvokePrinterCommand or SHInvokePrinterCommandA/SHInvokePrinterCommandW 2066 #endif
774 #endif 2067 Extbyte * qxelstrcpy (Extbyte * lpString1, const Extbyte * lpString2);
775 BOOL qxeSHInvokePrinterCommand (HWND hwnd, UINT uAction, const Extbyte * lpBuf1, const Extbyte * lpBuf2, BOOL fModal); 2068
776 #endif /* !defined (CYGWIN_HEADERS) */ 2069 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
777 2070 #undef lstrcat
778 2071 #define lstrcat error_use_qxelstrcat_or_lstrcatA_and_lstrcatW
779 /* Processing file WINCON.H */ 2072 #endif
780 2073 Extbyte * qxelstrcat (Extbyte * lpString1, const Extbyte * lpString2);
781 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2074
782 #undef PeekConsoleInput 2075 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
783 #define PeekConsoleInput error use qxePeekConsoleInput or PeekConsoleInputA/PeekConsoleInputW 2076 #undef lstrlen
784 #endif 2077 #define lstrlen error_use_qxelstrlen_or_lstrlenA_and_lstrlenW
785 BOOL qxePeekConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead); 2078 #endif
786 2079 int qxelstrlen (const Extbyte * lpString);
787 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2080
788 #undef ReadConsoleInput 2081 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
789 #define ReadConsoleInput error use qxeReadConsoleInput or ReadConsoleInputA/ReadConsoleInputW 2082 #undef CreateMutex
790 #endif 2083 #define CreateMutex error_use_qxeCreateMutex_or_CreateMutexA_and_CreateMutexW
791 BOOL qxeReadConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead); 2084 #endif
792 2085 HANDLE qxeCreateMutex (LPSECURITY_ATTRIBUTES lpMutexAttributes, BOOL bInitialOwner, const Extbyte * lpName);
793 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2086
794 #undef WriteConsoleInput 2087 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
795 #define WriteConsoleInput error use qxeWriteConsoleInput or WriteConsoleInputA/WriteConsoleInputW 2088 #undef OpenMutex
796 #endif 2089 #define OpenMutex error_use_qxeOpenMutex_or_OpenMutexA_and_OpenMutexW
797 BOOL qxeWriteConsoleInput (HANDLE hConsoleInput, CONST INPUT_RECORD * lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsWritten); 2090 #endif
798 2091 HANDLE qxeOpenMutex (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName);
799 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2092
800 #undef ReadConsoleOutput 2093 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
801 #define ReadConsoleOutput error use qxeReadConsoleOutput or ReadConsoleOutputA/ReadConsoleOutputW 2094 #undef CreateEvent
802 #endif 2095 #define CreateEvent error_use_qxeCreateEvent_or_CreateEventA_and_CreateEventW
803 BOOL qxeReadConsoleOutput (HANDLE hConsoleOutput, PCHAR_INFO lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpReadRegion); 2096 #endif
804 2097 HANDLE qxeCreateEvent (LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL bInitialState, const Extbyte * lpName);
805 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2098
806 #undef WriteConsoleOutput 2099 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
807 #define WriteConsoleOutput error use qxeWriteConsoleOutput or WriteConsoleOutputA/WriteConsoleOutputW 2100 #undef OpenEvent
808 #endif 2101 #define OpenEvent error_use_qxeOpenEvent_or_OpenEventA_and_OpenEventW
809 BOOL qxeWriteConsoleOutput (HANDLE hConsoleOutput, CONST CHAR_INFO * lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpWriteRegion); 2102 #endif
810 2103 HANDLE qxeOpenEvent (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName);
811 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2104
812 #undef ReadConsoleOutputCharacter 2105 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
813 #define ReadConsoleOutputCharacter error use qxeReadConsoleOutputCharacter or ReadConsoleOutputCharacterA/ReadConsoleOutputCharacterW 2106 #undef CreateSemaphore
814 #endif 2107 #define CreateSemaphore error_use_qxeCreateSemaphore_or_CreateSemaphoreA_and_CreateSemaphoreW
815 BOOL qxeReadConsoleOutputCharacter (HANDLE hConsoleOutput, Extbyte * lpCharacter, DWORD nLength, COORD dwReadCoord, LPDWORD lpNumberOfCharsRead); 2108 #endif
816 2109 HANDLE qxeCreateSemaphore (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, const Extbyte * lpName);
817 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2110
818 #undef WriteConsoleOutputCharacter 2111 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
819 #define WriteConsoleOutputCharacter error use qxeWriteConsoleOutputCharacter or WriteConsoleOutputCharacterA/WriteConsoleOutputCharacterW 2112 #undef OpenSemaphore
820 #endif 2113 #define OpenSemaphore error_use_qxeOpenSemaphore_or_OpenSemaphoreA_and_OpenSemaphoreW
821 BOOL qxeWriteConsoleOutputCharacter (HANDLE hConsoleOutput, const Extbyte * lpCharacter, DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfCharsWritten); 2114 #endif
822 2115 HANDLE qxeOpenSemaphore (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName);
823 #undef FillConsoleOutputCharacter 2116
824 #define FillConsoleOutputCharacter error split CHAR 2117 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
825 2118 #undef CreateWaitableTimer
826 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2119 #define CreateWaitableTimer error_use_qxeCreateWaitableTimer_or_CreateWaitableTimerA_and_CreateWaitableTimerW
827 #undef ScrollConsoleScreenBuffer 2120 #endif
828 #define ScrollConsoleScreenBuffer error use qxeScrollConsoleScreenBuffer or ScrollConsoleScreenBufferA/ScrollConsoleScreenBufferW 2121 HANDLE qxeCreateWaitableTimer (LPSECURITY_ATTRIBUTES lpTimerAttributes, BOOL bManualReset, const Extbyte * lpTimerName);
829 #endif 2122
830 BOOL qxeScrollConsoleScreenBuffer (HANDLE hConsoleOutput, CONST SMALL_RECT * lpScrollRectangle, CONST SMALL_RECT * lpClipRectangle, COORD dwDestinationOrigin, CONST CHAR_INFO * lpFill); 2123 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
831 2124 #undef OpenWaitableTimer
832 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2125 #define OpenWaitableTimer error_use_qxeOpenWaitableTimer_or_OpenWaitableTimerA_and_OpenWaitableTimerW
833 #undef GetConsoleTitle 2126 #endif
834 #define GetConsoleTitle error use qxeGetConsoleTitle or GetConsoleTitleA/GetConsoleTitleW 2127 HANDLE qxeOpenWaitableTimer (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpTimerName);
835 #endif 2128
836 DWORD qxeGetConsoleTitle (Extbyte * lpConsoleTitle, DWORD nSize); 2129 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
837 2130 #undef CreateFileMapping
838 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2131 #define CreateFileMapping error_use_qxeCreateFileMapping_or_CreateFileMappingA_and_CreateFileMappingW
839 #undef SetConsoleTitle 2132 #endif
840 #define SetConsoleTitle error use qxeSetConsoleTitle or SetConsoleTitleA/SetConsoleTitleW 2133 HANDLE qxeCreateFileMapping (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, const Extbyte * lpName);
841 #endif 2134
842 BOOL qxeSetConsoleTitle (const Extbyte * lpConsoleTitle); 2135 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
843 2136 #undef OpenFileMapping
844 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2137 #define OpenFileMapping error_use_qxeOpenFileMapping_or_OpenFileMappingA_and_OpenFileMappingW
845 #undef ReadConsole 2138 #endif
846 #define ReadConsole error use qxeReadConsole or ReadConsoleA/ReadConsoleW 2139 HANDLE qxeOpenFileMapping (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName);
847 #endif 2140
848 BOOL qxeReadConsole (HANDLE hConsoleInput, LPVOID lpBuffer, DWORD nNumberOfCharsToRead, LPDWORD lpNumberOfCharsRead, LPVOID lpReserved); 2141 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
849 2142 #undef GetLogicalDriveStrings
850 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2143 #define GetLogicalDriveStrings error_use_qxeGetLogicalDriveStrings_or_GetLogicalDriveStringsA_and_GetLogicalDriveStringsW
851 #undef WriteConsole 2144 #endif
852 #define WriteConsole error use qxeWriteConsole or WriteConsoleA/WriteConsoleW 2145 DWORD qxeGetLogicalDriveStrings (DWORD nBufferLength, Extbyte * lpBuffer);
853 #endif 2146
854 BOOL qxeWriteConsole (HANDLE hConsoleOutput, CONST VOID * lpBuffer, DWORD nNumberOfCharsToWrite, LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved); 2147 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
855 2148 #undef LoadLibrary
856 2149 #define LoadLibrary error_use_qxeLoadLibrary_or_LoadLibraryA_and_LoadLibraryW
857 /* Processing file IMM.H */ 2150 #endif
858 2151 HMODULE qxeLoadLibrary (const Extbyte * lpLibFileName);
859 #if defined (HAVE_MS_WINDOWS) 2152
860 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2153 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
861 #undef ImmInstallIME 2154 #undef LoadLibraryEx
862 #define ImmInstallIME error use qxeImmInstallIME or ImmInstallIMEA/ImmInstallIMEW 2155 #define LoadLibraryEx error_use_qxeLoadLibraryEx_or_LoadLibraryExA_and_LoadLibraryExW
863 #endif 2156 #endif
864 HKL qxeImmInstallIME (const Extbyte * lpszIMEFileName, const Extbyte * lpszLayoutText); 2157 HMODULE qxeLoadLibraryEx (const Extbyte * lpLibFileName, HANDLE hFile, DWORD dwFlags);
865 #endif /* defined (HAVE_MS_WINDOWS) */ 2158
866 2159 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
867 #if defined (HAVE_MS_WINDOWS) 2160 #undef GetModuleFileName
868 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2161 #define GetModuleFileName error_use_qxeGetModuleFileName_or_GetModuleFileNameA_and_GetModuleFileNameW
869 #undef ImmGetDescription 2162 #endif
870 #define ImmGetDescription error use qxeImmGetDescription or ImmGetDescriptionA/ImmGetDescriptionW 2163 DWORD qxeGetModuleFileName (HMODULE hModule, Extbyte * lpFilename, DWORD nSize);
871 #endif 2164
872 UINT qxeImmGetDescription (HKL arg1, Extbyte * arg2, UINT uBufLen); 2165 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
873 #endif /* defined (HAVE_MS_WINDOWS) */ 2166 #undef GetModuleHandle
874 2167 #define GetModuleHandle error_use_qxeGetModuleHandle_or_GetModuleHandleA_and_GetModuleHandleW
875 #if defined (HAVE_MS_WINDOWS) 2168 #endif
876 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2169 HMODULE qxeGetModuleHandle (const Extbyte * lpModuleName);
877 #undef ImmGetIMEFileName 2170
878 #define ImmGetIMEFileName error use qxeImmGetIMEFileName or ImmGetIMEFileNameA/ImmGetIMEFileNameW 2171 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
879 #endif 2172 #undef CreateProcess
880 UINT qxeImmGetIMEFileName (HKL arg1, Extbyte * arg2, UINT uBufLen); 2173 #define CreateProcess error_use_qxeCreateProcess_or_CreateProcessA_and_CreateProcessW
881 #endif /* defined (HAVE_MS_WINDOWS) */ 2174 #endif
882 2175 BOOL qxeCreateProcess (const Extbyte * lpApplicationName, Extbyte * lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, const Extbyte * lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
883 #if defined (HAVE_MS_WINDOWS) 2176
884 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2177 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
885 #undef ImmGetCompositionString 2178 #undef FatalAppExit
886 #define ImmGetCompositionString error use qxeImmGetCompositionString or ImmGetCompositionStringA/ImmGetCompositionStringW 2179 #define FatalAppExit error_use_qxeFatalAppExit_or_FatalAppExitA_and_FatalAppExitW
887 #endif 2180 #endif
888 LONG qxeImmGetCompositionString (HIMC arg1, DWORD arg2, LPVOID arg3, DWORD arg4); 2181 VOID qxeFatalAppExit (UINT uAction, const Extbyte * lpMessageText);
889 #endif /* defined (HAVE_MS_WINDOWS) */ 2182
890 2183 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
891 #if defined (HAVE_MS_WINDOWS) 2184 #undef GetStartupInfo
892 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2185 #define GetStartupInfo error_use_qxeGetStartupInfo_or_GetStartupInfoA_and_GetStartupInfoW
893 #undef ImmSetCompositionString 2186 #endif
894 #define ImmSetCompositionString error use qxeImmSetCompositionString or ImmSetCompositionStringA/ImmSetCompositionStringW 2187 VOID qxeGetStartupInfo (LPSTARTUPINFOW lpStartupInfo);
895 #endif 2188
896 BOOL qxeImmSetCompositionString (HIMC arg1, DWORD dwIndex, LPCVOID lpComp, DWORD arg4, LPCVOID lpRead, DWORD arg6); 2189 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
897 #endif /* defined (HAVE_MS_WINDOWS) */ 2190 #undef GetCommandLine
898 2191 #define GetCommandLine error_use_qxeGetCommandLine_or_GetCommandLineA_and_GetCommandLineW
899 #if defined (HAVE_MS_WINDOWS) 2192 #endif
900 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2193 Extbyte * qxeGetCommandLine (void);
901 #undef ImmGetCandidateListCount 2194
902 #define ImmGetCandidateListCount error use qxeImmGetCandidateListCount or ImmGetCandidateListCountA/ImmGetCandidateListCountW 2195 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
903 #endif 2196 #undef GetEnvironmentVariable
904 DWORD qxeImmGetCandidateListCount (HIMC arg1, LPDWORD lpdwListCount); 2197 #define GetEnvironmentVariable error_use_qxeGetEnvironmentVariable_or_GetEnvironmentVariableA_and_GetEnvironmentVariableW
905 #endif /* defined (HAVE_MS_WINDOWS) */ 2198 #endif
906 2199 DWORD qxeGetEnvironmentVariable (const Extbyte * lpName, Extbyte * lpBuffer, DWORD nSize);
907 #if defined (HAVE_MS_WINDOWS) 2200
908 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2201 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
909 #undef ImmGetCandidateList 2202 #undef SetEnvironmentVariable
910 #define ImmGetCandidateList error use qxeImmGetCandidateList or ImmGetCandidateListA/ImmGetCandidateListW 2203 #define SetEnvironmentVariable error_use_qxeSetEnvironmentVariable_or_SetEnvironmentVariableA_and_SetEnvironmentVariableW
911 #endif 2204 #endif
912 DWORD qxeImmGetCandidateList (HIMC arg1, DWORD deIndex, LPCANDIDATELIST arg3, DWORD dwBufLen); 2205 BOOL qxeSetEnvironmentVariable (const Extbyte * lpName, const Extbyte * lpValue);
913 #endif /* defined (HAVE_MS_WINDOWS) */ 2206
914 2207 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
915 #if defined (HAVE_MS_WINDOWS) 2208 #undef ExpandEnvironmentStrings
916 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2209 #define ExpandEnvironmentStrings error_use_qxeExpandEnvironmentStrings_or_ExpandEnvironmentStringsA_and_ExpandEnvironmentStringsW
917 #undef ImmGetGuideLine 2210 #endif
918 #define ImmGetGuideLine error use qxeImmGetGuideLine or ImmGetGuideLineA/ImmGetGuideLineW 2211 DWORD qxeExpandEnvironmentStrings (const Extbyte * lpSrc, Extbyte * lpDst, DWORD nSize);
919 #endif 2212
920 DWORD qxeImmGetGuideLine (HIMC arg1, DWORD dwIndex, Extbyte * arg3, DWORD dwBufLen); 2213 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
921 #endif /* defined (HAVE_MS_WINDOWS) */ 2214 #undef OutputDebugString
922 2215 #define OutputDebugString error_use_qxeOutputDebugString_or_OutputDebugStringA_and_OutputDebugStringW
923 #if defined (HAVE_MS_WINDOWS) 2216 #endif
924 /* Skipping ImmGetCompositionFont because split-sized LOGFONT */ 2217 VOID qxeOutputDebugString (const Extbyte * lpOutputString);
925 #endif /* defined (HAVE_MS_WINDOWS) */ 2218
926 2219 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
927 #if defined (HAVE_MS_WINDOWS) 2220 #undef FindResource
928 /* Skipping ImmSetCompositionFont because split-sized LOGFONT */ 2221 #define FindResource error_use_qxeFindResource_or_FindResourceA_and_FindResourceW
929 #endif /* defined (HAVE_MS_WINDOWS) */ 2222 #endif
930 2223 HRSRC qxeFindResource (HMODULE hModule, const Extbyte * lpName, const Extbyte * lpType);
931 #if defined (HAVE_MS_WINDOWS) 2224
932 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2225 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
933 #undef ImmConfigureIME 2226 #undef FindResourceEx
934 #define ImmConfigureIME error use qxeImmConfigureIME or ImmConfigureIMEA/ImmConfigureIMEW 2227 #define FindResourceEx error_use_qxeFindResourceEx_or_FindResourceExA_and_FindResourceExW
935 #endif 2228 #endif
936 BOOL qxeImmConfigureIME (HKL arg1, HWND arg2, DWORD arg3, LPVOID arg4); 2229 HRSRC qxeFindResourceEx (HMODULE hModule, const Extbyte * lpType, const Extbyte * lpName, WORD wLanguage);
937 #endif /* defined (HAVE_MS_WINDOWS) */ 2230
938 2231 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
939 #if defined (HAVE_MS_WINDOWS) 2232 #undef EnumResourceTypes
940 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2233 #define EnumResourceTypes error_use_qxeEnumResourceTypes_or_EnumResourceTypesA_and_EnumResourceTypesW
941 #undef ImmEscape 2234 #endif
942 #define ImmEscape error use qxeImmEscape or ImmEscapeA/ImmEscapeW 2235 BOOL qxeEnumResourceTypes (HMODULE hModule, ENUMRESTYPEPROC lpEnumFunc, LONG lParam);
943 #endif 2236
944 LRESULT qxeImmEscape (HKL arg1, HIMC arg2, UINT arg3, LPVOID arg4); 2237 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
945 #endif /* defined (HAVE_MS_WINDOWS) */ 2238 #undef EnumResourceNames
946 2239 #define EnumResourceNames error_use_qxeEnumResourceNames_or_EnumResourceNamesA_and_EnumResourceNamesW
947 #if defined (HAVE_MS_WINDOWS) 2240 #endif
948 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2241 BOOL qxeEnumResourceNames (HMODULE hModule, const Extbyte * lpType, ENUMRESNAMEPROC lpEnumFunc, LONG lParam);
949 #undef ImmGetConversionList 2242
950 #define ImmGetConversionList error use qxeImmGetConversionList or ImmGetConversionListA/ImmGetConversionListW 2243 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
951 #endif 2244 #undef EnumResourceLanguages
952 DWORD qxeImmGetConversionList (HKL arg1, HIMC arg2, const Extbyte * arg3, LPCANDIDATELIST arg4, DWORD dwBufLen, UINT uFlag); 2245 #define EnumResourceLanguages error_use_qxeEnumResourceLanguages_or_EnumResourceLanguagesA_and_EnumResourceLanguagesW
953 #endif /* defined (HAVE_MS_WINDOWS) */ 2246 #endif
954 2247 BOOL qxeEnumResourceLanguages (HMODULE hModule, const Extbyte * lpType, const Extbyte * lpName, ENUMRESLANGPROC lpEnumFunc, LONG lParam);
955 #if defined (HAVE_MS_WINDOWS) 2248
956 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2249 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
957 #undef ImmIsUIMessage 2250 #undef BeginUpdateResource
958 #define ImmIsUIMessage error use qxeImmIsUIMessage or ImmIsUIMessageA/ImmIsUIMessageW 2251 #define BeginUpdateResource error_use_qxeBeginUpdateResource_or_BeginUpdateResourceA_and_BeginUpdateResourceW
959 #endif 2252 #endif
960 BOOL qxeImmIsUIMessage (HWND arg1, UINT arg2, WPARAM arg3, LPARAM arg4); 2253 HANDLE qxeBeginUpdateResource (const Extbyte * pFileName, BOOL bDeleteExistingResources);
961 #endif /* defined (HAVE_MS_WINDOWS) */ 2254
962 2255 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
963 #if defined (HAVE_MS_WINDOWS) 2256 #undef UpdateResource
964 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2257 #define UpdateResource error_use_qxeUpdateResource_or_UpdateResourceA_and_UpdateResourceW
965 #undef ImmRegisterWord 2258 #endif
966 #define ImmRegisterWord error use qxeImmRegisterWord or ImmRegisterWordA/ImmRegisterWordW 2259 BOOL qxeUpdateResource (HANDLE hUpdate, const Extbyte * lpType, const Extbyte * lpName, WORD wLanguage, LPVOID lpData, DWORD cbData);
967 #endif 2260
968 BOOL qxeImmRegisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const Extbyte * lpszRegister); 2261 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
969 #endif /* defined (HAVE_MS_WINDOWS) */ 2262 #undef EndUpdateResource
970 2263 #define EndUpdateResource error_use_qxeEndUpdateResource_or_EndUpdateResourceA_and_EndUpdateResourceW
971 #if defined (HAVE_MS_WINDOWS) 2264 #endif
972 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2265 BOOL qxeEndUpdateResource (HANDLE hUpdate, BOOL fDiscard);
973 #undef ImmUnregisterWord 2266
974 #define ImmUnregisterWord error use qxeImmUnregisterWord or ImmUnregisterWordA/ImmUnregisterWordW 2267 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
975 #endif 2268 #undef GlobalAddAtom
976 BOOL qxeImmUnregisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const Extbyte * lpszUnregister); 2269 #define GlobalAddAtom error_use_qxeGlobalAddAtom_or_GlobalAddAtomA_and_GlobalAddAtomW
977 #endif /* defined (HAVE_MS_WINDOWS) */ 2270 #endif
978 2271 ATOM qxeGlobalAddAtom (const Extbyte * lpString);
979 #if defined (HAVE_MS_WINDOWS) 2272
980 #undef ImmGetRegisterWordStyle 2273 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
981 #define ImmGetRegisterWordStyle error split-sized STYLEBUF 2274 #undef GlobalFindAtom
982 #endif /* defined (HAVE_MS_WINDOWS) */ 2275 #define GlobalFindAtom error_use_qxeGlobalFindAtom_or_GlobalFindAtomA_and_GlobalFindAtomW
983 2276 #endif
984 #if defined (HAVE_MS_WINDOWS) 2277 ATOM qxeGlobalFindAtom (const Extbyte * lpString);
985 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2278
986 #undef ImmEnumRegisterWord 2279 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
987 #define ImmEnumRegisterWord error use qxeImmEnumRegisterWord or ImmEnumRegisterWordA/ImmEnumRegisterWordW 2280 #undef GlobalGetAtomName
988 #endif 2281 #define GlobalGetAtomName error_use_qxeGlobalGetAtomName_or_GlobalGetAtomNameA_and_GlobalGetAtomNameW
989 UINT qxeImmEnumRegisterWord (HKL arg1, REGISTERWORDENUMPROCW arg2, const Extbyte * lpszReading, DWORD arg4, const Extbyte * lpszRegister, LPVOID arg6); 2282 #endif
990 #endif /* defined (HAVE_MS_WINDOWS) */ 2283 UINT qxeGlobalGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize);
991 2284
992 #if defined (HAVE_MS_WINDOWS) 2285 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
993 #undef ImmGetImeMenuItems 2286 #undef AddAtom
994 #define ImmGetImeMenuItems error split-sized IMEMENUITEMINFO 2287 #define AddAtom error_use_qxeAddAtom_or_AddAtomA_and_AddAtomW
995 #endif /* defined (HAVE_MS_WINDOWS) */ 2288 #endif
996 2289 ATOM qxeAddAtom (const Extbyte * lpString);
997 2290
998 /* Processing file DDEML.H */ 2291 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
999 2292 #undef FindAtom
1000 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2293 #define FindAtom error_use_qxeFindAtom_or_FindAtomA_and_FindAtomW
1001 #undef DdeInitialize 2294 #endif
1002 #define DdeInitialize error use qxeDdeInitialize or DdeInitializeA/DdeInitializeW 2295 ATOM qxeFindAtom (const Extbyte * lpString);
1003 #endif 2296
1004 UINT qxeDdeInitialize (LPDWORD pidInst, PFNCALLBACK pfnCallback, DWORD afCmd, DWORD ulRes); 2297 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1005 2298 #undef GetAtomName
1006 /* Skipping DdeCreateStringHandle because error in Cygwin prototype */ 2299 #define GetAtomName error_use_qxeGetAtomName_or_GetAtomNameA_and_GetAtomNameW
1007 2300 #endif
1008 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2301 UINT qxeGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize);
1009 #undef DdeQueryString 2302
1010 #define DdeQueryString error use qxeDdeQueryString or DdeQueryStringA/DdeQueryStringW 2303 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1011 #endif 2304 #undef GetProfileInt
1012 DWORD qxeDdeQueryString (DWORD idInst, HSZ hsz, Extbyte * psz, DWORD cchMax, int iCodePage); 2305 #define GetProfileInt error_use_qxeGetProfileInt_or_GetProfileIntA_and_GetProfileIntW
1013 2306 #endif
1014 2307 UINT qxeGetProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT nDefault);
1015 /* Processing file WINUSER.H */ 2308
1016 2309 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1017 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2310 #undef GetProfileString
1018 #undef wvsprintf 2311 #define GetProfileString error_use_qxeGetProfileString_or_GetProfileStringA_and_GetProfileStringW
1019 #define wvsprintf error use qxewvsprintf or wvsprintfA/wvsprintfW 2312 #endif
1020 #endif 2313 DWORD qxeGetProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpDefault, Extbyte * lpReturnedString, DWORD nSize);
1021 int qxewvsprintf (Extbyte * arg1, const Extbyte * arg2, va_list arglist); 2314
1022 2315 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1023 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2316 #undef WriteProfileString
1024 #undef LoadKeyboardLayout 2317 #define WriteProfileString error_use_qxeWriteProfileString_or_WriteProfileStringA_and_WriteProfileStringW
1025 #define LoadKeyboardLayout error use qxeLoadKeyboardLayout or LoadKeyboardLayoutA/LoadKeyboardLayoutW 2318 #endif
1026 #endif 2319 BOOL qxeWriteProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpString);
1027 HKL qxeLoadKeyboardLayout (const Extbyte * pwszKLID, UINT Flags); 2320
1028 2321 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1029 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2322 #undef GetProfileSection
1030 #undef GetKeyboardLayoutName 2323 #define GetProfileSection error_use_qxeGetProfileSection_or_GetProfileSectionA_and_GetProfileSectionW
1031 #define GetKeyboardLayoutName error use qxeGetKeyboardLayoutName or GetKeyboardLayoutNameA/GetKeyboardLayoutNameW 2324 #endif
1032 #endif 2325 DWORD qxeGetProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString, DWORD nSize);
1033 BOOL qxeGetKeyboardLayoutName (Extbyte * pwszKLID); 2326
1034 2327 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1035 #undef CreateDesktop 2328 #undef WriteProfileSection
1036 #define CreateDesktop error split-sized LPDEVMODE 2329 #define WriteProfileSection error_use_qxeWriteProfileSection_or_WriteProfileSectionA_and_WriteProfileSectionW
1037 2330 #endif
1038 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2331 BOOL qxeWriteProfileSection (const Extbyte * lpAppName, const Extbyte * lpString);
1039 #undef OpenDesktop 2332
1040 #define OpenDesktop error use qxeOpenDesktop or OpenDesktopA/OpenDesktopW 2333 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1041 #endif 2334 #undef GetPrivateProfileInt
1042 HDESK qxeOpenDesktop (Extbyte * lpszDesktop, DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess); 2335 #define GetPrivateProfileInt error_use_qxeGetPrivateProfileInt_or_GetPrivateProfileIntA_and_GetPrivateProfileIntW
1043 2336 #endif
1044 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2337 UINT qxeGetPrivateProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT nDefault, const Extbyte * lpFileName);
1045 #undef EnumDesktops 2338
1046 #define EnumDesktops error use qxeEnumDesktops or EnumDesktopsA/EnumDesktopsW 2339 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1047 #endif 2340 #undef GetPrivateProfileString
1048 BOOL qxeEnumDesktops (HWINSTA hwinsta, DESKTOPENUMPROCW lpEnumFunc, LPARAM lParam); 2341 #define GetPrivateProfileString error_use_qxeGetPrivateProfileString_or_GetPrivateProfileStringA_and_GetPrivateProfileStringW
1049 2342 #endif
1050 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2343 DWORD qxeGetPrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpDefault, Extbyte * lpReturnedString, DWORD nSize, const Extbyte * lpFileName);
1051 #undef CreateWindowStation 2344
1052 #define CreateWindowStation error use qxeCreateWindowStation or CreateWindowStationA/CreateWindowStationW 2345 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1053 #endif 2346 #undef WritePrivateProfileString
1054 HWINSTA qxeCreateWindowStation (Extbyte * lpwinsta, DWORD dwReserved, ACCESS_MASK dwDesiredAccess, LPSECURITY_ATTRIBUTES lpsa); 2347 #define WritePrivateProfileString error_use_qxeWritePrivateProfileString_or_WritePrivateProfileStringA_and_WritePrivateProfileStringW
1055 2348 #endif
1056 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2349 BOOL qxeWritePrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpString, const Extbyte * lpFileName);
1057 #undef OpenWindowStation 2350
1058 #define OpenWindowStation error use qxeOpenWindowStation or OpenWindowStationA/OpenWindowStationW 2351 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1059 #endif 2352 #undef GetPrivateProfileSection
1060 HWINSTA qxeOpenWindowStation (Extbyte * lpszWinSta, BOOL fInherit, ACCESS_MASK dwDesiredAccess); 2353 #define GetPrivateProfileSection error_use_qxeGetPrivateProfileSection_or_GetPrivateProfileSectionA_and_GetPrivateProfileSectionW
1061 2354 #endif
1062 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2355 DWORD qxeGetPrivateProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString, DWORD nSize, const Extbyte * lpFileName);
1063 #undef EnumWindowStations 2356
1064 #define EnumWindowStations error use qxeEnumWindowStations or EnumWindowStationsA/EnumWindowStationsW 2357 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1065 #endif 2358 #undef WritePrivateProfileSection
1066 BOOL qxeEnumWindowStations (WINSTAENUMPROCW lpEnumFunc, LPARAM lParam); 2359 #define WritePrivateProfileSection error_use_qxeWritePrivateProfileSection_or_WritePrivateProfileSectionA_and_WritePrivateProfileSectionW
1067 2360 #endif
1068 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2361 BOOL qxeWritePrivateProfileSection (const Extbyte * lpAppName, const Extbyte * lpString, const Extbyte * lpFileName);
1069 #undef GetUserObjectInformation 2362
1070 #define GetUserObjectInformation error use qxeGetUserObjectInformation or GetUserObjectInformationA/GetUserObjectInformationW 2363 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1071 #endif 2364 #undef GetPrivateProfileSectionNames
1072 BOOL qxeGetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength, LPDWORD lpnLengthNeeded); 2365 #define GetPrivateProfileSectionNames error_use_qxeGetPrivateProfileSectionNames_or_GetPrivateProfileSectionNamesA_and_GetPrivateProfileSectionNamesW
1073 2366 #endif
1074 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2367 DWORD qxeGetPrivateProfileSectionNames (Extbyte * lpszReturnBuffer, DWORD nSize, const Extbyte * lpFileName);
1075 #undef SetUserObjectInformation 2368
1076 #define SetUserObjectInformation error use qxeSetUserObjectInformation or SetUserObjectInformationA/SetUserObjectInformationW 2369 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1077 #endif 2370 #undef GetPrivateProfileStruct
1078 BOOL qxeSetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength); 2371 #define GetPrivateProfileStruct error_use_qxeGetPrivateProfileStruct_or_GetPrivateProfileStructA_and_GetPrivateProfileStructW
1079 2372 #endif
1080 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2373 BOOL qxeGetPrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey, LPVOID lpStruct, UINT uSizeStruct, const Extbyte * szFile);
1081 #undef RegisterWindowMessage 2374
1082 #define RegisterWindowMessage error use qxeRegisterWindowMessage or RegisterWindowMessageA/RegisterWindowMessageW 2375 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1083 #endif 2376 #undef WritePrivateProfileStruct
1084 UINT qxeRegisterWindowMessage (const Extbyte * lpString); 2377 #define WritePrivateProfileStruct error_use_qxeWritePrivateProfileStruct_or_WritePrivateProfileStructA_and_WritePrivateProfileStructW
1085 2378 #endif
1086 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2379 BOOL qxeWritePrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey, LPVOID lpStruct, UINT uSizeStruct, const Extbyte * szFile);
1087 #undef GetMessage 2380
1088 #define GetMessage error use qxeGetMessage or GetMessageA/GetMessageW 2381 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1089 #endif 2382 #undef GetDriveType
1090 BOOL qxeGetMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax); 2383 #define GetDriveType error_use_qxeGetDriveType_or_GetDriveTypeA_and_GetDriveTypeW
1091 2384 #endif
1092 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2385 UINT qxeGetDriveType (const Extbyte * lpRootPathName);
1093 #undef DispatchMessage 2386
1094 #define DispatchMessage error use qxeDispatchMessage or DispatchMessageA/DispatchMessageW 2387 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1095 #endif 2388 #undef GetSystemDirectory
1096 LONG qxeDispatchMessage (CONST MSG * lpMsg); 2389 #define GetSystemDirectory error_use_qxeGetSystemDirectory_or_GetSystemDirectoryA_and_GetSystemDirectoryW
1097 2390 #endif
1098 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2391 UINT qxeGetSystemDirectory (Extbyte * lpBuffer, UINT uSize);
1099 #undef PeekMessage 2392
1100 #define PeekMessage error use qxePeekMessage or PeekMessageA/PeekMessageW 2393 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1101 #endif 2394 #undef GetTempPath
1102 BOOL qxePeekMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT wRemoveMsg); 2395 #define GetTempPath error_use_qxeGetTempPath_or_GetTempPathA_and_GetTempPathW
1103 2396 #endif
1104 /* Skipping SendMessage because split messages and structures */ 2397 DWORD qxeGetTempPath (DWORD nBufferLength, Extbyte * lpBuffer);
1105 2398
1106 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2399 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1107 #undef SendMessageTimeout 2400 #undef GetTempFileName
1108 #define SendMessageTimeout error use qxeSendMessageTimeout or SendMessageTimeoutA/SendMessageTimeoutW 2401 #define GetTempFileName error_use_qxeGetTempFileName_or_GetTempFileNameA_and_GetTempFileNameW
1109 #endif 2402 #endif
1110 LRESULT qxeSendMessageTimeout (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, UINT fuFlags, UINT uTimeout, LPDWORD lpdwResult); 2403 UINT qxeGetTempFileName (const Extbyte * lpPathName, const Extbyte * lpPrefixString, UINT uUnique, Extbyte * lpTempFileName);
1111 2404
1112 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2405 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1113 #undef SendNotifyMessage 2406 #undef GetWindowsDirectory
1114 #define SendNotifyMessage error use qxeSendNotifyMessage or SendNotifyMessageA/SendNotifyMessageW 2407 #define GetWindowsDirectory error_use_qxeGetWindowsDirectory_or_GetWindowsDirectoryA_and_GetWindowsDirectoryW
1115 #endif 2408 #endif
1116 BOOL qxeSendNotifyMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam); 2409 UINT qxeGetWindowsDirectory (Extbyte * lpBuffer, UINT uSize);
1117 2410
1118 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2411 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1119 #undef SendMessageCallback 2412 #undef SetCurrentDirectory
1120 #define SendMessageCallback error use qxeSendMessageCallback or SendMessageCallbackA/SendMessageCallbackW 2413 #define SetCurrentDirectory error_use_qxeSetCurrentDirectory_or_SetCurrentDirectoryA_and_SetCurrentDirectoryW
1121 #endif 2414 #endif
1122 BOOL qxeSendMessageCallback (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, SENDASYNCPROC lpResultCallBack, DWORD dwData); 2415 BOOL qxeSetCurrentDirectory (const Extbyte * lpPathName);
1123 2416
1124 #undef BroadcastSystemMessage 2417 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1125 #define BroadcastSystemMessage error win95 version not split; NT 4.0+ only 2418 #undef GetCurrentDirectory
1126 2419 #define GetCurrentDirectory error_use_qxeGetCurrentDirectory_or_GetCurrentDirectoryA_and_GetCurrentDirectoryW
1127 #undef RegisterDeviceNotification 2420 #endif
1128 #define RegisterDeviceNotification error NT 5.0+ only 2421 DWORD qxeGetCurrentDirectory (DWORD nBufferLength, Extbyte * lpBuffer);
1129 2422
1130 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2423 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1131 #undef PostMessage 2424 #undef GetDiskFreeSpace
1132 #define PostMessage error use qxePostMessage or PostMessageA/PostMessageW 2425 #define GetDiskFreeSpace error_use_qxeGetDiskFreeSpace_or_GetDiskFreeSpaceA_and_GetDiskFreeSpaceW
1133 #endif 2426 #endif
1134 BOOL qxePostMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam); 2427 BOOL qxeGetDiskFreeSpace (const Extbyte * lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
1135 2428
1136 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2429 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1137 #undef PostThreadMessage 2430 #undef GetDiskFreeSpaceEx
1138 #define PostThreadMessage error use qxePostThreadMessage or PostThreadMessageA/PostThreadMessageW 2431 #define GetDiskFreeSpaceEx error_use_qxeGetDiskFreeSpaceEx_or_GetDiskFreeSpaceExA_and_GetDiskFreeSpaceExW
1139 #endif 2432 #endif
1140 BOOL qxePostThreadMessage (DWORD idThread, UINT Msg, WPARAM wParam, LPARAM lParam); 2433 BOOL qxeGetDiskFreeSpaceEx (const Extbyte * lpDirectoryName, PULARGE_INTEGER lpFreeBytesAvailableToCaller, PULARGE_INTEGER lpTotalNumberOfBytes, PULARGE_INTEGER lpTotalNumberOfFreeBytes);
1141 2434
1142 /* Skipping DefWindowProc because return value is conditionalized on _MAC, messes up parser */ 2435 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1143 2436 #undef CreateDirectory
1144 #undef CallWindowProc 2437 #define CreateDirectory error_use_qxeCreateDirectory_or_CreateDirectoryA_and_CreateDirectoryW
1145 #define CallWindowProc error two versions, STRICT and non-STRICT 2438 #endif
1146 2439 BOOL qxeCreateDirectory (const Extbyte * lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
1147 #undef CallWindowProc 2440
1148 #define CallWindowProc error two versions, STRICT and non-STRICT 2441 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1149 2442 #undef CreateDirectoryEx
1150 /* Skipping RegisterClass because need to intercept so we can provide our own window procedure and handle split notify messages; split-simple WNDCLASS */ 2443 #define CreateDirectoryEx error_use_qxeCreateDirectoryEx_or_CreateDirectoryExA_and_CreateDirectoryExW
1151 2444 #endif
1152 /* Skipping UnregisterClass because need to intercept for reasons related to RegisterClass */ 2445 BOOL qxeCreateDirectoryEx (const Extbyte * lpTemplateDirectory, const Extbyte * lpNewDirectory, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
1153 2446
1154 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2447 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1155 #undef GetClassInfo 2448 #undef RemoveDirectory
1156 #define GetClassInfo error use qxeGetClassInfo or GetClassInfoA/GetClassInfoW 2449 #define RemoveDirectory error_use_qxeRemoveDirectory_or_RemoveDirectoryA_and_RemoveDirectoryW
1157 #endif 2450 #endif
1158 BOOL qxeGetClassInfo (HINSTANCE hInstance, const Extbyte * lpClassName, LPWNDCLASSW lpWndClass); 2451 BOOL qxeRemoveDirectory (const Extbyte * lpPathName);
1159 2452
1160 /* 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 */ 2453 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1161 2454 #undef GetFullPathName
1162 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2455 #define GetFullPathName error_use_qxeGetFullPathName_or_GetFullPathNameA_and_GetFullPathNameW
1163 #undef GetClassInfoEx 2456 #endif
1164 #define GetClassInfoEx error use qxeGetClassInfoEx or GetClassInfoExA/GetClassInfoExW 2457 DWORD qxeGetFullPathName (const Extbyte * lpFileName, DWORD nBufferLength, Extbyte * lpBuffer, Extbyte * * lpFilePart);
1165 #endif 2458
1166 BOOL qxeGetClassInfoEx (HINSTANCE arg1, const Extbyte * arg2, LPWNDCLASSEXW arg3); 2459 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1167 2460 #undef DefineDosDevice
1168 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2461 #define DefineDosDevice error_use_qxeDefineDosDevice_or_DefineDosDeviceA_and_DefineDosDeviceW
1169 #undef CreateWindowEx 2462 #endif
1170 #define CreateWindowEx error use qxeCreateWindowEx or CreateWindowExA/CreateWindowExW 2463 BOOL qxeDefineDosDevice (DWORD dwFlags, const Extbyte * lpDeviceName, const Extbyte * lpTargetPath);
1171 #endif 2464
1172 HWND 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); 2465 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1173 2466 #undef QueryDosDevice
1174 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2467 #define QueryDosDevice error_use_qxeQueryDosDevice_or_QueryDosDeviceA_and_QueryDosDeviceW
1175 #undef CreateDialogParam 2468 #endif
1176 #define CreateDialogParam error use qxeCreateDialogParam or CreateDialogParamA/CreateDialogParamW 2469 DWORD qxeQueryDosDevice (const Extbyte * lpDeviceName, Extbyte * lpTargetPath, DWORD ucchMax);
1177 #endif 2470
1178 HWND qxeCreateDialogParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam); 2471 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1179 2472 #undef CreateFile
1180 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2473 #define CreateFile error_use_qxeCreateFile_or_CreateFileA_and_CreateFileW
1181 #undef CreateDialogIndirectParam 2474 #endif
1182 #define CreateDialogIndirectParam error use qxeCreateDialogIndirectParam or CreateDialogIndirectParamA/CreateDialogIndirectParamW 2475 HANDLE qxeCreateFile (const Extbyte * lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
1183 #endif 2476
1184 HWND qxeCreateDialogIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW lpTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam); 2477 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1185 2478 #undef SetFileAttributes
1186 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2479 #define SetFileAttributes error_use_qxeSetFileAttributes_or_SetFileAttributesA_and_SetFileAttributesW
1187 #undef DialogBoxParam 2480 #endif
1188 #define DialogBoxParam error use qxeDialogBoxParam or DialogBoxParamA/DialogBoxParamW 2481 BOOL qxeSetFileAttributes (const Extbyte * lpFileName, DWORD dwFileAttributes);
1189 #endif 2482
1190 int qxeDialogBoxParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam); 2483 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1191 2484 #undef GetFileAttributes
1192 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2485 #define GetFileAttributes error_use_qxeGetFileAttributes_or_GetFileAttributesA_and_GetFileAttributesW
1193 #undef DialogBoxIndirectParam 2486 #endif
1194 #define DialogBoxIndirectParam error use qxeDialogBoxIndirectParam or DialogBoxIndirectParamA/DialogBoxIndirectParamW 2487 DWORD qxeGetFileAttributes (const Extbyte * lpFileName);
1195 #endif 2488
1196 int qxeDialogBoxIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW hDialogTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam); 2489 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1197 2490 #undef GetFileAttributesEx
1198 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2491 #define GetFileAttributesEx error_use_qxeGetFileAttributesEx_or_GetFileAttributesExA_and_GetFileAttributesExW
1199 #undef SetDlgItemText 2492 #endif
1200 #define SetDlgItemText error use qxeSetDlgItemText or SetDlgItemTextA/SetDlgItemTextW 2493 BOOL qxeGetFileAttributesEx (const Extbyte * lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, LPVOID lpFileInformation);
1201 #endif 2494
1202 BOOL qxeSetDlgItemText (HWND hDlg, int nIDDlgItem, const Extbyte * lpString); 2495 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1203 2496 #undef GetCompressedFileSize
1204 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2497 #define GetCompressedFileSize error_use_qxeGetCompressedFileSize_or_GetCompressedFileSizeA_and_GetCompressedFileSizeW
1205 #undef GetDlgItemText 2498 #endif
1206 #define GetDlgItemText error use qxeGetDlgItemText or GetDlgItemTextA/GetDlgItemTextW 2499 DWORD qxeGetCompressedFileSize (const Extbyte * lpFileName, LPDWORD lpFileSizeHigh);
1207 #endif 2500
1208 UINT qxeGetDlgItemText (HWND hDlg, int nIDDlgItem, Extbyte * lpString, int nMaxCount); 2501 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1209 2502 #undef DeleteFile
1210 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2503 #define DeleteFile error_use_qxeDeleteFile_or_DeleteFileA_and_DeleteFileW
1211 #undef SendDlgItemMessage 2504 #endif
1212 #define SendDlgItemMessage error use qxeSendDlgItemMessage or SendDlgItemMessageA/SendDlgItemMessageW 2505 BOOL qxeDeleteFile (const Extbyte * lpFileName);
1213 #endif 2506
1214 LONG qxeSendDlgItemMessage (HWND hDlg, int nIDDlgItem, UINT Msg, WPARAM wParam, LPARAM lParam); 2507 #undef FindFirstFileEx
1215 2508 #define FindFirstFileEx error_split_sized_LPWIN32_FIND_DATA__not_used__NT_4_0__only
1216 #undef DefDlgProc 2509
1217 #define DefDlgProc error return value is conditionalized on _MAC, messes up parser 2510 /* Skipping FindFirstFile because split-sized LPWIN32_FIND_DATA */
1218 2511
1219 #if !defined (CYGWIN_HEADERS) 2512 /* Skipping FindNextFile because split-sized LPWIN32_FIND_DATA */
1220 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2513
1221 #undef CallMsgFilter 2514 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1222 #define CallMsgFilter error use qxeCallMsgFilter or CallMsgFilterA/CallMsgFilterW 2515 #undef SearchPath
1223 #endif 2516 #define SearchPath error_use_qxeSearchPath_or_SearchPathA_and_SearchPathW
1224 BOOL qxeCallMsgFilter (LPMSG lpMsg, int nCode); 2517 #endif
1225 #endif /* !defined (CYGWIN_HEADERS) */ 2518 DWORD qxeSearchPath (const Extbyte * lpPath, const Extbyte * lpFileName, const Extbyte * lpExtension, DWORD nBufferLength, Extbyte * lpBuffer, Extbyte * * lpFilePart);
1226 2519
1227 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2520 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1228 #undef RegisterClipboardFormat 2521 #undef CopyFile
1229 #define RegisterClipboardFormat error use qxeRegisterClipboardFormat or RegisterClipboardFormatA/RegisterClipboardFormatW 2522 #define CopyFile error_use_qxeCopyFile_or_CopyFileA_and_CopyFileW
1230 #endif 2523 #endif
1231 UINT qxeRegisterClipboardFormat (const Extbyte * lpszFormat); 2524 BOOL qxeCopyFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, BOOL bFailIfExists);
1232 2525
1233 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2526 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1234 #undef GetClipboardFormatName 2527 #undef CopyFileEx
1235 #define GetClipboardFormatName error use qxeGetClipboardFormatName or GetClipboardFormatNameA/GetClipboardFormatNameW 2528 #define CopyFileEx error_use_qxeCopyFileEx_or_CopyFileExA_and_CopyFileExW
1236 #endif 2529 #endif
1237 int qxeGetClipboardFormatName (UINT format, Extbyte * lpszFormatName, int cchMaxCount); 2530 BOOL qxeCopyFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags);
1238 2531
1239 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2532 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1240 #undef CharToOem 2533 #undef MoveFile
1241 #define CharToOem error use qxeCharToOem or CharToOemA/CharToOemW 2534 #define MoveFile error_use_qxeMoveFile_or_MoveFileA_and_MoveFileW
1242 #endif 2535 #endif
1243 BOOL qxeCharToOem (const Extbyte * lpszSrc, LPSTR lpszDst); 2536 BOOL qxeMoveFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName);
1244 2537
1245 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2538 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1246 #undef OemToChar 2539 #undef MoveFileEx
1247 #define OemToChar error use qxeOemToChar or OemToCharA/OemToCharW 2540 #define MoveFileEx error_use_qxeMoveFileEx_or_MoveFileExA_and_MoveFileExW
1248 #endif 2541 #endif
1249 BOOL qxeOemToChar (LPCSTR lpszSrc, Extbyte * lpszDst); 2542 BOOL qxeMoveFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, DWORD dwFlags);
1250 2543
1251 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2544 #undef MoveFileWithProgress
1252 #undef CharToOemBuff 2545 #define MoveFileWithProgress error_NT_5_0__only
1253 #define CharToOemBuff error use qxeCharToOemBuff or CharToOemBuffA/CharToOemBuffW 2546
1254 #endif 2547 #undef CreateHardLink
1255 BOOL qxeCharToOemBuff (const Extbyte * lpszSrc, LPSTR lpszDst, DWORD cchDstLength); 2548 #define CreateHardLink error_NT_5_0__only
1256 2549
1257 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2550 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1258 #undef OemToCharBuff 2551 #undef CreateNamedPipe
1259 #define OemToCharBuff error use qxeOemToCharBuff or OemToCharBuffA/OemToCharBuffW 2552 #define CreateNamedPipe error_use_qxeCreateNamedPipe_or_CreateNamedPipeA_and_CreateNamedPipeW
1260 #endif 2553 #endif
1261 BOOL qxeOemToCharBuff (LPCSTR lpszSrc, Extbyte * lpszDst, DWORD cchDstLength); 2554 HANDLE qxeCreateNamedPipe (const Extbyte * lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
1262 2555
1263 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2556 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1264 #undef CharUpper 2557 #undef GetNamedPipeHandleState
1265 #define CharUpper error use qxeCharUpper or CharUpperA/CharUpperW 2558 #define GetNamedPipeHandleState error_use_qxeGetNamedPipeHandleState_or_GetNamedPipeHandleStateA_and_GetNamedPipeHandleStateW
1266 #endif 2559 #endif
1267 Extbyte * qxeCharUpper (Extbyte * lpsz); 2560 BOOL qxeGetNamedPipeHandleState (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, Extbyte * lpUserName, DWORD nMaxUserNameSize);
1268 2561
1269 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2562 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1270 #undef CharUpperBuff 2563 #undef CallNamedPipe
1271 #define CharUpperBuff error use qxeCharUpperBuff or CharUpperBuffA/CharUpperBuffW 2564 #define CallNamedPipe error_use_qxeCallNamedPipe_or_CallNamedPipeA_and_CallNamedPipeW
1272 #endif 2565 #endif
1273 DWORD qxeCharUpperBuff (Extbyte * lpsz, DWORD cchLength); 2566 BOOL qxeCallNamedPipe (const Extbyte * lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
1274 2567
1275 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2568 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1276 #undef CharLower 2569 #undef WaitNamedPipe
1277 #define CharLower error use qxeCharLower or CharLowerA/CharLowerW 2570 #define WaitNamedPipe error_use_qxeWaitNamedPipe_or_WaitNamedPipeA_and_WaitNamedPipeW
1278 #endif 2571 #endif
1279 Extbyte * qxeCharLower (Extbyte * lpsz); 2572 BOOL qxeWaitNamedPipe (const Extbyte * lpNamedPipeName, DWORD nTimeOut);
1280 2573
1281 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2574 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1282 #undef CharLowerBuff 2575 #undef SetVolumeLabel
1283 #define CharLowerBuff error use qxeCharLowerBuff or CharLowerBuffA/CharLowerBuffW 2576 #define SetVolumeLabel error_use_qxeSetVolumeLabel_or_SetVolumeLabelA_and_SetVolumeLabelW
1284 #endif 2577 #endif
1285 DWORD qxeCharLowerBuff (Extbyte * lpsz, DWORD cchLength); 2578 BOOL qxeSetVolumeLabel (const Extbyte * lpRootPathName, const Extbyte * lpVolumeName);
1286 2579
1287 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2580 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1288 #undef CharNext 2581 #undef GetVolumeInformation
1289 #define CharNext error use qxeCharNext or CharNextA/CharNextW 2582 #define GetVolumeInformation error_use_qxeGetVolumeInformation_or_GetVolumeInformationA_and_GetVolumeInformationW
1290 #endif 2583 #endif
1291 Extbyte * qxeCharNext (const Extbyte * lpsz); 2584 BOOL qxeGetVolumeInformation (const Extbyte * lpRootPathName, Extbyte * lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, Extbyte * lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
1292 2585
1293 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2586 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1294 #undef CharPrev 2587 #undef ClearEventLog
1295 #define CharPrev error use qxeCharPrev or CharPrevA/CharPrevW 2588 #define ClearEventLog error_use_qxeClearEventLog_or_ClearEventLogA_and_ClearEventLogW
1296 #endif 2589 #endif
1297 Extbyte * qxeCharPrev (const Extbyte * lpszStart, const Extbyte * lpszCurrent); 2590 BOOL qxeClearEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName);
1298 2591
1299 #undef IsCharAlpha 2592 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1300 #define IsCharAlpha error split CHAR 2593 #undef BackupEventLog
1301 2594 #define BackupEventLog error_use_qxeBackupEventLog_or_BackupEventLogA_and_BackupEventLogW
1302 #undef IsCharAlphaNumeric 2595 #endif
1303 #define IsCharAlphaNumeric error split CHAR 2596 BOOL qxeBackupEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName);
1304 2597
1305 #undef IsCharUpper 2598 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1306 #define IsCharUpper error split CHAR 2599 #undef OpenEventLog
1307 2600 #define OpenEventLog error_use_qxeOpenEventLog_or_OpenEventLogA_and_OpenEventLogW
1308 #undef IsCharLower 2601 #endif
1309 #define IsCharLower error split CHAR 2602 HANDLE qxeOpenEventLog (const Extbyte * lpUNCServerName, const Extbyte * lpSourceName);
1310 2603
1311 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2604 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1312 #undef GetKeyNameText 2605 #undef RegisterEventSource
1313 #define GetKeyNameText error use qxeGetKeyNameText or GetKeyNameTextA/GetKeyNameTextW 2606 #define RegisterEventSource error_use_qxeRegisterEventSource_or_RegisterEventSourceA_and_RegisterEventSourceW
1314 #endif 2607 #endif
1315 int qxeGetKeyNameText (LONG lParam, Extbyte * lpString, int nSize); 2608 HANDLE qxeRegisterEventSource (const Extbyte * lpUNCServerName, const Extbyte * lpSourceName);
1316 2609
1317 /* Skipping VkKeyScan because split CHAR */ 2610 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1318 2611 #undef OpenBackupEventLog
1319 #undef VkKeyScanEx 2612 #define OpenBackupEventLog error_use_qxeOpenBackupEventLog_or_OpenBackupEventLogA_and_OpenBackupEventLogW
1320 #define VkKeyScanEx error split CHAR; NT 4.0+ only 2613 #endif
1321 2614 HANDLE qxeOpenBackupEventLog (const Extbyte * lpUNCServerName, const Extbyte * lpFileName);
1322 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2615
1323 #undef MapVirtualKey 2616 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1324 #define MapVirtualKey error use qxeMapVirtualKey or MapVirtualKeyA/MapVirtualKeyW 2617 #undef ReadEventLog
1325 #endif 2618 #define ReadEventLog error_use_qxeReadEventLog_or_ReadEventLogA_and_ReadEventLogW
1326 UINT qxeMapVirtualKey (UINT uCode, UINT uMapType); 2619 #endif
1327 2620 BOOL qxeReadEventLog (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD * pnBytesRead, DWORD * pnMinNumberOfBytesNeeded);
1328 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2621
1329 #undef MapVirtualKeyEx 2622 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1330 #define MapVirtualKeyEx error use qxeMapVirtualKeyEx or MapVirtualKeyExA/MapVirtualKeyExW 2623 #undef ReportEvent
1331 #endif 2624 #define ReportEvent error_use_qxeReportEvent_or_ReportEventA_and_ReportEventW
1332 UINT qxeMapVirtualKeyEx (UINT uCode, UINT uMapType, HKL dwhkl); 2625 #endif
1333 2626 BOOL qxeReportEvent (HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dwEventID, PSID lpUserSid, WORD wNumStrings, DWORD dwDataSize, const Extbyte * * lpStrings, LPVOID lpRawData);
1334 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2627
1335 #undef LoadAccelerators 2628 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1336 #define LoadAccelerators error use qxeLoadAccelerators or LoadAcceleratorsA/LoadAcceleratorsW 2629 #undef AccessCheckAndAuditAlarm
1337 #endif 2630 #define AccessCheckAndAuditAlarm error_use_qxeAccessCheckAndAuditAlarm_or_AccessCheckAndAuditAlarmA_and_AccessCheckAndAuditAlarmW
1338 HACCEL qxeLoadAccelerators (HINSTANCE hInstance, const Extbyte * lpTableName); 2631 #endif
1339 2632 BOOL qxeAccessCheckAndAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte * ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, BOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
1340 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2633
1341 #undef CreateAcceleratorTable 2634 #undef AccessCheckByTypeAndAuditAlarm
1342 #define CreateAcceleratorTable error use qxeCreateAcceleratorTable or CreateAcceleratorTableA/CreateAcceleratorTableW 2635 #define AccessCheckByTypeAndAuditAlarm error_NT_5_0__only
1343 #endif 2636
1344 HACCEL qxeCreateAcceleratorTable (LPACCEL arg1, int arg2); 2637 #undef AccessCheckByTypeResultListAndAuditAlarm
1345 2638 #define AccessCheckByTypeResultListAndAuditAlarm error_NT_5_0__only
1346 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2639
1347 #undef CopyAcceleratorTable 2640 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1348 #define CopyAcceleratorTable error use qxeCopyAcceleratorTable or CopyAcceleratorTableA/CopyAcceleratorTableW 2641 #undef ObjectOpenAuditAlarm
1349 #endif 2642 #define ObjectOpenAuditAlarm error_use_qxeObjectOpenAuditAlarm_or_ObjectOpenAuditAlarmA_and_ObjectOpenAuditAlarmW
1350 int qxeCopyAcceleratorTable (HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries); 2643 #endif
1351 2644 BOOL qxeObjectOpenAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte * ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, DWORD GrantedAccess, PPRIVILEGE_SET Privileges, BOOL ObjectCreation, BOOL AccessGranted, LPBOOL GenerateOnClose);
1352 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2645
1353 #undef TranslateAccelerator 2646 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1354 #define TranslateAccelerator error use qxeTranslateAccelerator or TranslateAcceleratorA/TranslateAcceleratorW 2647 #undef ObjectPrivilegeAuditAlarm
1355 #endif 2648 #define ObjectPrivilegeAuditAlarm error_use_qxeObjectPrivilegeAuditAlarm_or_ObjectPrivilegeAuditAlarmA_and_ObjectPrivilegeAuditAlarmW
1356 int qxeTranslateAccelerator (HWND hWnd, HACCEL hAccTable, LPMSG lpMsg); 2649 #endif
1357 2650 BOOL qxeObjectPrivilegeAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, HANDLE ClientToken, DWORD DesiredAccess, PPRIVILEGE_SET Privileges, BOOL AccessGranted);
1358 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2651
1359 #undef LoadMenu 2652 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1360 #define LoadMenu error use qxeLoadMenu or LoadMenuA/LoadMenuW 2653 #undef ObjectCloseAuditAlarm
1361 #endif 2654 #define ObjectCloseAuditAlarm error_use_qxeObjectCloseAuditAlarm_or_ObjectCloseAuditAlarmA_and_ObjectCloseAuditAlarmW
1362 HMENU qxeLoadMenu (HINSTANCE hInstance, const Extbyte * lpMenuName); 2655 #endif
1363 2656 BOOL qxeObjectCloseAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, BOOL GenerateOnClose);
1364 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2657
1365 #undef LoadMenuIndirect 2658 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1366 #define LoadMenuIndirect error use qxeLoadMenuIndirect or LoadMenuIndirectA/LoadMenuIndirectW 2659 #undef ObjectDeleteAuditAlarm
1367 #endif 2660 #define ObjectDeleteAuditAlarm error_use_qxeObjectDeleteAuditAlarm_or_ObjectDeleteAuditAlarmA_and_ObjectDeleteAuditAlarmW
1368 HMENU qxeLoadMenuIndirect (CONST MENUTEMPLATEW * lpMenuTemplate); 2661 #endif
1369 2662 BOOL qxeObjectDeleteAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, BOOL GenerateOnClose);
1370 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2663
1371 #undef ChangeMenu 2664 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1372 #define ChangeMenu error use qxeChangeMenu or ChangeMenuA/ChangeMenuW 2665 #undef PrivilegedServiceAuditAlarm
1373 #endif 2666 #define PrivilegedServiceAuditAlarm error_use_qxePrivilegedServiceAuditAlarm_or_PrivilegedServiceAuditAlarmA_and_PrivilegedServiceAuditAlarmW
1374 BOOL qxeChangeMenu (HMENU hMenu, UINT cmd, const Extbyte * lpszNewItem, UINT cmdInsert, UINT flags); 2667 #endif
1375 2668 BOOL qxePrivilegedServiceAuditAlarm (const Extbyte * SubsystemName, const Extbyte * ServiceName, HANDLE ClientToken, PPRIVILEGE_SET Privileges, BOOL AccessGranted);
1376 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2669
1377 #undef GetMenuString 2670 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1378 #define GetMenuString error use qxeGetMenuString or GetMenuStringA/GetMenuStringW 2671 #undef SetFileSecurity
1379 #endif 2672 #define SetFileSecurity error_use_qxeSetFileSecurity_or_SetFileSecurityA_and_SetFileSecurityW
1380 int qxeGetMenuString (HMENU hMenu, UINT uIDItem, Extbyte * lpString, int nMaxCount, UINT uFlag); 2673 #endif
1381 2674 BOOL qxeSetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor);
1382 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2675
1383 #undef InsertMenu 2676 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1384 #define InsertMenu error use qxeInsertMenu or InsertMenuA/InsertMenuW 2677 #undef GetFileSecurity
1385 #endif 2678 #define GetFileSecurity error_use_qxeGetFileSecurity_or_GetFileSecurityA_and_GetFileSecurityW
1386 BOOL qxeInsertMenu (HMENU hMenu, UINT uPosition, UINT uFlags, UINT uIDNewItem, const Extbyte * lpNewItem); 2679 #endif
1387 2680 BOOL qxeGetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
1388 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2681
1389 #undef AppendMenu 2682 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1390 #define AppendMenu error use qxeAppendMenu or AppendMenuA/AppendMenuW 2683 #undef FindFirstChangeNotification
1391 #endif 2684 #define FindFirstChangeNotification error_use_qxeFindFirstChangeNotification_or_FindFirstChangeNotificationA_and_FindFirstChangeNotificationW
1392 BOOL qxeAppendMenu (HMENU hMenu, UINT uFlags, UINT uIDNewItem, const Extbyte * lpNewItem); 2685 #endif
1393 2686 HANDLE qxeFindFirstChangeNotification (const Extbyte * lpPathName, BOOL bWatchSubtree, DWORD dwNotifyFilter);
1394 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2687
1395 #undef ModifyMenu 2688 #undef ReadDirectoryChanges
1396 #define ModifyMenu error use qxeModifyMenu or ModifyMenuA/ModifyMenuW 2689 #define ReadDirectoryChanges error_Unicode_only
1397 #endif 2690
1398 BOOL qxeModifyMenu (HMENU hMnu, UINT uPosition, UINT uFlags, UINT uIDNewItem, const Extbyte * lpNewItem); 2691 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1399 2692 #undef IsBadStringPtr
1400 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2693 #define IsBadStringPtr error_use_qxeIsBadStringPtr_or_IsBadStringPtrA_and_IsBadStringPtrW
1401 #undef InsertMenuItem 2694 #endif
1402 #define InsertMenuItem error use qxeInsertMenuItem or InsertMenuItemA/InsertMenuItemW 2695 BOOL qxeIsBadStringPtr (const Extbyte * lpsz, UINT ucchMax);
1403 #endif 2696
1404 BOOL qxeInsertMenuItem (HMENU arg1, UINT arg2, BOOL arg3, LPCMENUITEMINFOW arg4); 2697 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1405 2698 #undef LookupAccountSid
1406 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2699 #define LookupAccountSid error_use_qxeLookupAccountSid_or_LookupAccountSidA_and_LookupAccountSidW
1407 #undef GetMenuItemInfo 2700 #endif
1408 #define GetMenuItemInfo error use qxeGetMenuItemInfo or GetMenuItemInfoA/GetMenuItemInfoW 2701 BOOL qxeLookupAccountSid (const Extbyte * lpSystemName, PSID Sid, Extbyte * Name, LPDWORD cbName, Extbyte * ReferencedDomainName, LPDWORD cbReferencedDomainName, PSID_NAME_USE peUse);
1409 #endif 2702
1410 BOOL qxeGetMenuItemInfo (HMENU arg1, UINT arg2, BOOL arg3, LPMENUITEMINFOW arg4); 2703 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1411 2704 #undef LookupAccountName
1412 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2705 #define LookupAccountName error_use_qxeLookupAccountName_or_LookupAccountNameA_and_LookupAccountNameW
1413 #undef SetMenuItemInfo 2706 #endif
1414 #define SetMenuItemInfo error use qxeSetMenuItemInfo or SetMenuItemInfoA/SetMenuItemInfoW 2707 BOOL qxeLookupAccountName (const Extbyte * lpSystemName, const Extbyte * lpAccountName, PSID Sid, LPDWORD cbSid, Extbyte * ReferencedDomainName, LPDWORD cbReferencedDomainName, PSID_NAME_USE peUse);
1415 #endif 2708
1416 BOOL qxeSetMenuItemInfo (HMENU arg1, UINT arg2, BOOL arg3, LPCMENUITEMINFOW arg4); 2709 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1417 2710 #undef LookupPrivilegeValue
1418 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2711 #define LookupPrivilegeValue error_use_qxeLookupPrivilegeValue_or_LookupPrivilegeValueA_and_LookupPrivilegeValueW
1419 #undef DrawText 2712 #endif
1420 #define DrawText error use qxeDrawText or DrawTextA/DrawTextW 2713 BOOL qxeLookupPrivilegeValue (const Extbyte * lpSystemName, const Extbyte * lpName, PLUID lpLuid);
1421 #endif 2714
1422 int qxeDrawText (HDC hDC, const Extbyte * lpString, int nCount, LPRECT lpRect, UINT uFormat); 2715 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1423 2716 #undef LookupPrivilegeName
1424 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2717 #define LookupPrivilegeName error_use_qxeLookupPrivilegeName_or_LookupPrivilegeNameA_and_LookupPrivilegeNameW
1425 #undef DrawTextEx 2718 #endif
1426 #define DrawTextEx error use qxeDrawTextEx or DrawTextExA/DrawTextExW 2719 BOOL qxeLookupPrivilegeName (const Extbyte * lpSystemName, PLUID lpLuid, Extbyte * lpName, LPDWORD cbName);
1427 #endif 2720
1428 int qxeDrawTextEx (HDC arg1, Extbyte * arg2, int arg3, LPRECT arg4, UINT arg5, LPDRAWTEXTPARAMS arg6); 2721 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1429 2722 #undef LookupPrivilegeDisplayName
1430 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2723 #define LookupPrivilegeDisplayName error_use_qxeLookupPrivilegeDisplayName_or_LookupPrivilegeDisplayNameA_and_LookupPrivilegeDisplayNameW
1431 #undef GrayString 2724 #endif
1432 #define GrayString error use qxeGrayString or GrayStringA/GrayStringW 2725 BOOL qxeLookupPrivilegeDisplayName (const Extbyte * lpSystemName, const Extbyte * lpName, Extbyte * lpDisplayName, LPDWORD cbDisplayName, LPDWORD lpLanguageId);
1433 #endif 2726
1434 BOOL qxeGrayString (HDC hDC, HBRUSH hBrush, GRAYSTRINGPROC lpOutputFunc, LPARAM lpData, int nCount, int X, int Y, int nWidth, int nHeight); 2727 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1435 2728 #undef BuildCommDCB
1436 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2729 #define BuildCommDCB error_use_qxeBuildCommDCB_or_BuildCommDCBA_and_BuildCommDCBW
1437 #undef DrawState 2730 #endif
1438 #define DrawState error use qxeDrawState or DrawStateA/DrawStateW 2731 BOOL qxeBuildCommDCB (const Extbyte * lpDef, LPDCB lpDCB);
1439 #endif 2732
1440 BOOL qxeDrawState (HDC arg1, HBRUSH arg2, DRAWSTATEPROC arg3, LPARAM arg4, WPARAM arg5, int arg6, int arg7, int arg8, int arg9, UINT arg10); 2733 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1441 2734 #undef BuildCommDCBAndTimeouts
1442 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2735 #define BuildCommDCBAndTimeouts error_use_qxeBuildCommDCBAndTimeouts_or_BuildCommDCBAndTimeoutsA_and_BuildCommDCBAndTimeoutsW
1443 #undef TabbedTextOut 2736 #endif
1444 #define TabbedTextOut error use qxeTabbedTextOut or TabbedTextOutA/TabbedTextOutW 2737 BOOL qxeBuildCommDCBAndTimeouts (const Extbyte * lpDef, LPDCB lpDCB, LPCOMMTIMEOUTS lpCommTimeouts);
1445 #endif 2738
1446 LONG qxeTabbedTextOut (HDC hDC, int X, int Y, const Extbyte * lpString, int nCount, int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin); 2739 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1447 2740 #undef CommConfigDialog
1448 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2741 #define CommConfigDialog error_use_qxeCommConfigDialog_or_CommConfigDialogA_and_CommConfigDialogW
1449 #undef GetTabbedTextExtent 2742 #endif
1450 #define GetTabbedTextExtent error use qxeGetTabbedTextExtent or GetTabbedTextExtentA/GetTabbedTextExtentW 2743 BOOL qxeCommConfigDialog (const Extbyte * lpszName, HWND hWnd, LPCOMMCONFIG lpCC);
1451 #endif 2744
1452 DWORD qxeGetTabbedTextExtent (HDC hDC, const Extbyte * lpString, int nCount, int nTabPositions, LPINT lpnTabStopPositions); 2745 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1453 2746 #undef GetDefaultCommConfig
1454 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2747 #define GetDefaultCommConfig error_use_qxeGetDefaultCommConfig_or_GetDefaultCommConfigA_and_GetDefaultCommConfigW
1455 #undef SetProp 2748 #endif
1456 #define SetProp error use qxeSetProp or SetPropA/SetPropW 2749 BOOL qxeGetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, LPDWORD lpdwSize);
1457 #endif 2750
1458 BOOL qxeSetProp (HWND hWnd, const Extbyte * lpString, HANDLE hData); 2751 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1459 2752 #undef SetDefaultCommConfig
1460 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2753 #define SetDefaultCommConfig error_use_qxeSetDefaultCommConfig_or_SetDefaultCommConfigA_and_SetDefaultCommConfigW
1461 #undef GetProp 2754 #endif
1462 #define GetProp error use qxeGetProp or GetPropA/GetPropW 2755 BOOL qxeSetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, DWORD dwSize);
1463 #endif 2756
1464 HANDLE qxeGetProp (HWND hWnd, const Extbyte * lpString); 2757 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1465 2758 #undef GetComputerName
1466 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2759 #define GetComputerName error_use_qxeGetComputerName_or_GetComputerNameA_and_GetComputerNameW
1467 #undef RemoveProp 2760 #endif
1468 #define RemoveProp error use qxeRemoveProp or RemovePropA/RemovePropW 2761 BOOL qxeGetComputerName (Extbyte * lpBuffer, LPDWORD nSize);
1469 #endif 2762
1470 HANDLE qxeRemoveProp (HWND hWnd, const Extbyte * lpString); 2763 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1471 2764 #undef SetComputerName
1472 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2765 #define SetComputerName error_use_qxeSetComputerName_or_SetComputerNameA_and_SetComputerNameW
1473 #undef EnumPropsEx 2766 #endif
1474 #define EnumPropsEx error use qxeEnumPropsEx or EnumPropsExA/EnumPropsExW 2767 BOOL qxeSetComputerName (const Extbyte * lpComputerName);
1475 #endif 2768
1476 int qxeEnumPropsEx (HWND hWnd, PROPENUMPROCEXW lpEnumFunc, LPARAM lParam); 2769 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1477 2770 #undef GetUserName
1478 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2771 #define GetUserName error_use_qxeGetUserName_or_GetUserNameA_and_GetUserNameW
1479 #undef EnumProps 2772 #endif
1480 #define EnumProps error use qxeEnumProps or EnumPropsA/EnumPropsW 2773 BOOL qxeGetUserName (Extbyte * lpBuffer, LPDWORD nSize);
1481 #endif 2774
1482 int qxeEnumProps (HWND hWnd, PROPENUMPROCW lpEnumFunc); 2775 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1483 2776 #undef LogonUser
1484 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2777 #define LogonUser error_use_qxeLogonUser_or_LogonUserA_and_LogonUserW
1485 #undef SetWindowText 2778 #endif
1486 #define SetWindowText error use qxeSetWindowText or SetWindowTextA/SetWindowTextW 2779 BOOL qxeLogonUser (Extbyte * lpszUsername, Extbyte * lpszDomain, Extbyte * lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken);
1487 #endif 2780
1488 BOOL qxeSetWindowText (HWND hWnd, const Extbyte * lpString); 2781 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1489 2782 #undef CreateProcessAsUser
1490 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2783 #define CreateProcessAsUser error_use_qxeCreateProcessAsUser_or_CreateProcessAsUserA_and_CreateProcessAsUserW
1491 #undef GetWindowText 2784 #endif
1492 #define GetWindowText error use qxeGetWindowText or GetWindowTextA/GetWindowTextW 2785 BOOL qxeCreateProcessAsUser (HANDLE hToken, const Extbyte * lpApplicationName, Extbyte * lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, const Extbyte * lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
1493 #endif 2786
1494 int qxeGetWindowText (HWND hWnd, Extbyte * lpString, int nMaxCount); 2787 #undef GetCurrentHwProfile
1495 2788 #define GetCurrentHwProfile error_split_sized_LPHW_PROFILE_INFO__NT_4_0__only
1496 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2789
1497 #undef GetWindowTextLength 2790 #undef GetVersionEx
1498 #define GetWindowTextLength error use qxeGetWindowTextLength or GetWindowTextLengthA/GetWindowTextLengthW 2791 #define GetVersionEx error_split_sized_LPOSVERSIONINFO
1499 #endif 2792
1500 int qxeGetWindowTextLength (HWND hWnd); 2793 #undef CreateJobObject
1501 2794 #define CreateJobObject error_NT_5_0__only
1502 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2795
1503 #undef MessageBox 2796 #undef OpenJobObject
1504 #define MessageBox error use qxeMessageBox or MessageBoxA/MessageBoxW 2797 #define OpenJobObject error_NT_5_0__only
1505 #endif
1506 int qxeMessageBox (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT uType);
1507
1508 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1509 #undef MessageBoxEx
1510 #define MessageBoxEx error use qxeMessageBoxEx or MessageBoxExA/MessageBoxExW
1511 #endif
1512 int qxeMessageBoxEx (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT uType, WORD wLanguageId);
1513
1514 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1515 #undef MessageBoxIndirect
1516 #define MessageBoxIndirect error use qxeMessageBoxIndirect or MessageBoxIndirectA/MessageBoxIndirectW
1517 #endif
1518 int qxeMessageBoxIndirect (LPMSGBOXPARAMSW arg1);
1519
1520 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1521 #undef GetWindowLong
1522 #define GetWindowLong error use qxeGetWindowLong or GetWindowLongA/GetWindowLongW
1523 #endif
1524 LONG qxeGetWindowLong (HWND hWnd, int nIndex);
1525
1526 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1527 #undef SetWindowLong
1528 #define SetWindowLong error use qxeSetWindowLong or SetWindowLongA/SetWindowLongW
1529 #endif
1530 LONG qxeSetWindowLong (HWND hWnd, int nIndex, LONG dwNewLong);
1531
1532 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1533 #undef GetClassLong
1534 #define GetClassLong error use qxeGetClassLong or GetClassLongA/GetClassLongW
1535 #endif
1536 DWORD qxeGetClassLong (HWND hWnd, int nIndex);
1537
1538 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1539 #undef SetClassLong
1540 #define SetClassLong error use qxeSetClassLong or SetClassLongA/SetClassLongW
1541 #endif
1542 DWORD qxeSetClassLong (HWND hWnd, int nIndex, LONG dwNewLong);
1543
1544 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1545 #undef FindWindow
1546 #define FindWindow error use qxeFindWindow or FindWindowA/FindWindowW
1547 #endif
1548 HWND qxeFindWindow (const Extbyte * lpClassName, const Extbyte * lpWindowName);
1549
1550 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1551 #undef FindWindowEx
1552 #define FindWindowEx error use qxeFindWindowEx or FindWindowExA/FindWindowExW
1553 #endif
1554 HWND qxeFindWindowEx (HWND arg1, HWND arg2, const Extbyte * arg3, const Extbyte * arg4);
1555
1556 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1557 #undef GetClassName
1558 #define GetClassName error use qxeGetClassName or GetClassNameA/GetClassNameW
1559 #endif
1560 int qxeGetClassName (HWND hWnd, Extbyte * lpClassName, int nMaxCount);
1561
1562 #undef SetWindowsHook
1563 #define SetWindowsHook error obsolete; two versions, STRICT and non-STRICT
1564
1565 #undef SetWindowsHook
1566 #define SetWindowsHook error obsolete; two versions, STRICT and non-STRICT
1567
1568 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1569 #undef SetWindowsHookEx
1570 #define SetWindowsHookEx error use qxeSetWindowsHookEx or SetWindowsHookExA/SetWindowsHookExW
1571 #endif
1572 HHOOK qxeSetWindowsHookEx (int idHook, HOOKPROC lpfn, HINSTANCE hmod, DWORD dwThreadId);
1573
1574 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1575 #undef LoadBitmap
1576 #define LoadBitmap error use qxeLoadBitmap or LoadBitmapA/LoadBitmapW
1577 #endif
1578 HBITMAP qxeLoadBitmap (HINSTANCE hInstance, const Extbyte * lpBitmapName);
1579
1580 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1581 #undef LoadCursor
1582 #define LoadCursor error use qxeLoadCursor or LoadCursorA/LoadCursorW
1583 #endif
1584 HCURSOR qxeLoadCursor (HINSTANCE hInstance, const Extbyte * lpCursorName);
1585
1586 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1587 #undef LoadCursorFromFile
1588 #define LoadCursorFromFile error use qxeLoadCursorFromFile or LoadCursorFromFileA/LoadCursorFromFileW
1589 #endif
1590 HCURSOR qxeLoadCursorFromFile (const Extbyte * lpFileName);
1591
1592 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1593 #undef LoadIcon
1594 #define LoadIcon error use qxeLoadIcon or LoadIconA/LoadIconW
1595 #endif
1596 HICON qxeLoadIcon (HINSTANCE hInstance, const Extbyte * lpIconName);
1597
1598 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1599 #undef LoadImage
1600 #define LoadImage error use qxeLoadImage or LoadImageA/LoadImageW
1601 #endif
1602 HANDLE qxeLoadImage (HINSTANCE arg1, const Extbyte * arg2, UINT arg3, int arg4, int arg5, UINT arg6);
1603
1604 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1605 #undef LoadString
1606 #define LoadString error use qxeLoadString or LoadStringA/LoadStringW
1607 #endif
1608 int qxeLoadString (HINSTANCE hInstance, UINT uID, Extbyte * lpBuffer, int nBufferMax);
1609
1610 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1611 #undef IsDialogMessage
1612 #define IsDialogMessage error use qxeIsDialogMessage or IsDialogMessageA/IsDialogMessageW
1613 #endif
1614 BOOL qxeIsDialogMessage (HWND hDlg, LPMSG lpMsg);
1615
1616 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1617 #undef DlgDirList
1618 #define DlgDirList error use qxeDlgDirList or DlgDirListA/DlgDirListW
1619 #endif
1620 int qxeDlgDirList (HWND hDlg, Extbyte * lpPathSpec, int nIDListBox, int nIDStaticPath, UINT uFileType);
1621
1622 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1623 #undef DlgDirSelectEx
1624 #define DlgDirSelectEx error use qxeDlgDirSelectEx or DlgDirSelectExA/DlgDirSelectExW
1625 #endif
1626 BOOL qxeDlgDirSelectEx (HWND hDlg, Extbyte * lpString, int nCount, int nIDListBox);
1627
1628 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1629 #undef DlgDirListComboBox
1630 #define DlgDirListComboBox error use qxeDlgDirListComboBox or DlgDirListComboBoxA/DlgDirListComboBoxW
1631 #endif
1632 int qxeDlgDirListComboBox (HWND hDlg, Extbyte * lpPathSpec, int nIDComboBox, int nIDStaticPath, UINT uFiletype);
1633
1634 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1635 #undef DlgDirSelectComboBoxEx
1636 #define DlgDirSelectComboBoxEx error use qxeDlgDirSelectComboBoxEx or DlgDirSelectComboBoxExA/DlgDirSelectComboBoxExW
1637 #endif
1638 BOOL qxeDlgDirSelectComboBoxEx (HWND hDlg, Extbyte * lpString, int nCount, int nIDComboBox);
1639
1640 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1641 #undef DefFrameProc
1642 #define DefFrameProc error use qxeDefFrameProc or DefFrameProcA/DefFrameProcW
1643 #endif
1644 LRESULT qxeDefFrameProc (HWND hWnd, HWND hWndMDIClient, UINT uMsg, WPARAM wParam, LPARAM lParam);
1645
1646 #undef DefMDIChildProc
1647 #define DefMDIChildProc error return value is conditionalized on _MAC, messes up parser
1648
1649 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1650 #undef CreateMDIWindow
1651 #define CreateMDIWindow error use qxeCreateMDIWindow or CreateMDIWindowA/CreateMDIWindowW
1652 #endif
1653 HWND qxeCreateMDIWindow (Extbyte * lpClassName, Extbyte * lpWindowName, DWORD dwStyle, int X, int Y, int nWidth, int nHeight, HWND hWndParent, HINSTANCE hInstance, LPARAM lParam);
1654
1655 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1656 #undef WinHelp
1657 #define WinHelp error use qxeWinHelp or WinHelpA/WinHelpW
1658 #endif
1659 BOOL qxeWinHelp (HWND hWndMain, const Extbyte * lpszHelp, UINT uCommand, DWORD dwData);
1660
1661 #undef ChangeDisplaySettings
1662 #define ChangeDisplaySettings error split-sized LPDEVMODE
1663
1664 #undef ChangeDisplaySettingsEx
1665 #define ChangeDisplaySettingsEx error split-sized LPDEVMODE; NT 5.0/Win98+ only
1666
1667 #undef EnumDisplaySettings
1668 #define EnumDisplaySettings error split-sized LPDEVMODE
1669
1670 #undef EnumDisplayDevices
1671 #define EnumDisplayDevices error split-sized PDISPLAY_DEVICE; NT 5.0+ only, no Win98
1672
1673 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1674 #undef SystemParametersInfo
1675 #define SystemParametersInfo error use qxeSystemParametersInfo or SystemParametersInfoA/SystemParametersInfoW
1676 #endif
1677 BOOL qxeSystemParametersInfo (UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni);
1678
1679 #undef GetMonitorInfo
1680 #define GetMonitorInfo error NT 5.0/Win98+ only
1681
1682 #undef GetWindowModuleFileName
1683 #define GetWindowModuleFileName error NT 5.0+ only
1684
1685 #undef RealGetWindowClass
1686 #define RealGetWindowClass error NT 5.0+ only
1687
1688 #undef GetAltTabInfo
1689 #define GetAltTabInfo error NT 5.0+ only
1690 2798
1691 2799
1692 /* Processing file MMSYSTEM.H */ 2800 /* Processing file MMSYSTEM.H */
1693 2801
1694 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2802 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1695 #undef sndPlaySound 2803 #undef sndPlaySound
1696 #define sndPlaySound error use qxesndPlaySound or sndPlaySoundA/sndPlaySoundW 2804 #define sndPlaySound error_use_qxesndPlaySound_or_sndPlaySoundA_and_sndPlaySoundW
1697 #endif 2805 #endif
1698 BOOL qxesndPlaySound (const Extbyte * pszSound, UINT fuSound); 2806 BOOL qxesndPlaySound (const Extbyte * pszSound, UINT fuSound);
1699 2807
1700 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2808 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1701 #undef PlaySound 2809 #undef PlaySound
1702 #define PlaySound error use qxePlaySound or PlaySoundA/PlaySoundW 2810 #define PlaySound error_use_qxePlaySound_or_PlaySoundA_and_PlaySoundW
1703 #endif 2811 #endif
1704 BOOL qxePlaySound (const Extbyte * pszSound, HMODULE hmod, DWORD fdwSound); 2812 BOOL qxePlaySound (const Extbyte * pszSound, HMODULE hmod, DWORD fdwSound);
1705 2813
1706 #undef waveOutGetDevCaps 2814 #undef waveOutGetDevCaps
1707 #define waveOutGetDevCaps error split-sized LPWAVEOUTCAPS 2815 #define waveOutGetDevCaps error_split_sized_LPWAVEOUTCAPS
1708 2816
1709 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2817 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1710 #undef waveOutGetErrorText 2818 #undef waveOutGetErrorText
1711 #define waveOutGetErrorText error use qxewaveOutGetErrorText or waveOutGetErrorTextA/waveOutGetErrorTextW 2819 #define waveOutGetErrorText error_use_qxewaveOutGetErrorText_or_waveOutGetErrorTextA_and_waveOutGetErrorTextW
1712 #endif 2820 #endif
1713 MMRESULT qxewaveOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText); 2821 MMRESULT qxewaveOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText);
1714 2822
1715 #undef waveInGetDevCaps 2823 #undef waveInGetDevCaps
1716 #define waveInGetDevCaps error split-sized LPWAVEINCAPS 2824 #define waveInGetDevCaps error_split_sized_LPWAVEINCAPS
1717 2825
1718 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2826 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1719 #undef waveInGetErrorText 2827 #undef waveInGetErrorText
1720 #define waveInGetErrorText error use qxewaveInGetErrorText or waveInGetErrorTextA/waveInGetErrorTextW 2828 #define waveInGetErrorText error_use_qxewaveInGetErrorText_or_waveInGetErrorTextA_and_waveInGetErrorTextW
1721 #endif 2829 #endif
1722 MMRESULT qxewaveInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText); 2830 MMRESULT qxewaveInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText);
1723 2831
1724 #undef midiOutGetDevCaps 2832 #undef midiOutGetDevCaps
1725 #define midiOutGetDevCaps error split-sized LPMIDIOUTCAPS 2833 #define midiOutGetDevCaps error_split_sized_LPMIDIOUTCAPS
1726 2834
1727 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2835 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1728 #undef midiOutGetErrorText 2836 #undef midiOutGetErrorText
1729 #define midiOutGetErrorText error use qxemidiOutGetErrorText or midiOutGetErrorTextA/midiOutGetErrorTextW 2837 #define midiOutGetErrorText error_use_qxemidiOutGetErrorText_or_midiOutGetErrorTextA_and_midiOutGetErrorTextW
1730 #endif 2838 #endif
1731 MMRESULT qxemidiOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText); 2839 MMRESULT qxemidiOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText);
1732 2840
1733 #undef midiInGetDevCaps 2841 #undef midiInGetDevCaps
1734 #define midiInGetDevCaps error split-sized LPMIDIOUTCAPS 2842 #define midiInGetDevCaps error_split_sized_LPMIDIOUTCAPS
1735 2843
1736 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2844 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1737 #undef midiInGetErrorText 2845 #undef midiInGetErrorText
1738 #define midiInGetErrorText error use qxemidiInGetErrorText or midiInGetErrorTextA/midiInGetErrorTextW 2846 #define midiInGetErrorText error_use_qxemidiInGetErrorText_or_midiInGetErrorTextA_and_midiInGetErrorTextW
1739 #endif 2847 #endif
1740 MMRESULT qxemidiInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText); 2848 MMRESULT qxemidiInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText);
1741 2849
1742 #undef auxGetDevCaps 2850 #undef auxGetDevCaps
1743 #define auxGetDevCaps error split-sized LPAUXCAPS 2851 #define auxGetDevCaps error_split_sized_LPAUXCAPS
1744 2852
1745 #undef mixerGetDevCaps 2853 #undef mixerGetDevCaps
1746 #define mixerGetDevCaps error split-sized LPMIXERCAPS 2854 #define mixerGetDevCaps error_split_sized_LPMIXERCAPS
1747 2855
1748 #undef mixerGetLineInfo 2856 #undef mixerGetLineInfo
1749 #define mixerGetLineInfo error split-sized LPMIXERLINE 2857 #define mixerGetLineInfo error_split_sized_LPMIXERLINE
1750 2858
1751 #undef mixerGetLineControls 2859 #undef mixerGetLineControls
1752 #define mixerGetLineControls error split-sized LPMIXERCONTROL 2860 #define mixerGetLineControls error_split_sized_LPMIXERCONTROL
1753 2861
1754 #undef mixerGetControlDetails 2862 #undef mixerGetControlDetails
1755 #define mixerGetControlDetails error split-sized LPMIXERCONTROL in LPMIXERLINECONTROLS in LPMIXERCONTROLDETAILS 2863 #define mixerGetControlDetails error_split_sized_LPMIXERCONTROL_in_LPMIXERLINECONTROLS_in_LPMIXERCONTROLDETAILS
1756 2864
1757 #undef joyGetDevCaps 2865 #undef joyGetDevCaps
1758 #define joyGetDevCaps error split-sized LPJOYCAPS 2866 #define joyGetDevCaps error_split_sized_LPJOYCAPS
1759 2867
1760 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2868 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1761 #undef mmioStringToFOURCC 2869 #undef mmioStringToFOURCC
1762 #define mmioStringToFOURCC error use qxemmioStringToFOURCC or mmioStringToFOURCCA/mmioStringToFOURCCW 2870 #define mmioStringToFOURCC error_use_qxemmioStringToFOURCC_or_mmioStringToFOURCCA_and_mmioStringToFOURCCW
1763 #endif 2871 #endif
1764 FOURCC qxemmioStringToFOURCC (const Extbyte * sz, UINT uFlags); 2872 FOURCC qxemmioStringToFOURCC (const Extbyte * sz, UINT uFlags);
1765 2873
1766 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2874 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1767 #undef mmioInstallIOProc 2875 #undef mmioInstallIOProc
1768 #define mmioInstallIOProc error use qxemmioInstallIOProc or mmioInstallIOProcA/mmioInstallIOProcW 2876 #define mmioInstallIOProc error_use_qxemmioInstallIOProc_or_mmioInstallIOProcA_and_mmioInstallIOProcW
1769 #endif 2877 #endif
1770 LPMMIOPROC qxemmioInstallIOProc (FOURCC fccIOProc, LPMMIOPROC pIOProc, DWORD dwFlags); 2878 LPMMIOPROC qxemmioInstallIOProc (FOURCC fccIOProc, LPMMIOPROC pIOProc, DWORD dwFlags);
1771 2879
1772 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2880 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1773 #undef mmioOpen 2881 #undef mmioOpen
1774 #define mmioOpen error use qxemmioOpen or mmioOpenA/mmioOpenW 2882 #define mmioOpen error_use_qxemmioOpen_or_mmioOpenA_and_mmioOpenW
1775 #endif 2883 #endif
1776 HMMIO qxemmioOpen (Extbyte * pszFileName, LPMMIOINFO pmmioinfo, DWORD fdwOpen); 2884 HMMIO qxemmioOpen (Extbyte * pszFileName, LPMMIOINFO pmmioinfo, DWORD fdwOpen);
1777 2885
1778 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2886 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1779 #undef mmioRename 2887 #undef mmioRename
1780 #define mmioRename error use qxemmioRename or mmioRenameA/mmioRenameW 2888 #define mmioRename error_use_qxemmioRename_or_mmioRenameA_and_mmioRenameW
1781 #endif 2889 #endif
1782 MMRESULT qxemmioRename (const Extbyte * pszFileName, const Extbyte * pszNewFileName, LPCMMIOINFO pmmioinfo, DWORD fdwRename); 2890 MMRESULT qxemmioRename (const Extbyte * pszFileName, const Extbyte * pszNewFileName, LPCMMIOINFO pmmioinfo, DWORD fdwRename);
1783 2891
1784 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2892 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1785 #undef mciSendCommand 2893 #undef mciSendCommand
1786 #define mciSendCommand error use qxemciSendCommand or mciSendCommandA/mciSendCommandW 2894 #define mciSendCommand error_use_qxemciSendCommand_or_mciSendCommandA_and_mciSendCommandW
1787 #endif 2895 #endif
1788 MCIERROR qxemciSendCommand (MCIDEVICEID mciId, UINT uMsg, DWORD dwParam1, DWORD dwParam2); 2896 MCIERROR qxemciSendCommand (MCIDEVICEID mciId, UINT uMsg, DWORD dwParam1, DWORD dwParam2);
1789 2897
1790 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2898 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1791 #undef mciSendString 2899 #undef mciSendString
1792 #define mciSendString error use qxemciSendString or mciSendStringA/mciSendStringW 2900 #define mciSendString error_use_qxemciSendString_or_mciSendStringA_and_mciSendStringW
1793 #endif 2901 #endif
1794 MCIERROR qxemciSendString (const Extbyte * lpstrCommand, Extbyte * lpstrReturnString, UINT uReturnLength, HWND hwndCallback); 2902 MCIERROR qxemciSendString (const Extbyte * lpstrCommand, Extbyte * lpstrReturnString, UINT uReturnLength, HWND hwndCallback);
1795 2903
1796 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2904 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1797 #undef mciGetDeviceID 2905 #undef mciGetDeviceID
1798 #define mciGetDeviceID error use qxemciGetDeviceID or mciGetDeviceIDA/mciGetDeviceIDW 2906 #define mciGetDeviceID error_use_qxemciGetDeviceID_or_mciGetDeviceIDA_and_mciGetDeviceIDW
1799 #endif 2907 #endif
1800 MCIDEVICEID qxemciGetDeviceID (const Extbyte * pszDevice); 2908 MCIDEVICEID qxemciGetDeviceID (const Extbyte * pszDevice);
1801 2909
1802 #if !defined (MINGW) 2910 #if !defined (MINGW)
1803 #undef mciGetDeviceIDFromElementID 2911 #undef mciGetDeviceIDFromElementID
1804 #define mciGetDeviceIDFromElementID error missing from Win98se version of ADVAPI32.dll 2912 #define mciGetDeviceIDFromElementID error_missing_from_Win98se_version_of_ADVAPI32_dll
1805 #endif /* !defined (MINGW) */ 2913 #endif /* !defined (MINGW) */
1806 2914
1807 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED 2915 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1808 #undef mciGetErrorString 2916 #undef mciGetErrorString
1809 #define mciGetErrorString error use qxemciGetErrorString or mciGetErrorStringA/mciGetErrorStringW 2917 #define mciGetErrorString error_use_qxemciGetErrorString_or_mciGetErrorStringA_and_mciGetErrorStringW
1810 #endif 2918 #endif
1811 BOOL qxemciGetErrorString (MCIERROR mcierr, Extbyte * pszText, UINT cchText); 2919 BOOL qxemciGetErrorString (MCIERROR mcierr, Extbyte * pszText, UINT cchText);
1812 2920
1813
1814 /* Processing file WINBASE.H */
1815
1816 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1817 #undef GetBinaryType
1818 #define GetBinaryType error use qxeGetBinaryType or GetBinaryTypeA/GetBinaryTypeW
1819 #endif
1820 BOOL qxeGetBinaryType (const Extbyte * lpApplicationName, LPDWORD lpBinaryType);
1821
1822 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1823 #undef GetShortPathName
1824 #define GetShortPathName error use qxeGetShortPathName or GetShortPathNameA/GetShortPathNameW
1825 #endif
1826 DWORD qxeGetShortPathName (const Extbyte * lpszLongPath, Extbyte * lpszShortPath, DWORD cchBuffer);
1827
1828 #undef GetLongPathName
1829 #define GetLongPathName error Win98/2K+ only
1830
1831 /* Skipping GetEnvironmentStrings because misnamed ANSI version of the function */
1832
1833 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1834 #undef FreeEnvironmentStrings
1835 #define FreeEnvironmentStrings error use qxeFreeEnvironmentStrings or FreeEnvironmentStringsA/FreeEnvironmentStringsW
1836 #endif
1837 BOOL qxeFreeEnvironmentStrings (Extbyte * arg1);
1838
1839 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1840 #undef FormatMessage
1841 #define FormatMessage error use qxeFormatMessage or FormatMessageA/FormatMessageW
1842 #endif
1843 DWORD qxeFormatMessage (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, Extbyte * lpBuffer, DWORD nSize, va_list * Arguments);
1844
1845 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1846 #undef CreateMailslot
1847 #define CreateMailslot error use qxeCreateMailslot or CreateMailslotA/CreateMailslotW
1848 #endif
1849 HANDLE qxeCreateMailslot (const Extbyte * lpName, DWORD nMaxMessageSize, DWORD lReadTimeout, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
1850
1851 #if !defined (CYGWIN_HEADERS)
1852 #undef EncryptFile
1853 #define EncryptFile error Win2K+ only
1854 #endif /* !defined (CYGWIN_HEADERS) */
1855
1856 #if !defined (CYGWIN_HEADERS)
1857 #undef DecryptFile
1858 #define DecryptFile error Win2K+ only
1859 #endif /* !defined (CYGWIN_HEADERS) */
1860
1861 #undef OpenRaw
1862 #define OpenRaw error error "The procedure entry point OpenRawW could not be located in the dynamic link library ADVAPI32.dll."
1863
1864 #undef QueryRecoveryAgents
1865 #define QueryRecoveryAgents error split-sized LPRECOVERY_AGENT_INFORMATION
1866
1867 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1868 #undef lstrcmp
1869 #define lstrcmp error use qxelstrcmp or lstrcmpA/lstrcmpW
1870 #endif
1871 int qxelstrcmp (const Extbyte * lpString1, const Extbyte * lpString2);
1872
1873 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1874 #undef lstrcmpi
1875 #define lstrcmpi error use qxelstrcmpi or lstrcmpiA/lstrcmpiW
1876 #endif
1877 int qxelstrcmpi (const Extbyte * lpString1, const Extbyte * lpString2);
1878
1879 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1880 #undef lstrcpyn
1881 #define lstrcpyn error use qxelstrcpyn or lstrcpynA/lstrcpynW
1882 #endif
1883 Extbyte * qxelstrcpyn (Extbyte * lpString1, const Extbyte * lpString2, int iMaxLength);
1884
1885 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1886 #undef lstrcpy
1887 #define lstrcpy error use qxelstrcpy or lstrcpyA/lstrcpyW
1888 #endif
1889 Extbyte * qxelstrcpy (Extbyte * lpString1, const Extbyte * lpString2);
1890
1891 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1892 #undef lstrcat
1893 #define lstrcat error use qxelstrcat or lstrcatA/lstrcatW
1894 #endif
1895 Extbyte * qxelstrcat (Extbyte * lpString1, const Extbyte * lpString2);
1896
1897 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1898 #undef lstrlen
1899 #define lstrlen error use qxelstrlen or lstrlenA/lstrlenW
1900 #endif
1901 int qxelstrlen (const Extbyte * lpString);
1902
1903 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1904 #undef CreateMutex
1905 #define CreateMutex error use qxeCreateMutex or CreateMutexA/CreateMutexW
1906 #endif
1907 HANDLE qxeCreateMutex (LPSECURITY_ATTRIBUTES lpMutexAttributes, BOOL bInitialOwner, const Extbyte * lpName);
1908
1909 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1910 #undef OpenMutex
1911 #define OpenMutex error use qxeOpenMutex or OpenMutexA/OpenMutexW
1912 #endif
1913 HANDLE qxeOpenMutex (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName);
1914
1915 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1916 #undef CreateEvent
1917 #define CreateEvent error use qxeCreateEvent or CreateEventA/CreateEventW
1918 #endif
1919 HANDLE qxeCreateEvent (LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL bInitialState, const Extbyte * lpName);
1920
1921 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1922 #undef OpenEvent
1923 #define OpenEvent error use qxeOpenEvent or OpenEventA/OpenEventW
1924 #endif
1925 HANDLE qxeOpenEvent (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName);
1926
1927 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1928 #undef CreateSemaphore
1929 #define CreateSemaphore error use qxeCreateSemaphore or CreateSemaphoreA/CreateSemaphoreW
1930 #endif
1931 HANDLE qxeCreateSemaphore (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, const Extbyte * lpName);
1932
1933 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1934 #undef OpenSemaphore
1935 #define OpenSemaphore error use qxeOpenSemaphore or OpenSemaphoreA/OpenSemaphoreW
1936 #endif
1937 HANDLE qxeOpenSemaphore (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName);
1938
1939 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1940 #undef CreateWaitableTimer
1941 #define CreateWaitableTimer error use qxeCreateWaitableTimer or CreateWaitableTimerA/CreateWaitableTimerW
1942 #endif
1943 HANDLE qxeCreateWaitableTimer (LPSECURITY_ATTRIBUTES lpTimerAttributes, BOOL bManualReset, const Extbyte * lpTimerName);
1944
1945 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1946 #undef OpenWaitableTimer
1947 #define OpenWaitableTimer error use qxeOpenWaitableTimer or OpenWaitableTimerA/OpenWaitableTimerW
1948 #endif
1949 HANDLE qxeOpenWaitableTimer (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpTimerName);
1950
1951 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1952 #undef CreateFileMapping
1953 #define CreateFileMapping error use qxeCreateFileMapping or CreateFileMappingA/CreateFileMappingW
1954 #endif
1955 HANDLE qxeCreateFileMapping (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, const Extbyte * lpName);
1956
1957 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1958 #undef OpenFileMapping
1959 #define OpenFileMapping error use qxeOpenFileMapping or OpenFileMappingA/OpenFileMappingW
1960 #endif
1961 HANDLE qxeOpenFileMapping (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName);
1962
1963 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1964 #undef GetLogicalDriveStrings
1965 #define GetLogicalDriveStrings error use qxeGetLogicalDriveStrings or GetLogicalDriveStringsA/GetLogicalDriveStringsW
1966 #endif
1967 DWORD qxeGetLogicalDriveStrings (DWORD nBufferLength, Extbyte * lpBuffer);
1968
1969 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1970 #undef LoadLibrary
1971 #define LoadLibrary error use qxeLoadLibrary or LoadLibraryA/LoadLibraryW
1972 #endif
1973 HMODULE qxeLoadLibrary (const Extbyte * lpLibFileName);
1974
1975 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1976 #undef LoadLibraryEx
1977 #define LoadLibraryEx error use qxeLoadLibraryEx or LoadLibraryExA/LoadLibraryExW
1978 #endif
1979 HMODULE qxeLoadLibraryEx (const Extbyte * lpLibFileName, HANDLE hFile, DWORD dwFlags);
1980
1981 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1982 #undef GetModuleFileName
1983 #define GetModuleFileName error use qxeGetModuleFileName or GetModuleFileNameA/GetModuleFileNameW
1984 #endif
1985 DWORD qxeGetModuleFileName (HMODULE hModule, Extbyte * lpFilename, DWORD nSize);
1986
1987 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1988 #undef GetModuleHandle
1989 #define GetModuleHandle error use qxeGetModuleHandle or GetModuleHandleA/GetModuleHandleW
1990 #endif
1991 HMODULE qxeGetModuleHandle (const Extbyte * lpModuleName);
1992
1993 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
1994 #undef CreateProcess
1995 #define CreateProcess error use qxeCreateProcess or CreateProcessA/CreateProcessW
1996 #endif
1997 BOOL qxeCreateProcess (const Extbyte * lpApplicationName, Extbyte * lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, const Extbyte * lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
1998
1999 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2000 #undef FatalAppExit
2001 #define FatalAppExit error use qxeFatalAppExit or FatalAppExitA/FatalAppExitW
2002 #endif
2003 VOID qxeFatalAppExit (UINT uAction, const Extbyte * lpMessageText);
2004
2005 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2006 #undef GetStartupInfo
2007 #define GetStartupInfo error use qxeGetStartupInfo or GetStartupInfoA/GetStartupInfoW
2008 #endif
2009 VOID qxeGetStartupInfo (LPSTARTUPINFOW lpStartupInfo);
2010
2011 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2012 #undef GetCommandLine
2013 #define GetCommandLine error use qxeGetCommandLine or GetCommandLineA/GetCommandLineW
2014 #endif
2015 Extbyte * qxeGetCommandLine (void);
2016
2017 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2018 #undef GetEnvironmentVariable
2019 #define GetEnvironmentVariable error use qxeGetEnvironmentVariable or GetEnvironmentVariableA/GetEnvironmentVariableW
2020 #endif
2021 DWORD qxeGetEnvironmentVariable (const Extbyte * lpName, Extbyte * lpBuffer, DWORD nSize);
2022
2023 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2024 #undef SetEnvironmentVariable
2025 #define SetEnvironmentVariable error use qxeSetEnvironmentVariable or SetEnvironmentVariableA/SetEnvironmentVariableW
2026 #endif
2027 BOOL qxeSetEnvironmentVariable (const Extbyte * lpName, const Extbyte * lpValue);
2028
2029 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2030 #undef ExpandEnvironmentStrings
2031 #define ExpandEnvironmentStrings error use qxeExpandEnvironmentStrings or ExpandEnvironmentStringsA/ExpandEnvironmentStringsW
2032 #endif
2033 DWORD qxeExpandEnvironmentStrings (const Extbyte * lpSrc, Extbyte * lpDst, DWORD nSize);
2034
2035 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2036 #undef OutputDebugString
2037 #define OutputDebugString error use qxeOutputDebugString or OutputDebugStringA/OutputDebugStringW
2038 #endif
2039 VOID qxeOutputDebugString (const Extbyte * lpOutputString);
2040
2041 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2042 #undef FindResource
2043 #define FindResource error use qxeFindResource or FindResourceA/FindResourceW
2044 #endif
2045 HRSRC qxeFindResource (HMODULE hModule, const Extbyte * lpName, const Extbyte * lpType);
2046
2047 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2048 #undef FindResourceEx
2049 #define FindResourceEx error use qxeFindResourceEx or FindResourceExA/FindResourceExW
2050 #endif
2051 HRSRC qxeFindResourceEx (HMODULE hModule, const Extbyte * lpType, const Extbyte * lpName, WORD wLanguage);
2052
2053 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2054 #undef EnumResourceTypes
2055 #define EnumResourceTypes error use qxeEnumResourceTypes or EnumResourceTypesA/EnumResourceTypesW
2056 #endif
2057 BOOL qxeEnumResourceTypes (HMODULE hModule, ENUMRESTYPEPROC lpEnumFunc, LONG lParam);
2058
2059 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2060 #undef EnumResourceNames
2061 #define EnumResourceNames error use qxeEnumResourceNames or EnumResourceNamesA/EnumResourceNamesW
2062 #endif
2063 BOOL qxeEnumResourceNames (HMODULE hModule, const Extbyte * lpType, ENUMRESNAMEPROC lpEnumFunc, LONG lParam);
2064
2065 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2066 #undef EnumResourceLanguages
2067 #define EnumResourceLanguages error use qxeEnumResourceLanguages or EnumResourceLanguagesA/EnumResourceLanguagesW
2068 #endif
2069 BOOL qxeEnumResourceLanguages (HMODULE hModule, const Extbyte * lpType, const Extbyte * lpName, ENUMRESLANGPROC lpEnumFunc, LONG lParam);
2070
2071 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2072 #undef BeginUpdateResource
2073 #define BeginUpdateResource error use qxeBeginUpdateResource or BeginUpdateResourceA/BeginUpdateResourceW
2074 #endif
2075 HANDLE qxeBeginUpdateResource (const Extbyte * pFileName, BOOL bDeleteExistingResources);
2076
2077 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2078 #undef UpdateResource
2079 #define UpdateResource error use qxeUpdateResource or UpdateResourceA/UpdateResourceW
2080 #endif
2081 BOOL qxeUpdateResource (HANDLE hUpdate, const Extbyte * lpType, const Extbyte * lpName, WORD wLanguage, LPVOID lpData, DWORD cbData);
2082
2083 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2084 #undef EndUpdateResource
2085 #define EndUpdateResource error use qxeEndUpdateResource or EndUpdateResourceA/EndUpdateResourceW
2086 #endif
2087 BOOL qxeEndUpdateResource (HANDLE hUpdate, BOOL fDiscard);
2088
2089 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2090 #undef GlobalAddAtom
2091 #define GlobalAddAtom error use qxeGlobalAddAtom or GlobalAddAtomA/GlobalAddAtomW
2092 #endif
2093 ATOM qxeGlobalAddAtom (const Extbyte * lpString);
2094
2095 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2096 #undef GlobalFindAtom
2097 #define GlobalFindAtom error use qxeGlobalFindAtom or GlobalFindAtomA/GlobalFindAtomW
2098 #endif
2099 ATOM qxeGlobalFindAtom (const Extbyte * lpString);
2100
2101 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2102 #undef GlobalGetAtomName
2103 #define GlobalGetAtomName error use qxeGlobalGetAtomName or GlobalGetAtomNameA/GlobalGetAtomNameW
2104 #endif
2105 UINT qxeGlobalGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize);
2106
2107 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2108 #undef AddAtom
2109 #define AddAtom error use qxeAddAtom or AddAtomA/AddAtomW
2110 #endif
2111 ATOM qxeAddAtom (const Extbyte * lpString);
2112
2113 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2114 #undef FindAtom
2115 #define FindAtom error use qxeFindAtom or FindAtomA/FindAtomW
2116 #endif
2117 ATOM qxeFindAtom (const Extbyte * lpString);
2118
2119 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2120 #undef GetAtomName
2121 #define GetAtomName error use qxeGetAtomName or GetAtomNameA/GetAtomNameW
2122 #endif
2123 UINT qxeGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize);
2124
2125 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2126 #undef GetProfileInt
2127 #define GetProfileInt error use qxeGetProfileInt or GetProfileIntA/GetProfileIntW
2128 #endif
2129 UINT qxeGetProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT nDefault);
2130
2131 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2132 #undef GetProfileString
2133 #define GetProfileString error use qxeGetProfileString or GetProfileStringA/GetProfileStringW
2134 #endif
2135 DWORD qxeGetProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpDefault, Extbyte * lpReturnedString, DWORD nSize);
2136
2137 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2138 #undef WriteProfileString
2139 #define WriteProfileString error use qxeWriteProfileString or WriteProfileStringA/WriteProfileStringW
2140 #endif
2141 BOOL qxeWriteProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpString);
2142
2143 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2144 #undef GetProfileSection
2145 #define GetProfileSection error use qxeGetProfileSection or GetProfileSectionA/GetProfileSectionW
2146 #endif
2147 DWORD qxeGetProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString, DWORD nSize);
2148
2149 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2150 #undef WriteProfileSection
2151 #define WriteProfileSection error use qxeWriteProfileSection or WriteProfileSectionA/WriteProfileSectionW
2152 #endif
2153 BOOL qxeWriteProfileSection (const Extbyte * lpAppName, const Extbyte * lpString);
2154
2155 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2156 #undef GetPrivateProfileInt
2157 #define GetPrivateProfileInt error use qxeGetPrivateProfileInt or GetPrivateProfileIntA/GetPrivateProfileIntW
2158 #endif
2159 UINT qxeGetPrivateProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT nDefault, const Extbyte * lpFileName);
2160
2161 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2162 #undef GetPrivateProfileString
2163 #define GetPrivateProfileString error use qxeGetPrivateProfileString or GetPrivateProfileStringA/GetPrivateProfileStringW
2164 #endif
2165 DWORD qxeGetPrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpDefault, Extbyte * lpReturnedString, DWORD nSize, const Extbyte * lpFileName);
2166
2167 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2168 #undef WritePrivateProfileString
2169 #define WritePrivateProfileString error use qxeWritePrivateProfileString or WritePrivateProfileStringA/WritePrivateProfileStringW
2170 #endif
2171 BOOL qxeWritePrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte * lpString, const Extbyte * lpFileName);
2172
2173 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2174 #undef GetPrivateProfileSection
2175 #define GetPrivateProfileSection error use qxeGetPrivateProfileSection or GetPrivateProfileSectionA/GetPrivateProfileSectionW
2176 #endif
2177 DWORD qxeGetPrivateProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString, DWORD nSize, const Extbyte * lpFileName);
2178
2179 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2180 #undef WritePrivateProfileSection
2181 #define WritePrivateProfileSection error use qxeWritePrivateProfileSection or WritePrivateProfileSectionA/WritePrivateProfileSectionW
2182 #endif
2183 BOOL qxeWritePrivateProfileSection (const Extbyte * lpAppName, const Extbyte * lpString, const Extbyte * lpFileName);
2184
2185 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2186 #undef GetPrivateProfileSectionNames
2187 #define GetPrivateProfileSectionNames error use qxeGetPrivateProfileSectionNames or GetPrivateProfileSectionNamesA/GetPrivateProfileSectionNamesW
2188 #endif
2189 DWORD qxeGetPrivateProfileSectionNames (Extbyte * lpszReturnBuffer, DWORD nSize, const Extbyte * lpFileName);
2190
2191 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2192 #undef GetPrivateProfileStruct
2193 #define GetPrivateProfileStruct error use qxeGetPrivateProfileStruct or GetPrivateProfileStructA/GetPrivateProfileStructW
2194 #endif
2195 BOOL qxeGetPrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey, LPVOID lpStruct, UINT uSizeStruct, const Extbyte * szFile);
2196
2197 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2198 #undef WritePrivateProfileStruct
2199 #define WritePrivateProfileStruct error use qxeWritePrivateProfileStruct or WritePrivateProfileStructA/WritePrivateProfileStructW
2200 #endif
2201 BOOL qxeWritePrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey, LPVOID lpStruct, UINT uSizeStruct, const Extbyte * szFile);
2202
2203 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2204 #undef GetDriveType
2205 #define GetDriveType error use qxeGetDriveType or GetDriveTypeA/GetDriveTypeW
2206 #endif
2207 UINT qxeGetDriveType (const Extbyte * lpRootPathName);
2208
2209 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2210 #undef GetSystemDirectory
2211 #define GetSystemDirectory error use qxeGetSystemDirectory or GetSystemDirectoryA/GetSystemDirectoryW
2212 #endif
2213 UINT qxeGetSystemDirectory (Extbyte * lpBuffer, UINT uSize);
2214
2215 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2216 #undef GetTempPath
2217 #define GetTempPath error use qxeGetTempPath or GetTempPathA/GetTempPathW
2218 #endif
2219 DWORD qxeGetTempPath (DWORD nBufferLength, Extbyte * lpBuffer);
2220
2221 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2222 #undef GetTempFileName
2223 #define GetTempFileName error use qxeGetTempFileName or GetTempFileNameA/GetTempFileNameW
2224 #endif
2225 UINT qxeGetTempFileName (const Extbyte * lpPathName, const Extbyte * lpPrefixString, UINT uUnique, Extbyte * lpTempFileName);
2226
2227 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2228 #undef GetWindowsDirectory
2229 #define GetWindowsDirectory error use qxeGetWindowsDirectory or GetWindowsDirectoryA/GetWindowsDirectoryW
2230 #endif
2231 UINT qxeGetWindowsDirectory (Extbyte * lpBuffer, UINT uSize);
2232
2233 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2234 #undef SetCurrentDirectory
2235 #define SetCurrentDirectory error use qxeSetCurrentDirectory or SetCurrentDirectoryA/SetCurrentDirectoryW
2236 #endif
2237 BOOL qxeSetCurrentDirectory (const Extbyte * lpPathName);
2238
2239 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2240 #undef GetCurrentDirectory
2241 #define GetCurrentDirectory error use qxeGetCurrentDirectory or GetCurrentDirectoryA/GetCurrentDirectoryW
2242 #endif
2243 DWORD qxeGetCurrentDirectory (DWORD nBufferLength, Extbyte * lpBuffer);
2244
2245 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2246 #undef GetDiskFreeSpace
2247 #define GetDiskFreeSpace error use qxeGetDiskFreeSpace or GetDiskFreeSpaceA/GetDiskFreeSpaceW
2248 #endif
2249 BOOL qxeGetDiskFreeSpace (const Extbyte * lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
2250
2251 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2252 #undef GetDiskFreeSpaceEx
2253 #define GetDiskFreeSpaceEx error use qxeGetDiskFreeSpaceEx or GetDiskFreeSpaceExA/GetDiskFreeSpaceExW
2254 #endif
2255 BOOL qxeGetDiskFreeSpaceEx (const Extbyte * lpDirectoryName, PULARGE_INTEGER lpFreeBytesAvailableToCaller, PULARGE_INTEGER lpTotalNumberOfBytes, PULARGE_INTEGER lpTotalNumberOfFreeBytes);
2256
2257 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2258 #undef CreateDirectory
2259 #define CreateDirectory error use qxeCreateDirectory or CreateDirectoryA/CreateDirectoryW
2260 #endif
2261 BOOL qxeCreateDirectory (const Extbyte * lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
2262
2263 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2264 #undef CreateDirectoryEx
2265 #define CreateDirectoryEx error use qxeCreateDirectoryEx or CreateDirectoryExA/CreateDirectoryExW
2266 #endif
2267 BOOL qxeCreateDirectoryEx (const Extbyte * lpTemplateDirectory, const Extbyte * lpNewDirectory, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
2268
2269 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2270 #undef RemoveDirectory
2271 #define RemoveDirectory error use qxeRemoveDirectory or RemoveDirectoryA/RemoveDirectoryW
2272 #endif
2273 BOOL qxeRemoveDirectory (const Extbyte * lpPathName);
2274
2275 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2276 #undef GetFullPathName
2277 #define GetFullPathName error use qxeGetFullPathName or GetFullPathNameA/GetFullPathNameW
2278 #endif
2279 DWORD qxeGetFullPathName (const Extbyte * lpFileName, DWORD nBufferLength, Extbyte * lpBuffer, Extbyte * * lpFilePart);
2280
2281 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2282 #undef DefineDosDevice
2283 #define DefineDosDevice error use qxeDefineDosDevice or DefineDosDeviceA/DefineDosDeviceW
2284 #endif
2285 BOOL qxeDefineDosDevice (DWORD dwFlags, const Extbyte * lpDeviceName, const Extbyte * lpTargetPath);
2286
2287 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2288 #undef QueryDosDevice
2289 #define QueryDosDevice error use qxeQueryDosDevice or QueryDosDeviceA/QueryDosDeviceW
2290 #endif
2291 DWORD qxeQueryDosDevice (const Extbyte * lpDeviceName, Extbyte * lpTargetPath, DWORD ucchMax);
2292
2293 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2294 #undef CreateFile
2295 #define CreateFile error use qxeCreateFile or CreateFileA/CreateFileW
2296 #endif
2297 HANDLE qxeCreateFile (const Extbyte * lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
2298
2299 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2300 #undef SetFileAttributes
2301 #define SetFileAttributes error use qxeSetFileAttributes or SetFileAttributesA/SetFileAttributesW
2302 #endif
2303 BOOL qxeSetFileAttributes (const Extbyte * lpFileName, DWORD dwFileAttributes);
2304
2305 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2306 #undef GetFileAttributes
2307 #define GetFileAttributes error use qxeGetFileAttributes or GetFileAttributesA/GetFileAttributesW
2308 #endif
2309 DWORD qxeGetFileAttributes (const Extbyte * lpFileName);
2310
2311 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2312 #undef GetFileAttributesEx
2313 #define GetFileAttributesEx error use qxeGetFileAttributesEx or GetFileAttributesExA/GetFileAttributesExW
2314 #endif
2315 BOOL qxeGetFileAttributesEx (const Extbyte * lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, LPVOID lpFileInformation);
2316
2317 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2318 #undef GetCompressedFileSize
2319 #define GetCompressedFileSize error use qxeGetCompressedFileSize or GetCompressedFileSizeA/GetCompressedFileSizeW
2320 #endif
2321 DWORD qxeGetCompressedFileSize (const Extbyte * lpFileName, LPDWORD lpFileSizeHigh);
2322
2323 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2324 #undef DeleteFile
2325 #define DeleteFile error use qxeDeleteFile or DeleteFileA/DeleteFileW
2326 #endif
2327 BOOL qxeDeleteFile (const Extbyte * lpFileName);
2328
2329 #undef FindFirstFileEx
2330 #define FindFirstFileEx error split-sized LPWIN32_FIND_DATA; not used, NT 4.0+ only
2331
2332 /* Skipping FindFirstFile because split-sized LPWIN32_FIND_DATA */
2333
2334 /* Skipping FindNextFile because split-sized LPWIN32_FIND_DATA */
2335
2336 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2337 #undef SearchPath
2338 #define SearchPath error use qxeSearchPath or SearchPathA/SearchPathW
2339 #endif
2340 DWORD qxeSearchPath (const Extbyte * lpPath, const Extbyte * lpFileName, const Extbyte * lpExtension, DWORD nBufferLength, Extbyte * lpBuffer, Extbyte * * lpFilePart);
2341
2342 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2343 #undef CopyFile
2344 #define CopyFile error use qxeCopyFile or CopyFileA/CopyFileW
2345 #endif
2346 BOOL qxeCopyFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, BOOL bFailIfExists);
2347
2348 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2349 #undef CopyFileEx
2350 #define CopyFileEx error use qxeCopyFileEx or CopyFileExA/CopyFileExW
2351 #endif
2352 BOOL qxeCopyFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags);
2353
2354 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2355 #undef MoveFile
2356 #define MoveFile error use qxeMoveFile or MoveFileA/MoveFileW
2357 #endif
2358 BOOL qxeMoveFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName);
2359
2360 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2361 #undef MoveFileEx
2362 #define MoveFileEx error use qxeMoveFileEx or MoveFileExA/MoveFileExW
2363 #endif
2364 BOOL qxeMoveFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, DWORD dwFlags);
2365
2366 #undef MoveFileWithProgress
2367 #define MoveFileWithProgress error NT 5.0+ only
2368
2369 #undef CreateHardLink
2370 #define CreateHardLink error NT 5.0+ only
2371
2372 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2373 #undef CreateNamedPipe
2374 #define CreateNamedPipe error use qxeCreateNamedPipe or CreateNamedPipeA/CreateNamedPipeW
2375 #endif
2376 HANDLE qxeCreateNamedPipe (const Extbyte * lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
2377
2378 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2379 #undef GetNamedPipeHandleState
2380 #define GetNamedPipeHandleState error use qxeGetNamedPipeHandleState or GetNamedPipeHandleStateA/GetNamedPipeHandleStateW
2381 #endif
2382 BOOL qxeGetNamedPipeHandleState (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, Extbyte * lpUserName, DWORD nMaxUserNameSize);
2383
2384 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2385 #undef CallNamedPipe
2386 #define CallNamedPipe error use qxeCallNamedPipe or CallNamedPipeA/CallNamedPipeW
2387 #endif
2388 BOOL qxeCallNamedPipe (const Extbyte * lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
2389
2390 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2391 #undef WaitNamedPipe
2392 #define WaitNamedPipe error use qxeWaitNamedPipe or WaitNamedPipeA/WaitNamedPipeW
2393 #endif
2394 BOOL qxeWaitNamedPipe (const Extbyte * lpNamedPipeName, DWORD nTimeOut);
2395
2396 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2397 #undef SetVolumeLabel
2398 #define SetVolumeLabel error use qxeSetVolumeLabel or SetVolumeLabelA/SetVolumeLabelW
2399 #endif
2400 BOOL qxeSetVolumeLabel (const Extbyte * lpRootPathName, const Extbyte * lpVolumeName);
2401
2402 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2403 #undef GetVolumeInformation
2404 #define GetVolumeInformation error use qxeGetVolumeInformation or GetVolumeInformationA/GetVolumeInformationW
2405 #endif
2406 BOOL qxeGetVolumeInformation (const Extbyte * lpRootPathName, Extbyte * lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, Extbyte * lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
2407
2408 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2409 #undef ClearEventLog
2410 #define ClearEventLog error use qxeClearEventLog or ClearEventLogA/ClearEventLogW
2411 #endif
2412 BOOL qxeClearEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName);
2413
2414 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2415 #undef BackupEventLog
2416 #define BackupEventLog error use qxeBackupEventLog or BackupEventLogA/BackupEventLogW
2417 #endif
2418 BOOL qxeBackupEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName);
2419
2420 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2421 #undef OpenEventLog
2422 #define OpenEventLog error use qxeOpenEventLog or OpenEventLogA/OpenEventLogW
2423 #endif
2424 HANDLE qxeOpenEventLog (const Extbyte * lpUNCServerName, const Extbyte * lpSourceName);
2425
2426 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2427 #undef RegisterEventSource
2428 #define RegisterEventSource error use qxeRegisterEventSource or RegisterEventSourceA/RegisterEventSourceW
2429 #endif
2430 HANDLE qxeRegisterEventSource (const Extbyte * lpUNCServerName, const Extbyte * lpSourceName);
2431
2432 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2433 #undef OpenBackupEventLog
2434 #define OpenBackupEventLog error use qxeOpenBackupEventLog or OpenBackupEventLogA/OpenBackupEventLogW
2435 #endif
2436 HANDLE qxeOpenBackupEventLog (const Extbyte * lpUNCServerName, const Extbyte * lpFileName);
2437
2438 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2439 #undef ReadEventLog
2440 #define ReadEventLog error use qxeReadEventLog or ReadEventLogA/ReadEventLogW
2441 #endif
2442 BOOL qxeReadEventLog (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD * pnBytesRead, DWORD * pnMinNumberOfBytesNeeded);
2443
2444 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2445 #undef ReportEvent
2446 #define ReportEvent error use qxeReportEvent or ReportEventA/ReportEventW
2447 #endif
2448 BOOL qxeReportEvent (HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dwEventID, PSID lpUserSid, WORD wNumStrings, DWORD dwDataSize, const Extbyte * * lpStrings, LPVOID lpRawData);
2449
2450 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2451 #undef AccessCheckAndAuditAlarm
2452 #define AccessCheckAndAuditAlarm error use qxeAccessCheckAndAuditAlarm or AccessCheckAndAuditAlarmA/AccessCheckAndAuditAlarmW
2453 #endif
2454 BOOL qxeAccessCheckAndAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte * ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, BOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
2455
2456 #undef AccessCheckByTypeAndAuditAlarm
2457 #define AccessCheckByTypeAndAuditAlarm error NT 5.0+ only
2458
2459 #undef AccessCheckByTypeResultListAndAuditAlarm
2460 #define AccessCheckByTypeResultListAndAuditAlarm error NT 5.0+ only
2461
2462 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2463 #undef ObjectOpenAuditAlarm
2464 #define ObjectOpenAuditAlarm error use qxeObjectOpenAuditAlarm or ObjectOpenAuditAlarmA/ObjectOpenAuditAlarmW
2465 #endif
2466 BOOL qxeObjectOpenAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte * ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, DWORD GrantedAccess, PPRIVILEGE_SET Privileges, BOOL ObjectCreation, BOOL AccessGranted, LPBOOL GenerateOnClose);
2467
2468 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2469 #undef ObjectPrivilegeAuditAlarm
2470 #define ObjectPrivilegeAuditAlarm error use qxeObjectPrivilegeAuditAlarm or ObjectPrivilegeAuditAlarmA/ObjectPrivilegeAuditAlarmW
2471 #endif
2472 BOOL qxeObjectPrivilegeAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, HANDLE ClientToken, DWORD DesiredAccess, PPRIVILEGE_SET Privileges, BOOL AccessGranted);
2473
2474 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2475 #undef ObjectCloseAuditAlarm
2476 #define ObjectCloseAuditAlarm error use qxeObjectCloseAuditAlarm or ObjectCloseAuditAlarmA/ObjectCloseAuditAlarmW
2477 #endif
2478 BOOL qxeObjectCloseAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, BOOL GenerateOnClose);
2479
2480 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2481 #undef ObjectDeleteAuditAlarm
2482 #define ObjectDeleteAuditAlarm error use qxeObjectDeleteAuditAlarm or ObjectDeleteAuditAlarmA/ObjectDeleteAuditAlarmW
2483 #endif
2484 BOOL qxeObjectDeleteAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, BOOL GenerateOnClose);
2485
2486 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2487 #undef PrivilegedServiceAuditAlarm
2488 #define PrivilegedServiceAuditAlarm error use qxePrivilegedServiceAuditAlarm or PrivilegedServiceAuditAlarmA/PrivilegedServiceAuditAlarmW
2489 #endif
2490 BOOL qxePrivilegedServiceAuditAlarm (const Extbyte * SubsystemName, const Extbyte * ServiceName, HANDLE ClientToken, PPRIVILEGE_SET Privileges, BOOL AccessGranted);
2491
2492 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2493 #undef SetFileSecurity
2494 #define SetFileSecurity error use qxeSetFileSecurity or SetFileSecurityA/SetFileSecurityW
2495 #endif
2496 BOOL qxeSetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor);
2497
2498 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2499 #undef GetFileSecurity
2500 #define GetFileSecurity error use qxeGetFileSecurity or GetFileSecurityA/GetFileSecurityW
2501 #endif
2502 BOOL qxeGetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
2503
2504 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2505 #undef FindFirstChangeNotification
2506 #define FindFirstChangeNotification error use qxeFindFirstChangeNotification or FindFirstChangeNotificationA/FindFirstChangeNotificationW
2507 #endif
2508 HANDLE qxeFindFirstChangeNotification (const Extbyte * lpPathName, BOOL bWatchSubtree, DWORD dwNotifyFilter);
2509
2510 #undef ReadDirectoryChanges
2511 #define ReadDirectoryChanges error Unicode-only
2512
2513 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2514 #undef IsBadStringPtr
2515 #define IsBadStringPtr error use qxeIsBadStringPtr or IsBadStringPtrA/IsBadStringPtrW
2516 #endif
2517 BOOL qxeIsBadStringPtr (const Extbyte * lpsz, UINT ucchMax);
2518
2519 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2520 #undef LookupAccountSid
2521 #define LookupAccountSid error use qxeLookupAccountSid or LookupAccountSidA/LookupAccountSidW
2522 #endif
2523 BOOL qxeLookupAccountSid (const Extbyte * lpSystemName, PSID Sid, Extbyte * Name, LPDWORD cbName, Extbyte * ReferencedDomainName, LPDWORD cbReferencedDomainName, PSID_NAME_USE peUse);
2524
2525 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2526 #undef LookupAccountName
2527 #define LookupAccountName error use qxeLookupAccountName or LookupAccountNameA/LookupAccountNameW
2528 #endif
2529 BOOL qxeLookupAccountName (const Extbyte * lpSystemName, const Extbyte * lpAccountName, PSID Sid, LPDWORD cbSid, Extbyte * ReferencedDomainName, LPDWORD cbReferencedDomainName, PSID_NAME_USE peUse);
2530
2531 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2532 #undef LookupPrivilegeValue
2533 #define LookupPrivilegeValue error use qxeLookupPrivilegeValue or LookupPrivilegeValueA/LookupPrivilegeValueW
2534 #endif
2535 BOOL qxeLookupPrivilegeValue (const Extbyte * lpSystemName, const Extbyte * lpName, PLUID lpLuid);
2536
2537 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2538 #undef LookupPrivilegeName
2539 #define LookupPrivilegeName error use qxeLookupPrivilegeName or LookupPrivilegeNameA/LookupPrivilegeNameW
2540 #endif
2541 BOOL qxeLookupPrivilegeName (const Extbyte * lpSystemName, PLUID lpLuid, Extbyte * lpName, LPDWORD cbName);
2542
2543 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2544 #undef LookupPrivilegeDisplayName
2545 #define LookupPrivilegeDisplayName error use qxeLookupPrivilegeDisplayName or LookupPrivilegeDisplayNameA/LookupPrivilegeDisplayNameW
2546 #endif
2547 BOOL qxeLookupPrivilegeDisplayName (const Extbyte * lpSystemName, const Extbyte * lpName, Extbyte * lpDisplayName, LPDWORD cbDisplayName, LPDWORD lpLanguageId);
2548
2549 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2550 #undef BuildCommDCB
2551 #define BuildCommDCB error use qxeBuildCommDCB or BuildCommDCBA/BuildCommDCBW
2552 #endif
2553 BOOL qxeBuildCommDCB (const Extbyte * lpDef, LPDCB lpDCB);
2554
2555 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2556 #undef BuildCommDCBAndTimeouts
2557 #define BuildCommDCBAndTimeouts error use qxeBuildCommDCBAndTimeouts or BuildCommDCBAndTimeoutsA/BuildCommDCBAndTimeoutsW
2558 #endif
2559 BOOL qxeBuildCommDCBAndTimeouts (const Extbyte * lpDef, LPDCB lpDCB, LPCOMMTIMEOUTS lpCommTimeouts);
2560
2561 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2562 #undef CommConfigDialog
2563 #define CommConfigDialog error use qxeCommConfigDialog or CommConfigDialogA/CommConfigDialogW
2564 #endif
2565 BOOL qxeCommConfigDialog (const Extbyte * lpszName, HWND hWnd, LPCOMMCONFIG lpCC);
2566
2567 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2568 #undef GetDefaultCommConfig
2569 #define GetDefaultCommConfig error use qxeGetDefaultCommConfig or GetDefaultCommConfigA/GetDefaultCommConfigW
2570 #endif
2571 BOOL qxeGetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, LPDWORD lpdwSize);
2572
2573 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2574 #undef SetDefaultCommConfig
2575 #define SetDefaultCommConfig error use qxeSetDefaultCommConfig or SetDefaultCommConfigA/SetDefaultCommConfigW
2576 #endif
2577 BOOL qxeSetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, DWORD dwSize);
2578
2579 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2580 #undef GetComputerName
2581 #define GetComputerName error use qxeGetComputerName or GetComputerNameA/GetComputerNameW
2582 #endif
2583 BOOL qxeGetComputerName (Extbyte * lpBuffer, LPDWORD nSize);
2584
2585 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2586 #undef SetComputerName
2587 #define SetComputerName error use qxeSetComputerName or SetComputerNameA/SetComputerNameW
2588 #endif
2589 BOOL qxeSetComputerName (const Extbyte * lpComputerName);
2590
2591 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2592 #undef GetUserName
2593 #define GetUserName error use qxeGetUserName or GetUserNameA/GetUserNameW
2594 #endif
2595 BOOL qxeGetUserName (Extbyte * lpBuffer, LPDWORD nSize);
2596
2597 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2598 #undef LogonUser
2599 #define LogonUser error use qxeLogonUser or LogonUserA/LogonUserW
2600 #endif
2601 BOOL qxeLogonUser (Extbyte * lpszUsername, Extbyte * lpszDomain, Extbyte * lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken);
2602
2603 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2604 #undef CreateProcessAsUser
2605 #define CreateProcessAsUser error use qxeCreateProcessAsUser or CreateProcessAsUserA/CreateProcessAsUserW
2606 #endif
2607 BOOL qxeCreateProcessAsUser (HANDLE hToken, const Extbyte * lpApplicationName, Extbyte * lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, const Extbyte * lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
2608
2609 #undef GetCurrentHwProfile
2610 #define GetCurrentHwProfile error split-sized LPHW_PROFILE_INFO; NT 4.0+ only
2611
2612 #undef GetVersionEx
2613 #define GetVersionEx error split-sized LPOSVERSIONINFO
2614
2615 #undef CreateJobObject
2616 #define CreateJobObject error NT 5.0+ only
2617
2618 #undef OpenJobObject
2619 #define OpenJobObject error NT 5.0+ only
2620
2621
2622 /* Processing file COMMDLG.H */
2623
2624 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2625 #undef GetOpenFileName
2626 #define GetOpenFileName error use qxeGetOpenFileName or GetOpenFileNameA/GetOpenFileNameW
2627 #endif
2628 BOOL qxeGetOpenFileName (LPOPENFILENAMEW arg1);
2629
2630 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2631 #undef GetSaveFileName
2632 #define GetSaveFileName error use qxeGetSaveFileName or GetSaveFileNameA/GetSaveFileNameW
2633 #endif
2634 BOOL qxeGetSaveFileName (LPOPENFILENAMEW arg1);
2635
2636 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2637 #undef GetFileTitle
2638 #define GetFileTitle error use qxeGetFileTitle or GetFileTitleA/GetFileTitleW
2639 #endif
2640 short qxeGetFileTitle (const Extbyte * arg1, Extbyte * arg2, WORD arg3);
2641
2642 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2643 #undef ChooseColor
2644 #define ChooseColor error use qxeChooseColor or ChooseColorA/ChooseColorW
2645 #endif
2646 BOOL qxeChooseColor (LPCHOOSECOLORW arg1);
2647
2648 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2649 #undef FindText
2650 #define FindText error use qxeFindText or FindTextA/FindTextW
2651 #endif
2652 HWND qxeFindText (LPFINDREPLACEW arg1);
2653
2654 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2655 #undef ReplaceText
2656 #define ReplaceText error use qxeReplaceText or ReplaceTextA/ReplaceTextW
2657 #endif
2658 HWND qxeReplaceText (LPFINDREPLACEW arg1);
2659
2660 #undef AfxReplaceText
2661 #define AfxReplaceText error mac only
2662
2663 #undef ChooseFont
2664 #define ChooseFont error split-sized LPLOGFONT in LPCHOOSEFONT
2665
2666 /* Skipping PrintDlg because LPPRINTDLG with split-sized DEVMODE handle */
2667
2668 /* Skipping PageSetupDlg because LPPAGESETUPDLG with split-sized DEVMODE handle */
2669
2670
2671 /* Processing file SHLOBJ.H */
2672
2673 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2674 #undef SHGetPathFromIDList
2675 #define SHGetPathFromIDList error use qxeSHGetPathFromIDList or SHGetPathFromIDListA/SHGetPathFromIDListW
2676 #endif
2677 BOOL qxeSHGetPathFromIDList (LPCITEMIDLIST pidl, Extbyte * pszPath);
2678
2679 /* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin libraries */
2680
2681 /* Skipping SHBrowseForFolder because need to intercept callback for SendMessage */
2682
2683 /* Skipping SHGetDataFromIDList because split-sized WIN32_FIND_DATA or split-simple NETRESOURCE, missing from Cygwin libraries */
2684
2685
2686 /* Processing file IME.H */
2687
2688 #undef SendIMEMessageEx
2689 #define SendIMEMessageEx error obsolete, no docs available
2690
2691
2692 /* Processing file WINGDI.H */
2693
2694 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2695 #undef AddFontResource
2696 #define AddFontResource error use qxeAddFontResource or AddFontResourceA/AddFontResourceW
2697 #endif
2698 int qxeAddFontResource (const Extbyte * arg1);
2699
2700 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2701 #undef CopyMetaFile
2702 #define CopyMetaFile error use qxeCopyMetaFile or CopyMetaFileA/CopyMetaFileW
2703 #endif
2704 HMETAFILE qxeCopyMetaFile (HMETAFILE arg1, const Extbyte * arg2);
2705
2706 /* Skipping CreateDC because split-sized DEVMODE */
2707
2708 /* Skipping CreateFontIndirect because split-sized LOGFONT */
2709
2710 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2711 #undef CreateFont
2712 #define CreateFont error use qxeCreateFont or CreateFontA/CreateFontW
2713 #endif
2714 HFONT qxeCreateFont (int arg1, int arg2, int arg3, int arg4, int arg5, DWORD arg6, DWORD arg7, DWORD arg8, DWORD arg9, DWORD arg10, DWORD arg11, DWORD arg12, DWORD arg13, const Extbyte * arg14);
2715
2716 /* Skipping CreateIC because split-sized DEVMODE */
2717
2718 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2719 #undef CreateMetaFile
2720 #define CreateMetaFile error use qxeCreateMetaFile or CreateMetaFileA/CreateMetaFileW
2721 #endif
2722 HDC qxeCreateMetaFile (const Extbyte * arg1);
2723
2724 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2725 #undef CreateScalableFontResource
2726 #define CreateScalableFontResource error use qxeCreateScalableFontResource or CreateScalableFontResourceA/CreateScalableFontResourceW
2727 #endif
2728 BOOL qxeCreateScalableFontResource (DWORD arg1, const Extbyte * arg2, const Extbyte * arg3, const Extbyte * arg4);
2729
2730 /* Skipping DeviceCapabilities because split-sized DEVMODE */
2731
2732 /* Skipping EnumFontFamiliesEx because split-complex FONTENUMPROC; NT 4.0+ only */
2733
2734 #undef EnumFontFamilies
2735 #define EnumFontFamilies error split-complex FONTENUMPROC
2736
2737 #undef EnumFonts
2738 #define EnumFonts error split-complex FONTENUMPROC
2739
2740 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2741 #undef GetCharWidth
2742 #define GetCharWidth error use qxeGetCharWidth or GetCharWidthA/GetCharWidthW
2743 #endif
2744 BOOL qxeGetCharWidth (HDC arg1, UINT arg2, UINT arg3, LPINT arg4);
2745
2746 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2747 #undef GetCharWidth32
2748 #define GetCharWidth32 error use qxeGetCharWidth32 or GetCharWidth32A/GetCharWidth32W
2749 #endif
2750 BOOL qxeGetCharWidth32 (HDC arg1, UINT arg2, UINT arg3, LPINT arg4);
2751
2752 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2753 #undef GetCharWidthFloat
2754 #define GetCharWidthFloat error use qxeGetCharWidthFloat or GetCharWidthFloatA/GetCharWidthFloatW
2755 #endif
2756 BOOL qxeGetCharWidthFloat (HDC arg1, UINT arg2, UINT arg3, PFLOAT arg4);
2757
2758 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2759 #undef GetCharABCWidths
2760 #define GetCharABCWidths error use qxeGetCharABCWidths or GetCharABCWidthsA/GetCharABCWidthsW
2761 #endif
2762 BOOL qxeGetCharABCWidths (HDC arg1, UINT arg2, UINT arg3, LPABC arg4);
2763
2764 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2765 #undef GetCharABCWidthsFloat
2766 #define GetCharABCWidthsFloat error use qxeGetCharABCWidthsFloat or GetCharABCWidthsFloatA/GetCharABCWidthsFloatW
2767 #endif
2768 BOOL qxeGetCharABCWidthsFloat (HDC arg1, UINT arg2, UINT arg3, LPABCFLOAT arg4);
2769
2770 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2771 #undef GetGlyphOutline
2772 #define GetGlyphOutline error use qxeGetGlyphOutline or GetGlyphOutlineA/GetGlyphOutlineW
2773 #endif
2774 DWORD qxeGetGlyphOutline (HDC arg1, UINT arg2, UINT arg3, LPGLYPHMETRICS arg4, DWORD arg5, LPVOID arg6, CONST MAT2 * arg7);
2775
2776 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2777 #undef GetMetaFile
2778 #define GetMetaFile error use qxeGetMetaFile or GetMetaFileA/GetMetaFileW
2779 #endif
2780 HMETAFILE qxeGetMetaFile (const Extbyte * arg1);
2781
2782 #undef GetOutlineTextMetrics
2783 #define GetOutlineTextMetrics error split-sized LPOUTLINETEXTMETRIC
2784
2785 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2786 #undef GetTextExtentPoint
2787 #define GetTextExtentPoint error use qxeGetTextExtentPoint or GetTextExtentPointA/GetTextExtentPointW
2788 #endif
2789 BOOL qxeGetTextExtentPoint (HDC arg1, const Extbyte * arg2, int arg3, LPSIZE arg4);
2790
2791 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2792 #undef GetTextExtentPoint32
2793 #define GetTextExtentPoint32 error use qxeGetTextExtentPoint32 or GetTextExtentPoint32A/GetTextExtentPoint32W
2794 #endif
2795 BOOL qxeGetTextExtentPoint32 (HDC arg1, const Extbyte * arg2, int arg3, LPSIZE arg4);
2796
2797 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2798 #undef GetTextExtentExPoint
2799 #define GetTextExtentExPoint error use qxeGetTextExtentExPoint or GetTextExtentExPointA/GetTextExtentExPointW
2800 #endif
2801 BOOL qxeGetTextExtentExPoint (HDC arg1, const Extbyte * arg2, int arg3, int arg4, LPINT arg5, LPINT arg6, LPSIZE arg7);
2802
2803 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2804 #undef GetCharacterPlacement
2805 #define GetCharacterPlacement error use qxeGetCharacterPlacement or GetCharacterPlacementA/GetCharacterPlacementW
2806 #endif
2807 DWORD qxeGetCharacterPlacement (HDC arg1, const Extbyte * arg2, int arg3, int arg4, LPGCP_RESULTSW arg5, DWORD arg6);
2808
2809 #undef GetGlyphIndices
2810 #define GetGlyphIndices error NT 5.0+ only
2811
2812 #undef AddFontResourceEx
2813 #define AddFontResourceEx error NT 5.0+ only
2814
2815 #undef RemoveFontResourceEx
2816 #define RemoveFontResourceEx error NT 5.0+ only
2817
2818 #undef CreateFontIndirectEx
2819 #define CreateFontIndirectEx error split-sized ENUMLOGFONTEXDV; NT 5.0+ only
2820
2821 /* Skipping ResetDC because split-sized DEVMODE */
2822
2823 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2824 #undef RemoveFontResource
2825 #define RemoveFontResource error use qxeRemoveFontResource or RemoveFontResourceA/RemoveFontResourceW
2826 #endif
2827 BOOL qxeRemoveFontResource (const Extbyte * arg1);
2828
2829 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2830 #undef CopyEnhMetaFile
2831 #define CopyEnhMetaFile error use qxeCopyEnhMetaFile or CopyEnhMetaFileA/CopyEnhMetaFileW
2832 #endif
2833 HENHMETAFILE qxeCopyEnhMetaFile (HENHMETAFILE arg1, const Extbyte * arg2);
2834
2835 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2836 #undef CreateEnhMetaFile
2837 #define CreateEnhMetaFile error use qxeCreateEnhMetaFile or CreateEnhMetaFileA/CreateEnhMetaFileW
2838 #endif
2839 HDC qxeCreateEnhMetaFile (HDC arg1, const Extbyte * arg2, CONST RECT * arg3, const Extbyte * arg4);
2840
2841 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2842 #undef GetEnhMetaFile
2843 #define GetEnhMetaFile error use qxeGetEnhMetaFile or GetEnhMetaFileA/GetEnhMetaFileW
2844 #endif
2845 HENHMETAFILE qxeGetEnhMetaFile (const Extbyte * arg1);
2846
2847 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2848 #undef GetEnhMetaFileDescription
2849 #define GetEnhMetaFileDescription error use qxeGetEnhMetaFileDescription or GetEnhMetaFileDescriptionA/GetEnhMetaFileDescriptionW
2850 #endif
2851 UINT qxeGetEnhMetaFileDescription (HENHMETAFILE arg1, UINT arg2, Extbyte * arg3);
2852
2853 /* Skipping GetTextMetrics because split-sized LPTEXTMETRIC */
2854
2855 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2856 #undef StartDoc
2857 #define StartDoc error use qxeStartDoc or StartDocA/StartDocW
2858 #endif
2859 int qxeStartDoc (HDC arg1, CONST DOCINFOW * arg2);
2860
2861 /* Skipping GetObject because split-sized LOGFONT */
2862
2863 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2864 #undef TextOut
2865 #define TextOut error use qxeTextOut or TextOutA/TextOutW
2866 #endif
2867 BOOL qxeTextOut (HDC arg1, int arg2, int arg3, const Extbyte * arg4, int arg5);
2868
2869 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2870 #undef ExtTextOut
2871 #define ExtTextOut error use qxeExtTextOut or ExtTextOutA/ExtTextOutW
2872 #endif
2873 BOOL qxeExtTextOut (HDC arg1, int arg2, int arg3, UINT arg4, CONST RECT * arg5, const Extbyte * arg6, UINT arg7, CONST INT * arg8);
2874
2875 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2876 #undef PolyTextOut
2877 #define PolyTextOut error use qxePolyTextOut or PolyTextOutA/PolyTextOutW
2878 #endif
2879 BOOL qxePolyTextOut (HDC arg1, CONST POLYTEXTW * arg2, int arg3);
2880
2881 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2882 #undef GetTextFace
2883 #define GetTextFace error use qxeGetTextFace or GetTextFaceA/GetTextFaceW
2884 #endif
2885 int qxeGetTextFace (HDC arg1, int arg2, Extbyte * arg3);
2886
2887 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2888 #undef GetKerningPairs
2889 #define GetKerningPairs error use qxeGetKerningPairs or GetKerningPairsA/GetKerningPairsW
2890 #endif
2891 DWORD qxeGetKerningPairs (HDC arg1, DWORD arg2, LPKERNINGPAIR arg3);
2892
2893 #undef GetLogColorSpace
2894 #define GetLogColorSpace error split-sized LPLOGCOLORSPACE; NT 4.0+ only
2895
2896 #undef CreateColorSpace
2897 #define CreateColorSpace error split-sized LPLOGCOLORSPACE; NT 4.0+ only
2898
2899 /* Skipping GetICMProfile because NT 4.0+ only, error in Cygwin prototype */
2900
2901 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2902 #undef SetICMProfile
2903 #define SetICMProfile error use qxeSetICMProfile or SetICMProfileA/SetICMProfileW
2904 #endif
2905 BOOL qxeSetICMProfile (HDC arg1, Extbyte * arg2);
2906
2907 #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
2908 #undef EnumICMProfiles
2909 #define EnumICMProfiles error use qxeEnumICMProfiles or EnumICMProfilesA/EnumICMProfilesW
2910 #endif
2911 int qxeEnumICMProfiles (HDC arg1, ICMENUMPROCW arg2, LPARAM arg3);
2912
2913 /* Skipping UpdateICMRegKey because NT 4.0+ only, error in Cygwin prototype */
2914
2915 #undef wglUseFontBitmaps
2916 #define wglUseFontBitmaps error causes link error
2917
2918 #undef wglUseFontOutlines
2919 #define wglUseFontOutlines error causes link error
2920