Mercurial > hg > xemacs-beta
changeset 4875:49de55c09f18
add "review" lines in intl-encap-win32.c for all unseen functions in processed headers
-------------------- ChangeLog entries follow: --------------------
lib-src/ChangeLog addition:
2010-01-15 Ben Wing <ben@xemacs.org>
* make-mswin-unicode.pl:
Process the command `review'. Cause an error to happen if we try to
use the command, indicating that the command needs review to determine
how to handle it.
src/ChangeLog addition:
2010-01-15 Ben Wing <ben@xemacs.org>
* intl-encap-win32.c:
Add `review' lines for all functions seen in the headers that we
process but not yet associated with an encapsulation command.
These will cause an error to be signaled if these functions are
used.
* intl-auto-encap-win32.c:
* intl-auto-encap-win32.h:
Regenerate.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 15 Jan 2010 05:42:21 -0600 |
parents | 4c3f5e1ecbeb |
children | 437323273039 |
files | lib-src/ChangeLog lib-src/make-mswin-unicode.pl src/ChangeLog src/intl-auto-encap-win32.c src/intl-auto-encap-win32.h src/intl-encap-win32.c |
diffstat | 6 files changed, 483 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/ChangeLog Fri Jan 15 05:12:07 2010 -0600 +++ b/lib-src/ChangeLog Fri Jan 15 05:42:21 2010 -0600 @@ -1,3 +1,10 @@ +2010-01-15 Ben Wing <ben@xemacs.org> + + * make-mswin-unicode.pl: + Process the command `review'. Cause an error to happen if we try to + use the command, indicating that the command needs review to determine + how to handle it. + 2010-01-15 Ben Wing <ben@xemacs.org> * make-mswin-unicode.pl:
--- a/lib-src/make-mswin-unicode.pl Fri Jan 15 05:12:07 2010 -0600 +++ b/lib-src/make-mswin-unicode.pl Fri Jan 15 05:42:21 2010 -0600 @@ -2,7 +2,7 @@ ### make-mswin-unicode --- generate Unicode-encapsulation code for MS Windows -## Copyright (C) 2001, 2002, 2004 Ben Wing. +## Copyright (C) 2001, 2002, 2004, 2010 Ben Wing. ## Author: Ben Wing <ben@xemacs.org> ## Maintainer: Ben Wing <ben@xemacs.org> @@ -68,6 +68,9 @@ no indicates a function we don't support (it will be #defined to cause a compile error, with the text after the function included in the erroneous definition to indicate why we don't support it). +review indicates a function that we still need to review to determine whether + or how to support it. This has the same effect as `no', with a comment + indicating that the function needs review. skip indicates a function we support manually; only a comment about this will be generated. split indicates a function with a split structure (different versions @@ -173,7 +176,7 @@ { next if (m!^//!); next if (/^[ \t]*$/); - if (/(file|yes|soon|no|skip|split|begin-bracket|end-bracket)(?: (.*))?/) + if (/(file|yes|soon|no|review|skip|split|begin-bracket|end-bracket)(?: (.*))?/) { my ($command, $parms) = ($1, $2); if ($command eq "file") @@ -282,8 +285,11 @@ print HOUT "#if $bracket\n"; print COUT "#if $bracket\n\n"; } - if ($command eq "no") + if ($command eq "no" || $command eq "review") { + $reason = "Function needs review to determine how to handle it" + if !defined ($reason) && $command eq "review"; + if (!defined ($reason)) { print "WARNING: No reason given for `no' with function $fun\n";
--- a/src/ChangeLog Fri Jan 15 05:12:07 2010 -0600 +++ b/src/ChangeLog Fri Jan 15 05:42:21 2010 -0600 @@ -1,3 +1,14 @@ +2010-01-15 Ben Wing <ben@xemacs.org> + + * intl-encap-win32.c: + Add `review' lines for all functions seen in the headers that we + process but not yet associated with an encapsulation command. + These will cause an error to be signaled if these functions are + used. + * intl-auto-encap-win32.c: + * intl-auto-encap-win32.h: + Regenerate. + 2010-01-15 Ben Wing <ben@xemacs.org> * intl-auto-encap-win32.c:
--- a/src/intl-auto-encap-win32.c Fri Jan 15 05:12:07 2010 -0600 +++ b/src/intl-auto-encap-win32.c Fri Jan 15 05:42:21 2010 -0600 @@ -430,6 +430,12 @@ #if defined (HAVE_MS_WINDOWS) +/* Error if GetDefaultPrinter used: Function needs review to determine how to handle it */ + +#endif /* defined (HAVE_MS_WINDOWS) */ + +#if defined (HAVE_MS_WINDOWS) + /* Error if GetForm used: not used, complicated interface with split structures */ #endif /* defined (HAVE_MS_WINDOWS) */ @@ -616,6 +622,12 @@ #if defined (HAVE_MS_WINDOWS) +/* Error if WNetSetConnection used: Function needs review to determine how to handle it */ + +#endif /* defined (HAVE_MS_WINDOWS) */ + +#if defined (HAVE_MS_WINDOWS) + /* NOTE: contains split-simple LPNETRESOURCE */ DWORD qxeWNetConnectionDialog1 (LPCONNECTDLGSTRUCTW arg1) @@ -721,6 +733,18 @@ #if defined (HAVE_MS_WINDOWS) +/* Error if WNetGetResourceInformation used: Function needs review to determine how to handle it */ + +#endif /* defined (HAVE_MS_WINDOWS) */ + +#if defined (HAVE_MS_WINDOWS) + +/* Error if WNetGetResourceParent used: Function needs review to determine how to handle it */ + +#endif /* defined (HAVE_MS_WINDOWS) */ + +#if defined (HAVE_MS_WINDOWS) + DWORD qxeWNetGetLastError (PDWORD arg1, Extbyte * arg2, DWORD arg3, Extbyte * arg4, DWORD arg5) { @@ -761,6 +785,8 @@ /* Error if BroadcastSystemMessage used: win95 version not split; NT 4.0+ only */ +/* Error if BroadcastSystemMessageEx used: Function needs review to determine how to handle it */ + #if !defined (CYGWIN_HEADERS) BOOL @@ -1047,6 +1073,8 @@ /* Error if EnumDisplaySettings used: split-sized LPDEVMODE */ +/* Error if EnumDisplaySettingsEx used: Function needs review to determine how to handle it */ + /* Error if EnumDisplayDevices used: split-sized PDISPLAY_DEVICE; NT 5.0+ only, no Win98 */ /* NOTE: // callback fun differs only in string pointer type */ @@ -1126,6 +1154,8 @@ return GetClassLongA (arg1, arg2); } +/* Error if GetClassLongPtr used: Function needs review to determine how to handle it */ + int qxeGetClassName (HWND arg1, Extbyte * arg2, int arg3) { @@ -1208,6 +1238,8 @@ return GetPropA (arg1, (LPCSTR) arg2); } +/* Error if GetRawInputDeviceInfo used: Function needs review to determine how to handle it */ + DWORD qxeGetTabbedTextExtent (HDC arg1, const Extbyte * arg2, int arg3, int arg4, LPINT arg5) { @@ -1226,6 +1258,8 @@ return GetWindowLongA (arg1, arg2); } +/* Error if GetWindowLongPtr used: Function needs review to determine how to handle it */ + BOOL qxeGetUserObjectInformation (HANDLE arg1, int arg2, PVOID arg3, DWORD arg4, PDWORD arg5) { @@ -1588,6 +1622,8 @@ return SetClassLongA (arg1, arg2, arg3); } +/* Error if SetClassLongPtr used: Function needs review to determine how to handle it */ + BOOL qxeSetDlgItemText (HWND arg1, int arg2, const Extbyte * arg3) { @@ -1634,6 +1670,8 @@ return SetWindowLongA (arg1, arg2, arg3); } +/* Error if SetWindowLongPtr used: Function needs review to determine how to handle it */ + /* Error if SetWindowsHook used: obsolete; two versions, STRICT and non-STRICT */ HHOOK @@ -1783,6 +1821,8 @@ return RegDeleteKeyA (arg1, (LPCSTR) arg2); } +/* Error if RegDeleteKeyEx used: Function needs review to determine how to handle it */ + LONG qxeRegDeleteValue (HKEY arg1, const Extbyte * arg2) { @@ -1955,12 +1995,16 @@ /* Error if FoldString used: not used, not examined yet */ +/* Error if GetCalendarInfo used: Function needs review to determine how to handle it */ + /* Error if GetCPInfoEx used: not used, not examined yet */ /* Error if GetCurrencyFormat used: not used, not examined yet */ /* Error if GetDateFormat used: not used, not examined yet */ +/* Error if GetGeoInfo used: Function needs review to determine how to handle it */ + int qxeGetLocaleInfo (LCID arg1, LCTYPE arg2, Extbyte * arg3, int arg4) { @@ -1980,6 +2024,8 @@ /* Error if LCMapString used: not used, not examined yet */ +/* Error if SetCalendarInfo used: Function needs review to determine how to handle it */ + BOOL qxeSetLocaleInfo (LCID arg1, LCTYPE arg2, const Extbyte * arg3) { @@ -1993,6 +2039,12 @@ /* Error if EnumDateFormatsEx used: not used, not examined yet */ +/* Error if EnumSystemLanguageGroups used: Function needs review to determine how to handle it */ + +/* Error if EnumLanguageGroupLocales used: Function needs review to determine how to handle it */ + +/* Error if EnumUILanguages used: Function needs review to determine how to handle it */ + /*----------------------------------------------------------------------*/ /* Processing file WINGDI.H */ @@ -2518,6 +2570,14 @@ /* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin libraries */ +/* Error if SHGetFolderPath used: Function needs review to determine how to handle it */ + +/* Error if SHGetIconOverlayIndex used: Function needs review to determine how to handle it */ + +/* Error if SHCreateDirectoryEx used: Function needs review to determine how to handle it */ + +/* Error if SHGetFolderPathAndSubDir used: Function needs review to determine how to handle it */ + /*----------------------------------------------------------------------*/ /* Processing file COMMDLG.H */ @@ -2619,6 +2679,12 @@ #endif /* defined (HAVE_MS_WINDOWS) */ +#if defined (HAVE_MS_WINDOWS) + +/* Error if PrintDlgEx used: Function needs review to determine how to handle it */ + +#endif /* defined (HAVE_MS_WINDOWS) */ + /*----------------------------------------------------------------------*/ /* Processing file IMM.H */ @@ -2906,6 +2972,8 @@ return CallNamedPipeA ((LPCSTR) arg1, arg2, arg3, arg4, arg5, arg6, arg7); } +/* Error if CheckNameLegalDOS8Dot3 used: Function needs review to determine how to handle it */ + BOOL qxeClearEventLog (HANDLE arg1, const Extbyte * arg2) { @@ -2943,6 +3011,8 @@ return CopyFileExA ((LPCSTR) arg1, (LPCSTR) arg2, arg3, arg4, arg5, arg6); } +/* Error if CreateActCtx used: Function needs review to determine how to handle it */ + BOOL qxeCreateDirectory (const Extbyte * arg1, LPSECURITY_ATTRIBUTES arg2) { @@ -3037,6 +3107,8 @@ return CreateProcessAsUserA (arg1, (LPCSTR) arg2, (LPSTR) arg3, arg4, arg5, arg6, arg7, arg8, (LPCSTR) arg9, (LPSTARTUPINFOA) arg10, arg11); } +/* Error if CreateProcessWithLogon used: Function needs review to determine how to handle it */ + HANDLE qxeCreateSemaphore (LPSECURITY_ATTRIBUTES arg1, LONG arg2, LONG arg3, const Extbyte * arg4) { @@ -3073,6 +3145,10 @@ return DeleteFileA ((LPCSTR) arg1); } +/* Error if DeleteVolumeMountPoint used: Function needs review to determine how to handle it */ + +/* Error if DnsHostnameToComputerName used: Function needs review to determine how to handle it */ + #if !defined (CYGWIN_HEADERS) /* Error if EncryptFile used: Win2K+ only */ @@ -3112,6 +3188,10 @@ FatalAppExitA (arg1, (LPCSTR) arg2); } +/* Error if FileEncryptionStatus used: Function needs review to determine how to handle it */ + +/* Error if FindActCtxSectionString used: Function needs review to determine how to handle it */ + ATOM qxeFindAtom (const Extbyte * arg1) { @@ -3134,8 +3214,16 @@ /* Error if FindFirstFileEx used: split-sized LPWIN32_FIND_DATA; not used, NT 4.0+ only */ +/* Error if FindFirstVolume used: Function needs review to determine how to handle it */ + +/* Error if FindFirstVolumeMountPoint used: Function needs review to determine how to handle it */ + /* Skipping FindNextFile because split-sized LPWIN32_FIND_DATA */ +/* Error if FindNextVolume used: Function needs review to determine how to handle it */ + +/* Error if FindNextVolumeMountPoint used: Function needs review to determine how to handle it */ + HRSRC qxeFindResource (HINSTANCE arg1, const Extbyte * arg2, const Extbyte * arg3) { @@ -3154,6 +3242,8 @@ return FindResourceExA (arg1, (LPCSTR) arg2, (LPCSTR) arg3, arg4); } +/* Error if GetFirmwareEnvironmentVariable used: Function needs review to determine how to handle it */ + DWORD qxeFormatMessage (DWORD arg1, PCVOID arg2, DWORD arg3, DWORD arg4, Extbyte * arg5, DWORD arg6, va_list* arg7) { @@ -3217,6 +3307,8 @@ return GetComputerNameA ((LPSTR) arg1, arg2); } +/* Error if GetComputerNameEx used: Function needs review to determine how to handle it */ + DWORD qxeGetCurrentDirectory (DWORD arg1, Extbyte * arg2) { @@ -3255,6 +3347,8 @@ return GetDiskFreeSpaceExA ((LPCSTR) arg1, arg2, arg3, arg4); } +/* Error if GetDllDirectory used: Function needs review to determine how to handle it */ + UINT qxeGetDriveType (const Extbyte * arg1) { @@ -3338,6 +3432,8 @@ return GetModuleHandleA ((LPCSTR) arg1); } +/* Error if GetModuleHandleEx used: Function needs review to determine how to handle it */ + BOOL qxeGetNamedPipeHandleState (HANDLE arg1, PDWORD arg2, PDWORD arg3, PDWORD arg4, PDWORD arg5, Extbyte * arg6, DWORD arg7) { @@ -3446,6 +3542,10 @@ return GetSystemDirectoryA ((LPSTR) arg1, arg2); } +/* Error if GetSystemWindowsDirectory used: Function needs review to determine how to handle it */ + +/* Error if GetSystemWow64Directory used: Function needs review to determine how to handle it */ + UINT qxeGetTempFileName (const Extbyte * arg1, const Extbyte * arg2, UINT arg3, Extbyte * arg4) { @@ -3484,6 +3584,12 @@ return GetVolumeInformationA ((LPCSTR) arg1, (LPSTR) arg2, arg3, arg4, arg5, arg6, (LPSTR) arg7, arg8); } +/* Error if GetVolumeNameForVolumeMountPoint used: Function needs review to determine how to handle it */ + +/* Error if GetVolumePathName used: Function needs review to determine how to handle it */ + +/* Error if GetVolumePathNamesForVolumeName used: Function needs review to determine how to handle it */ + UINT qxeGetWindowsDirectory (Extbyte * arg1, UINT arg2) { @@ -3790,6 +3896,8 @@ return PrivilegedServiceAuditAlarmA ((LPCSTR) arg1, (LPCSTR) arg2, arg3, arg4, arg5); } +/* Error if QueryActCtx used: Function needs review to determine how to handle it */ + DWORD qxeQueryDosDevice (const Extbyte * arg1, Extbyte * arg2, DWORD arg3) { @@ -3828,6 +3936,8 @@ return RemoveDirectoryA ((LPCSTR) arg1); } +/* Error if ReplaceFile used: Function needs review to determine how to handle it */ + BOOL qxeReportEvent (HANDLE arg1, WORD arg2, WORD arg3, DWORD arg4, PSID arg5, WORD arg6, DWORD arg7, const Extbyte ** arg8, PVOID arg9) { @@ -3855,6 +3965,8 @@ return SetComputerNameA ((LPCSTR) arg1); } +/* Error if SetComputerNameEx used: Function needs review to determine how to handle it */ + BOOL qxeSetCurrentDirectory (const Extbyte * arg1) { @@ -3873,6 +3985,8 @@ return SetDefaultCommConfigA ((LPCSTR) arg1, arg2, arg3); } +/* Error if SetDllDirectory used: Function needs review to determine how to handle it */ + BOOL qxeSetEnvironmentVariable (const Extbyte * arg1, const Extbyte * arg2) { @@ -3900,6 +4014,10 @@ return SetFileSecurityA ((LPCSTR) arg1, arg2, arg3); } +/* Error if SetFileShortName used: Function needs review to determine how to handle it */ + +/* Error if SetFirmwareEnvironmentVariable used: Function needs review to determine how to handle it */ + BOOL qxeSetVolumeLabel (const Extbyte * arg1, const Extbyte * arg2) { @@ -3909,6 +4027,8 @@ return SetVolumeLabelA ((LPCSTR) arg1, (LPCSTR) arg2); } +/* Error if SetVolumeMountPoint used: Function needs review to determine how to handle it */ + BOOL qxeUpdateResource (HANDLE arg1, const Extbyte * arg2, const Extbyte * arg3, WORD arg4, PVOID arg5, DWORD arg6) { @@ -3918,6 +4038,8 @@ return UpdateResourceA (arg1, (LPCSTR) arg2, (LPCSTR) arg3, arg4, arg5, arg6); } +/* Error if VerifyVersionInfo used: Function needs review to determine how to handle it */ + BOOL qxeWaitNamedPipe (const Extbyte * arg1, DWORD arg2) { @@ -3977,6 +4099,24 @@ /* Processing file ACLAPI.h */ /*----------------------------------------------------------------------*/ +/* Error if BuildExplicitAccessWithName used: Function needs review to determine how to handle it */ + +/* Error if BuildSecurityDescriptor used: Function needs review to determine how to handle it */ + +/* Error if BuildTrusteeWithName used: Function needs review to determine how to handle it */ + +/* Error if BuildTrusteeWithObjectsAndName used: Function needs review to determine how to handle it */ + +/* Error if BuildTrusteeWithObjectsAndSid used: Function needs review to determine how to handle it */ + +/* Error if BuildTrusteeWithSid used: Function needs review to determine how to handle it */ + +/* Error if GetAuditedPermissionsFromAcl used: Function needs review to determine how to handle it */ + +/* Error if GetEffectiveRightsFromAcl used: Function needs review to determine how to handle it */ + +/* Error if GetExplicitEntriesFromAcl used: Function needs review to determine how to handle it */ + DWORD qxeGetNamedSecurityInfo (Extbyte * arg1, SE_OBJECT_TYPE arg2, SECURITY_INFORMATION arg3, PSID* arg4, PSID* arg5, PACL* arg6, PACL* arg7, PSECURITY_DESCRIPTOR* arg8) { @@ -3986,6 +4126,26 @@ return GetNamedSecurityInfoA ((LPSTR) arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } +/* Error if GetTrusteeForm used: Function needs review to determine how to handle it */ + +/* Error if GetTrusteeName used: Function needs review to determine how to handle it */ + +/* Error if GetTrusteeType used: Function needs review to determine how to handle it */ + +/* Error if LookupSecurityDescriptorParts used: Function needs review to determine how to handle it */ + +/* Error if SetEntriesInAcl used: Function needs review to determine how to handle it */ + +/* Error if SetNamedSecurityInfo used: Function needs review to determine how to handle it */ + +/* Error if BuildImpersonateExplicitAccessWithName used: Function needs review to determine how to handle it */ + +/* Error if BuildImpersonateTrustee used: Function needs review to determine how to handle it */ + +/* Error if GetMultipleTrustee used: Function needs review to determine how to handle it */ + +/* Error if GetMultipleTrusteeOperation used: Function needs review to determine how to handle it */ + /*----------------------------------------------------------------------*/ /* Processing file MMSYSTEM.H */
--- a/src/intl-auto-encap-win32.h Fri Jan 15 05:12:07 2010 -0600 +++ b/src/intl-auto-encap-win32.h Fri Jan 15 05:42:21 2010 -0600 @@ -308,6 +308,11 @@ #endif /* defined (HAVE_MS_WINDOWS) */ #if defined (HAVE_MS_WINDOWS) +#undef GetDefaultPrinter +#define GetDefaultPrinter error_Function_needs_review_to_determine_how_to_handle_it +#endif /* defined (HAVE_MS_WINDOWS) */ + +#if defined (HAVE_MS_WINDOWS) #undef GetForm #define GetForm error_not_used__complicated_interface_with_split_structures #endif /* defined (HAVE_MS_WINDOWS) */ @@ -441,6 +446,11 @@ #endif /* defined (HAVE_MS_WINDOWS) */ #if defined (HAVE_MS_WINDOWS) +#undef WNetSetConnection +#define WNetSetConnection error_Function_needs_review_to_determine_how_to_handle_it +#endif /* defined (HAVE_MS_WINDOWS) */ + +#if defined (HAVE_MS_WINDOWS) #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef WNetConnectionDialog1 #define WNetConnectionDialog1 error_use_qxeWNetConnectionDialog1_or_WNetConnectionDialog1A_and_WNetConnectionDialog1W @@ -505,6 +515,16 @@ #endif /* defined (HAVE_MS_WINDOWS) */ #if defined (HAVE_MS_WINDOWS) +#undef WNetGetResourceInformation +#define WNetGetResourceInformation error_Function_needs_review_to_determine_how_to_handle_it +#endif /* defined (HAVE_MS_WINDOWS) */ + +#if defined (HAVE_MS_WINDOWS) +#undef WNetGetResourceParent +#define WNetGetResourceParent error_Function_needs_review_to_determine_how_to_handle_it +#endif /* defined (HAVE_MS_WINDOWS) */ + +#if defined (HAVE_MS_WINDOWS) #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef WNetGetLastError #define WNetGetLastError error_use_qxeWNetGetLastError_or_WNetGetLastErrorA_and_WNetGetLastErrorW @@ -532,6 +552,9 @@ #undef BroadcastSystemMessage #define BroadcastSystemMessage error_win95_version_not_split__NT_4_0__only +#undef BroadcastSystemMessageEx +#define BroadcastSystemMessageEx error_Function_needs_review_to_determine_how_to_handle_it + #if !defined (CYGWIN_HEADERS) #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef CallMsgFilter @@ -731,6 +754,9 @@ #undef EnumDisplaySettings #define EnumDisplaySettings error_split_sized_LPDEVMODE +#undef EnumDisplaySettingsEx +#define EnumDisplaySettingsEx error_Function_needs_review_to_determine_how_to_handle_it + #undef EnumDisplayDevices #define EnumDisplayDevices error_split_sized_PDISPLAY_DEVICE__NT_5_0__only__no_Win98 @@ -782,6 +808,9 @@ #endif DWORD qxeGetClassLong (HWND arg1, int arg2); +#undef GetClassLongPtr +#define GetClassLongPtr error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetClassName #define GetClassName error_use_qxeGetClassName_or_GetClassNameA_and_GetClassNameW @@ -836,6 +865,9 @@ #endif HANDLE qxeGetProp (HWND arg1, const Extbyte * arg2); +#undef GetRawInputDeviceInfo +#define GetRawInputDeviceInfo error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetTabbedTextExtent #define GetTabbedTextExtent error_use_qxeGetTabbedTextExtent_or_GetTabbedTextExtentA_and_GetTabbedTextExtentW @@ -848,6 +880,9 @@ #endif LONG qxeGetWindowLong (HWND arg1, int arg2); +#undef GetWindowLongPtr +#define GetWindowLongPtr error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetUserObjectInformation #define GetUserObjectInformation error_use_qxeGetUserObjectInformation_or_GetUserObjectInformationA_and_GetUserObjectInformationW @@ -1106,6 +1141,9 @@ #endif DWORD qxeSetClassLong (HWND arg1, int arg2, LONG arg3); +#undef SetClassLongPtr +#define SetClassLongPtr error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef SetDlgItemText #define SetDlgItemText error_use_qxeSetDlgItemText_or_SetDlgItemTextA_and_SetDlgItemTextW @@ -1136,6 +1174,9 @@ #endif LONG qxeSetWindowLong (HWND arg1, int arg2, LONG arg3); +#undef SetWindowLongPtr +#define SetWindowLongPtr error_Function_needs_review_to_determine_how_to_handle_it + #undef SetWindowsHook #define SetWindowsHook error_obsolete__two_versions__STRICT_and_non_STRICT @@ -1240,6 +1281,9 @@ #endif LONG qxeRegDeleteKey (HKEY arg1, const Extbyte * arg2); +#undef RegDeleteKeyEx +#define RegDeleteKeyEx error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef RegDeleteValue #define RegDeleteValue error_use_qxeRegDeleteValue_or_RegDeleteValueA_and_RegDeleteValueW @@ -1366,6 +1410,9 @@ #undef FoldString #define FoldString error_not_used__not_examined_yet +#undef GetCalendarInfo +#define GetCalendarInfo error_Function_needs_review_to_determine_how_to_handle_it + #undef GetCPInfoEx #define GetCPInfoEx error_not_used__not_examined_yet @@ -1375,6 +1422,9 @@ #undef GetDateFormat #define GetDateFormat error_not_used__not_examined_yet +#undef GetGeoInfo +#define GetGeoInfo error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetLocaleInfo #define GetLocaleInfo error_use_qxeGetLocaleInfo_or_GetLocaleInfoA_and_GetLocaleInfoW @@ -1396,6 +1446,9 @@ #undef LCMapString #define LCMapString error_not_used__not_examined_yet +#undef SetCalendarInfo +#define SetCalendarInfo error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef SetLocaleInfo #define SetLocaleInfo error_use_qxeSetLocaleInfo_or_SetLocaleInfoA_and_SetLocaleInfoW @@ -1408,6 +1461,15 @@ #undef EnumDateFormatsEx #define EnumDateFormatsEx error_not_used__not_examined_yet +#undef EnumSystemLanguageGroups +#define EnumSystemLanguageGroups error_Function_needs_review_to_determine_how_to_handle_it + +#undef EnumLanguageGroupLocales +#define EnumLanguageGroupLocales error_Function_needs_review_to_determine_how_to_handle_it + +#undef EnumUILanguages +#define EnumUILanguages error_Function_needs_review_to_determine_how_to_handle_it + /* Processing file WINGDI.H */ @@ -1748,6 +1810,18 @@ /* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin libraries */ +#undef SHGetFolderPath +#define SHGetFolderPath error_Function_needs_review_to_determine_how_to_handle_it + +#undef SHGetIconOverlayIndex +#define SHGetIconOverlayIndex error_Function_needs_review_to_determine_how_to_handle_it + +#undef SHCreateDirectoryEx +#define SHCreateDirectoryEx error_Function_needs_review_to_determine_how_to_handle_it + +#undef SHGetFolderPathAndSubDir +#define SHGetFolderPathAndSubDir error_Function_needs_review_to_determine_how_to_handle_it + /* Processing file COMMDLG.H */ @@ -1812,6 +1886,11 @@ HWND qxeReplaceText (LPFINDREPLACEW arg1); #endif /* defined (HAVE_MS_WINDOWS) */ +#if defined (HAVE_MS_WINDOWS) +#undef PrintDlgEx +#define PrintDlgEx error_Function_needs_review_to_determine_how_to_handle_it +#endif /* defined (HAVE_MS_WINDOWS) */ + /* Processing file IMM.H */ @@ -1994,6 +2073,9 @@ #endif BOOL qxeCallNamedPipe (const Extbyte * arg1, PVOID arg2, DWORD arg3, PVOID arg4, DWORD arg5, PDWORD arg6, DWORD arg7); +#undef CheckNameLegalDOS8Dot3 +#define CheckNameLegalDOS8Dot3 error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef ClearEventLog #define ClearEventLog error_use_qxeClearEventLog_or_ClearEventLogA_and_ClearEventLogW @@ -2018,6 +2100,9 @@ #endif BOOL qxeCopyFileEx (const Extbyte * arg1, const Extbyte * arg2, LPPROGRESS_ROUTINE arg3, LPVOID arg4, LPBOOL arg5, DWORD arg6); +#undef CreateActCtx +#define CreateActCtx error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef CreateDirectory #define CreateDirectory error_use_qxeCreateDirectory_or_CreateDirectoryA_and_CreateDirectoryW @@ -2084,6 +2169,9 @@ #endif BOOL qxeCreateProcessAsUser (HANDLE arg1, const Extbyte * arg2, Extbyte * arg3, LPSECURITY_ATTRIBUTES arg4, LPSECURITY_ATTRIBUTES arg5, BOOL arg6, DWORD arg7, PVOID arg8, const Extbyte * arg9, LPSTARTUPINFOW arg10, LPPROCESS_INFORMATION arg11); +#undef CreateProcessWithLogon +#define CreateProcessWithLogon error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef CreateSemaphore #define CreateSemaphore error_use_qxeCreateSemaphore_or_CreateSemaphoreA_and_CreateSemaphoreW @@ -2108,6 +2196,12 @@ #endif BOOL qxeDeleteFile (const Extbyte * arg1); +#undef DeleteVolumeMountPoint +#define DeleteVolumeMountPoint error_Function_needs_review_to_determine_how_to_handle_it + +#undef DnsHostnameToComputerName +#define DnsHostnameToComputerName error_Function_needs_review_to_determine_how_to_handle_it + #if !defined (CYGWIN_HEADERS) #undef EncryptFile #define EncryptFile error_Win2K__only @@ -2137,6 +2231,12 @@ #endif void qxeFatalAppExit (UINT arg1, const Extbyte * arg2); +#undef FileEncryptionStatus +#define FileEncryptionStatus error_Function_needs_review_to_determine_how_to_handle_it + +#undef FindActCtxSectionString +#define FindActCtxSectionString error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef FindAtom #define FindAtom error_use_qxeFindAtom_or_FindAtomA_and_FindAtomW @@ -2154,8 +2254,20 @@ #undef FindFirstFileEx #define FindFirstFileEx error_split_sized_LPWIN32_FIND_DATA__not_used__NT_4_0__only +#undef FindFirstVolume +#define FindFirstVolume error_Function_needs_review_to_determine_how_to_handle_it + +#undef FindFirstVolumeMountPoint +#define FindFirstVolumeMountPoint error_Function_needs_review_to_determine_how_to_handle_it + /* Skipping FindNextFile because split-sized LPWIN32_FIND_DATA */ +#undef FindNextVolume +#define FindNextVolume error_Function_needs_review_to_determine_how_to_handle_it + +#undef FindNextVolumeMountPoint +#define FindNextVolumeMountPoint error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef FindResource #define FindResource error_use_qxeFindResource_or_FindResourceA_and_FindResourceW @@ -2168,6 +2280,9 @@ #endif HRSRC qxeFindResourceEx (HINSTANCE arg1, const Extbyte * arg2, const Extbyte * arg3, WORD arg4); +#undef GetFirmwareEnvironmentVariable +#define GetFirmwareEnvironmentVariable error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef FormatMessage #define FormatMessage error_use_qxeFormatMessage_or_FormatMessageA_and_FormatMessageW @@ -2210,6 +2325,9 @@ #endif BOOL qxeGetComputerName (Extbyte * arg1, PDWORD arg2); +#undef GetComputerNameEx +#define GetComputerNameEx error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetCurrentDirectory #define GetCurrentDirectory error_use_qxeGetCurrentDirectory_or_GetCurrentDirectoryA_and_GetCurrentDirectoryW @@ -2237,6 +2355,9 @@ #endif BOOL qxeGetDiskFreeSpaceEx (const Extbyte * arg1, PULARGE_INTEGER arg2, PULARGE_INTEGER arg3, PULARGE_INTEGER arg4); +#undef GetDllDirectory +#define GetDllDirectory error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetDriveType #define GetDriveType error_use_qxeGetDriveType_or_GetDriveTypeA_and_GetDriveTypeW @@ -2294,6 +2415,9 @@ #endif HMODULE qxeGetModuleHandle (const Extbyte * arg1); +#undef GetModuleHandleEx +#define GetModuleHandleEx error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetNamedPipeHandleState #define GetNamedPipeHandleState error_use_qxeGetNamedPipeHandleState_or_GetNamedPipeHandleStateA_and_GetNamedPipeHandleStateW @@ -2366,6 +2490,12 @@ #endif UINT qxeGetSystemDirectory (Extbyte * arg1, UINT arg2); +#undef GetSystemWindowsDirectory +#define GetSystemWindowsDirectory error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetSystemWow64Directory +#define GetSystemWow64Directory error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetTempFileName #define GetTempFileName error_use_qxeGetTempFileName_or_GetTempFileNameA_and_GetTempFileNameW @@ -2393,6 +2523,15 @@ #endif BOOL qxeGetVolumeInformation (const Extbyte * arg1, Extbyte * arg2, DWORD arg3, PDWORD arg4, PDWORD arg5, PDWORD arg6, Extbyte * arg7, DWORD arg8); +#undef GetVolumeNameForVolumeMountPoint +#define GetVolumeNameForVolumeMountPoint error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetVolumePathName +#define GetVolumePathName error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetVolumePathNamesForVolumeName +#define GetVolumePathNamesForVolumeName error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetWindowsDirectory #define GetWindowsDirectory error_use_qxeGetWindowsDirectory_or_GetWindowsDirectoryA_and_GetWindowsDirectoryW @@ -2597,6 +2736,9 @@ #endif BOOL qxePrivilegedServiceAuditAlarm (const Extbyte * arg1, const Extbyte * arg2, HANDLE arg3, PPRIVILEGE_SET arg4, BOOL arg5); +#undef QueryActCtx +#define QueryActCtx error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef QueryDosDevice #define QueryDosDevice error_use_qxeQueryDosDevice_or_QueryDosDeviceA_and_QueryDosDeviceW @@ -2624,6 +2766,9 @@ #endif BOOL qxeRemoveDirectory (const Extbyte * arg1); +#undef ReplaceFile +#define ReplaceFile error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef ReportEvent #define ReportEvent error_use_qxeReportEvent_or_ReportEventA_and_ReportEventW @@ -2642,6 +2787,9 @@ #endif BOOL qxeSetComputerName (const Extbyte * arg1); +#undef SetComputerNameEx +#define SetComputerNameEx error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef SetCurrentDirectory #define SetCurrentDirectory error_use_qxeSetCurrentDirectory_or_SetCurrentDirectoryA_and_SetCurrentDirectoryW @@ -2654,6 +2802,9 @@ #endif BOOL qxeSetDefaultCommConfig (const Extbyte * arg1, LPCOMMCONFIG arg2, DWORD arg3); +#undef SetDllDirectory +#define SetDllDirectory error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef SetEnvironmentVariable #define SetEnvironmentVariable error_use_qxeSetEnvironmentVariable_or_SetEnvironmentVariableA_and_SetEnvironmentVariableW @@ -2672,18 +2823,30 @@ #endif BOOL qxeSetFileSecurity (const Extbyte * arg1, SECURITY_INFORMATION arg2, PSECURITY_DESCRIPTOR arg3); +#undef SetFileShortName +#define SetFileShortName error_Function_needs_review_to_determine_how_to_handle_it + +#undef SetFirmwareEnvironmentVariable +#define SetFirmwareEnvironmentVariable error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef SetVolumeLabel #define SetVolumeLabel error_use_qxeSetVolumeLabel_or_SetVolumeLabelA_and_SetVolumeLabelW #endif BOOL qxeSetVolumeLabel (const Extbyte * arg1, const Extbyte * arg2); +#undef SetVolumeMountPoint +#define SetVolumeMountPoint error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef UpdateResource #define UpdateResource error_use_qxeUpdateResource_or_UpdateResourceA_and_UpdateResourceW #endif BOOL qxeUpdateResource (HANDLE arg1, const Extbyte * arg2, const Extbyte * arg3, WORD arg4, PVOID arg5, DWORD arg6); +#undef VerifyVersionInfo +#define VerifyVersionInfo error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef WaitNamedPipe #define WaitNamedPipe error_use_qxeWaitNamedPipe_or_WaitNamedPipeA_and_WaitNamedPipeW @@ -2723,12 +2886,69 @@ /* Processing file ACLAPI.h */ +#undef BuildExplicitAccessWithName +#define BuildExplicitAccessWithName error_Function_needs_review_to_determine_how_to_handle_it + +#undef BuildSecurityDescriptor +#define BuildSecurityDescriptor error_Function_needs_review_to_determine_how_to_handle_it + +#undef BuildTrusteeWithName +#define BuildTrusteeWithName error_Function_needs_review_to_determine_how_to_handle_it + +#undef BuildTrusteeWithObjectsAndName +#define BuildTrusteeWithObjectsAndName error_Function_needs_review_to_determine_how_to_handle_it + +#undef BuildTrusteeWithObjectsAndSid +#define BuildTrusteeWithObjectsAndSid error_Function_needs_review_to_determine_how_to_handle_it + +#undef BuildTrusteeWithSid +#define BuildTrusteeWithSid error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetAuditedPermissionsFromAcl +#define GetAuditedPermissionsFromAcl error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetEffectiveRightsFromAcl +#define GetEffectiveRightsFromAcl error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetExplicitEntriesFromAcl +#define GetExplicitEntriesFromAcl error_Function_needs_review_to_determine_how_to_handle_it + #ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED #undef GetNamedSecurityInfo #define GetNamedSecurityInfo error_use_qxeGetNamedSecurityInfo_or_GetNamedSecurityInfoA_and_GetNamedSecurityInfoW #endif DWORD qxeGetNamedSecurityInfo (Extbyte * arg1, SE_OBJECT_TYPE arg2, SECURITY_INFORMATION arg3, PSID* arg4, PSID* arg5, PACL* arg6, PACL* arg7, PSECURITY_DESCRIPTOR* arg8); +#undef GetTrusteeForm +#define GetTrusteeForm error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetTrusteeName +#define GetTrusteeName error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetTrusteeType +#define GetTrusteeType error_Function_needs_review_to_determine_how_to_handle_it + +#undef LookupSecurityDescriptorParts +#define LookupSecurityDescriptorParts error_Function_needs_review_to_determine_how_to_handle_it + +#undef SetEntriesInAcl +#define SetEntriesInAcl error_Function_needs_review_to_determine_how_to_handle_it + +#undef SetNamedSecurityInfo +#define SetNamedSecurityInfo error_Function_needs_review_to_determine_how_to_handle_it + +#undef BuildImpersonateExplicitAccessWithName +#define BuildImpersonateExplicitAccessWithName error_Function_needs_review_to_determine_how_to_handle_it + +#undef BuildImpersonateTrustee +#define BuildImpersonateTrustee error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetMultipleTrustee +#define GetMultipleTrustee error_Function_needs_review_to_determine_how_to_handle_it + +#undef GetMultipleTrusteeOperation +#define GetMultipleTrusteeOperation error_Function_needs_review_to_determine_how_to_handle_it + /* Processing file MMSYSTEM.H */
--- a/src/intl-encap-win32.c Fri Jan 15 05:12:07 2010 -0600 +++ b/src/intl-encap-win32.c Fri Jan 15 05:42:21 2010 -0600 @@ -1,5 +1,5 @@ /* Unicode-encapsulation of Win32 library functions. - Copyright (C) 2000, 2001, 2002, 2004 Ben Wing. + Copyright (C) 2000, 2001, 2002, 2004, 2010 Ben Wing. This file is part of XEmacs. @@ -56,6 +56,9 @@ no indicates a function we don't support (it will be #defined to cause a compile error, with the text after the function included in the erroneous definition to indicate why we don't support it). +review indicates a function that we still need to review to determine whether + or how to support it. This has the same effect as `no', with a comment + indicating that the function needs review. skip indicates a function we support manually; only a comment about this will be generated. split indicates a function with a split structure (different versions @@ -103,6 +106,25 @@ file ACLAPI.h yes GetNamedSecurityInfo +review BuildExplicitAccessWithName +review BuildSecurityDescriptor +review BuildTrusteeWithName +review BuildTrusteeWithObjectsAndName +review BuildTrusteeWithObjectsAndSid +review BuildTrusteeWithSid +review GetAuditedPermissionsFromAcl +review GetEffectiveRightsFromAcl +review GetExplicitEntriesFromAcl +review GetTrusteeForm +review GetTrusteeName +review GetTrusteeType +review LookupSecurityDescriptorParts +review SetEntriesInAcl +review SetNamedSecurityInfo +review BuildImpersonateExplicitAccessWithName +review BuildImpersonateTrustee +review GetMultipleTrustee +review GetMultipleTrusteeOperation file WINBASE.H @@ -251,6 +273,34 @@ no GetVersionEx split-sized LPOSVERSIONINFO no CreateJobObject NT 5.0+ only no OpenJobObject NT 5.0+ only +review CheckNameLegalDOS8Dot3 +review CreateActCtx +review CreateProcessWithLogon +review DeleteVolumeMountPoint +review DnsHostnameToComputerName +review FileEncryptionStatus +review FindActCtxSectionString +review FindFirstVolume +review FindFirstVolumeMountPoint +review FindNextVolume +review FindNextVolumeMountPoint +review GetFirmwareEnvironmentVariable +review GetComputerNameEx +review GetDllDirectory +review GetModuleHandleEx +review GetSystemWindowsDirectory +review GetSystemWow64Directory +review GetVolumeNameForVolumeMountPoint +review GetVolumePathName +review GetVolumePathNamesForVolumeName +review QueryActCtx +review ReplaceFile +review SetComputerNameEx +review SetDllDirectory +review SetFileShortName +review SetFirmwareEnvironmentVariable +review SetVolumeMountPoint +review VerifyVersionInfo file WINUSER.H @@ -379,7 +429,6 @@ yes DlgDirSelectComboBoxEx yes DefFrameProc no DefMDIChildProc return value is conditionalized on _MAC, messes up parser - yes CreateMDIWindow yes WinHelp no ChangeDisplaySettings split-sized LPDEVMODE @@ -391,6 +440,13 @@ no GetWindowModuleFileName NT 5.0+ only no RealGetWindowClass NT 5.0+ only no GetAltTabInfo NT 5.0+ only +review BroadcastSystemMessageEx +review EnumDisplaySettingsEx +review GetClassLongPtr +review GetRawInputDeviceInfo +review GetWindowLongPtr +review SetClassLongPtr +review SetWindowLongPtr file WINGDI.H @@ -536,6 +592,7 @@ no DeletePrintProvidor not used, complicated interface with split structures no SetPrinterHTMLView not used, complicated interface with split structures no GetPrinterHTMLView not used, complicated interface with split structures +review GetDefaultPrinter end-bracket file SHELLAPI.H @@ -786,6 +843,7 @@ // FINDMSGSTRING skip PrintDlg LPPRINTDLG with split-sized DEVMODE handle skip PageSetupDlg LPPAGESETUPDLG with split-sized DEVMODE handle +review PrintDlgEx end-bracket file DDE.H @@ -876,13 +934,14 @@ // split-simple function pointer PFNPROCESSPOLICIES yes WNetGetLastError split MultinetGetConnectionPerformance LPNETRESOURCE +review WNetSetConnection +review WNetGetResourceInformation +review WNetGetResourceParent end-bracket -// Doesn't exist under Cygwin +// file IME.H -- doesn't exist under Cygwin -// file IME.H - -// no SendIMEMessageEx obsolete, no docs available +no SendIMEMessageEx obsolete, no docs available file OBJBASE.H @@ -925,6 +984,10 @@ // split flag SHCNF_PRINTER; we intercept SHChangeNotify // split flag SHARD_PATH; we intercept SHAddToRecentDocs skip SHGetDataFromIDList split-sized WIN32_FIND_DATA or split-simple NETRESOURCE, missing from Cygwin libraries +review SHGetFolderPath +review SHGetIconOverlayIndex +review SHCreateDirectoryEx +review SHGetFolderPathAndSubDir file WINNLS.H @@ -954,6 +1017,12 @@ no FoldString not used, not examined yet no EnumSystemLocales not used, not examined yet no EnumSystemCodePages not used, not examined yet +review GetCalendarInfo +review GetGeoInfo +review SetCalendarInfo +review EnumSystemLanguageGroups +review EnumLanguageGroupLocales +review EnumUILanguages end-unicode-encapsulation-script @@ -1009,6 +1078,7 @@ yes RegUnLoadKey yes InitiateSystemShutdown yes AbortSystemShutdown +review RegDeleteKeyEx file EXCPT.H