diff --git a/programs/winetest/include/advapi32.pm b/programs/winetest/include/advapi32.pm index b663bc5b12a..a93412040a5 100644 --- a/programs/winetest/include/advapi32.pm +++ b/programs/winetest/include/advapi32.pm @@ -12,6 +12,8 @@ use vars qw(@ISA @EXPORT @EXPORT_OK); @EXPORT_OK = qw(); my $module_declarations = { + "AbortSystemShutdownA" => ["long", ["str"]], + "AbortSystemShutdownW" => ["long", ["wstr"]], "AccessCheck" => ["long", ["ptr", "long", "long", "ptr", "ptr", "ptr", "ptr", "ptr"]], "AddAccessAllowedAce" => ["long", ["ptr", "long", "long", "ptr"]], "AdjustTokenPrivileges" => ["long", ["long", "long", "ptr", "long", "ptr", "ptr"]], @@ -19,6 +21,7 @@ my $module_declarations = { "AllocateLocallyUniqueId" => ["long", ["ptr"]], "BackupEventLogA" => ["long", ["long", "str"]], "BackupEventLogW" => ["long", ["long", "wstr"]], + "CheckTokenMembership" => ["long", ["long", "ptr", "ptr"]], "ClearEventLogA" => ["long", ["long", "str"]], "ClearEventLogW" => ["long", ["long", "wstr"]], "CloseEventLog" => ["long", ["long"]], @@ -73,6 +76,7 @@ my $module_declarations = { "EqualPrefixSid" => ["long", ["ptr", "ptr"]], "EqualSid" => ["long", ["ptr", "ptr"]], "FreeSid" => ["ptr", ["ptr"]], + "GetAce" => ["long", ["ptr", "long", "ptr"]], "GetFileSecurityA" => ["long", ["str", "long", "ptr", "long", "ptr"]], "GetFileSecurityW" => ["long", ["wstr", "long", "ptr", "long", "ptr"]], "GetLengthSid" => ["long", ["ptr"]], @@ -91,6 +95,7 @@ my $module_declarations = { "GetTokenInformation" => ["long", ["long", "long", "ptr", "long", "ptr"]], "GetUserNameA" => ["long", ["str", "ptr"]], "GetUserNameW" => ["long", ["wstr", "ptr"]], + "ImpersonateLoggedOnUser" => ["long", ["long"]], "ImpersonateSelf" => ["long", ["long"]], "InitializeAcl" => ["long", ["ptr", "long", "long"]], "InitializeSecurityDescriptor" => ["long", ["ptr", "long"]], @@ -120,6 +125,7 @@ my $module_declarations = { "OpenServiceA" => ["long", ["long", "str", "long"]], "OpenServiceW" => ["long", ["long", "wstr", "long"]], "OpenThreadToken" => ["long", ["long", "long", "long", "ptr"]], + "PrivilegeCheck" => ["long", ["long", "ptr", "ptr"]], "QueryServiceStatus" => ["long", ["long", "ptr"]], "QueryWindows31FilesMigration" => ["long", ["long"]], "ReadEventLogA" => ["long", ["long", "long", "long", "ptr", "long", "ptr", "ptr"]], diff --git a/programs/winetest/include/avicap32.pm b/programs/winetest/include/avicap32.pm new file mode 100644 index 00000000000..b0e0e7a3816 --- /dev/null +++ b/programs/winetest/include/avicap32.pm @@ -0,0 +1,23 @@ +package avicap32; + +use strict; + +require Exporter; + +use wine; +use vars qw(@ISA @EXPORT @EXPORT_OK); + +@ISA = qw(Exporter); +@EXPORT = qw(); +@EXPORT_OK = qw(); + +my $module_declarations = { + "capCreateCaptureWindowA" => ["long", ["str", "long", "long", "long", "long", "long", "long", "long"]], + "capCreateCaptureWindowW" => ["long", ["wstr", "long", "long", "long", "long", "long", "long", "long"]], + "capGetDriverDescriptionA" => ["long", ["long", "str", "long", "str", "long"]], + "capGetDriverDescriptionW" => ["long", ["long", "wstr", "long", "wstr", "long"]] +}; + +&wine::declare("avicap32",%$module_declarations); +push @EXPORT, map { "&" . $_; } sort(keys(%$module_declarations)); +1; diff --git a/programs/winetest/include/gdi32.pm b/programs/winetest/include/gdi32.pm index ce5a3c26597..8d2d06e372e 100644 --- a/programs/winetest/include/gdi32.pm +++ b/programs/winetest/include/gdi32.pm @@ -155,6 +155,8 @@ my $module_declarations = { "GetEnhMetaFileW" => ["long", ["wstr"]], "GetFontData" => ["long", ["long", "long", "long", "ptr", "long"]], "GetFontLanguageInfo" => ["long", ["long"]], + "GetGlyphIndicesA" => ["long", ["long", "str", "long", "ptr", "long"]], + "GetGlyphIndicesW" => ["long", ["long", "wstr", "long", "ptr", "long"]], "GetGlyphOutlineA" => ["long", ["long", "long", "long", "ptr", "long", "ptr", "ptr"]], "GetGlyphOutlineW" => ["long", ["long", "long", "long", "ptr", "long", "ptr", "ptr"]], "GetGraphicsMode" => ["long", ["long"]], @@ -200,6 +202,7 @@ my $module_declarations = { "GetTextExtentPoint32A" => ["long", ["long", "str", "long", "ptr"]], "GetTextExtentPoint32W" => ["long", ["long", "wstr", "long", "ptr"]], "GetTextExtentPointA" => ["long", ["long", "str", "long", "ptr"]], + "GetTextExtentPointI" => ["long", ["long", "ptr", "long", "ptr"]], "GetTextExtentPointW" => ["long", ["long", "wstr", "long", "ptr"]], "GetTextFaceA" => ["long", ["long", "long", "str"]], "GetTextFaceW" => ["long", ["long", "long", "wstr"]], diff --git a/programs/winetest/include/imm32.pm b/programs/winetest/include/imm32.pm index d1dbb0ba014..53b20418b3d 100644 --- a/programs/winetest/include/imm32.pm +++ b/programs/winetest/include/imm32.pm @@ -21,6 +21,7 @@ my $module_declarations = { "ImmDestroyContext" => ["long", ["long"]], "ImmDestroyIMCC" => ["long", ["long"]], "ImmDestroySoftKeyboard" => ["long", ["long"]], + "ImmDisableIME" => ["long", ["long"]], "ImmEnumRegisterWordA" => ["long", ["long", "ptr", "str", "long", "str", "ptr"]], "ImmEnumRegisterWordW" => ["long", ["long", "ptr", "wstr", "long", "wstr", "ptr"]], "ImmEscapeA" => ["long", ["long", "long", "long", "ptr"]], diff --git a/programs/winetest/include/kernel32.pm b/programs/winetest/include/kernel32.pm index 0434acf5c80..9e2af2ef9af 100644 --- a/programs/winetest/include/kernel32.pm +++ b/programs/winetest/include/kernel32.pm @@ -144,7 +144,10 @@ my $module_declarations = { "CreateWaitableTimerA" => ["long", ["ptr", "long", "str"]], "CreateWaitableTimerW" => ["long", ["ptr", "long", "wstr"]], "DebugActiveProcess" => ["long", ["long"]], + "DebugActiveProcessStop" => ["long", ["long"]], "DebugBreak" => ["void", []], + "DebugBreakProcess" => ["long", ["long"]], + "DebugSetProcessKillOnExit" => ["long", ["long"]], "DefineDosDeviceA" => ["long", ["long", "str", "str"]], "DeleteAtom" => ["long", ["long"]], "DeleteFileA" => ["long", ["str"]], @@ -254,6 +257,8 @@ my $module_declarations = { "GetCompressedFileSizeA" => ["long", ["str", "ptr"]], "GetCompressedFileSizeW" => ["long", ["wstr", "ptr"]], "GetComputerNameA" => ["long", ["str", "ptr"]], + "GetComputerNameExA" => ["long", ["ptr", "str", "ptr"]], + "GetComputerNameExW" => ["long", ["ptr", "wstr", "ptr"]], "GetComputerNameW" => ["long", ["wstr", "ptr"]], "GetConsoleCP" => ["long", []], "GetConsoleCursorInfo" => ["long", ["long", "ptr"]], @@ -633,6 +638,7 @@ my $module_declarations = { "SetThreadAffinityMask" => ["long", ["long", "long"]], "SetThreadContext" => ["long", ["long", "ptr"]], "SetThreadExecutionState" => ["long", ["long"]], + "SetThreadIdealProcessor" => ["long", ["long", "long"]], "SetThreadLocale" => ["long", ["long"]], "SetThreadPriority" => ["long", ["long", "long"]], "SetThreadPriorityBoost" => ["long", ["long", "long"]], diff --git a/programs/winetest/include/msimg32.pm b/programs/winetest/include/msimg32.pm new file mode 100644 index 00000000000..c1189f0b057 --- /dev/null +++ b/programs/winetest/include/msimg32.pm @@ -0,0 +1,23 @@ +package msimg32; + +use strict; + +require Exporter; + +use wine; +use vars qw(@ISA @EXPORT @EXPORT_OK); + +@ISA = qw(Exporter); +@EXPORT = qw(); +@EXPORT_OK = qw(); + +my $module_declarations = { + "AlphaBlend" => ["long", ["long", "long", "long", "long", "long", "long", "long", "long", "long", "long", "ptr"]], + "GradientFill" => ["long", ["long", "ptr", "long", "ptr", "long", "long"]], + "TransparentBlt" => ["long", ["long", "long", "long", "long", "long", "long", "long", "long", "long", "long", "long"]], + "vSetDdrawflag" => ["void", []] +}; + +&wine::declare("msimg32",%$module_declarations); +push @EXPORT, map { "&" . $_; } sort(keys(%$module_declarations)); +1; diff --git a/programs/winetest/include/msisys_ocx.pm b/programs/winetest/include/msisys_ocx.pm new file mode 100644 index 00000000000..0fdd5407a46 --- /dev/null +++ b/programs/winetest/include/msisys_ocx.pm @@ -0,0 +1,23 @@ +package msisys_ocx; + +use strict; + +require Exporter; + +use wine; +use vars qw(@ISA @EXPORT @EXPORT_OK); + +@ISA = qw(Exporter); +@EXPORT = qw(); +@EXPORT_OK = qw(); + +my $module_declarations = { + "DllCanUnloadNow" => ["long", []], + "DllGetClassObject" => ["long", ["ptr", "ptr", "ptr"]], + "DllRegisterServer" => ["long", []], + "DllUnregisterServer" => ["long", []] +}; + +&wine::declare("msisys.ocx",%$module_declarations); +push @EXPORT, map { "&" . $_; } sort(keys(%$module_declarations)); +1; diff --git a/programs/winetest/include/ole32.pm b/programs/winetest/include/ole32.pm index 7e2ad7753de..e37e3d5d8d6 100644 --- a/programs/winetest/include/ole32.pm +++ b/programs/winetest/include/ole32.pm @@ -26,12 +26,16 @@ my $module_declarations = { "CoGetClassObject" => ["long", ["ptr", "long", "ptr", "ptr", "ptr"]], "CoGetCurrentProcess" => ["long", []], "CoGetMalloc" => ["long", ["long", "ptr"]], + "CoGetMarshalSizeMax" => ["long", ["ptr", "ptr", "ptr", "long", "ptr", "long"]], "CoGetPSClsid" => ["long", ["ptr", "ptr"]], + "CoGetStandardMarshal" => ["long", ["ptr", "ptr", "long", "ptr", "long", "ptr"]], "CoInitialize" => ["long", ["ptr"]], "CoInitializeWOW" => ["long", ["long", "long"]], "CoIsOle1Class" => ["long", ["ptr"]], "CoLoadLibrary" => ["long", ["str", "long"]], "CoLockObjectExternal" => ["long", ["ptr", "long", "long"]], + "CoMarshalInterThreadInterfaceInStream" => ["long", ["ptr", "ptr", "ptr"]], + "CoMarshalInterface" => ["long", ["ptr", "ptr", "ptr", "long", "ptr", "long"]], "CoRegisterClassObject" => ["long", ["ptr", "ptr", "long", "long", "ptr"]], "CoRegisterMessageFilter" => ["long", ["ptr", "ptr"]], "CoRevokeClassObject" => ["long", ["long"]], @@ -41,6 +45,7 @@ my $module_declarations = { "CoTaskMemRealloc" => ["ptr", ["ptr", "long"]], "CoTreatAsClass" => ["long", ["ptr", "ptr"]], "CoUninitialize" => ["void", []], + "CoUnmarshalInterface" => ["long", ["ptr", "ptr", "ptr"]], "CreateAntiMoniker" => ["long", ["ptr"]], "CreateBindCtx" => ["long", ["long", "ptr"]], "CreateDataAdviseHolder" => ["long", ["ptr"]], diff --git a/programs/winetest/include/oleaut32.pm b/programs/winetest/include/oleaut32.pm index 0ff4129bc05..2226cb88a2c 100644 --- a/programs/winetest/include/oleaut32.pm +++ b/programs/winetest/include/oleaut32.pm @@ -217,8 +217,10 @@ my $module_declarations = { "OleCreateFontIndirect" => ["long", ["ptr", "ptr", "ptr"]], "OleTranslateColor" => ["long", ["long", "long", "ptr"]], "OleLoadPictureEx" => ["long", ["ptr", "long", "long", "ptr", "long", "long", "long", "ptr"]], + "SafeArrayAllocDescriptorEx" => ["long", ["long", "long", "ptr"]], "VarBstrCat" => ["long", ["wstr", "wstr", "ptr"]], - "VarBstrCmp" => ["long", ["wstr", "wstr", "long", "long"]] + "VarBstrCmp" => ["long", ["wstr", "wstr", "long", "long"]], + "VarCat" => ["long", ["ptr", "ptr", "ptr"]] }; &wine::declare("oleaut32",%$module_declarations); diff --git a/programs/winetest/include/rpcrt4.pm b/programs/winetest/include/rpcrt4.pm index 3d5da6dc745..77a74d15554 100644 --- a/programs/winetest/include/rpcrt4.pm +++ b/programs/winetest/include/rpcrt4.pm @@ -12,7 +12,10 @@ use vars qw(@ISA @EXPORT @EXPORT_OK); @EXPORT_OK = qw(); my $module_declarations = { + "NdrDllCanUnloadNow" => ["long", ["ptr"]], + "NdrDllGetClassObject" => ["long", ["ptr", "ptr", "ptr", "ptr", "ptr", "ptr"]], "NdrDllRegisterProxy" => ["long", ["long", "ptr", "ptr"]], + "RpcBindingFree" => ["long", ["ptr"]], "RpcBindingFromStringBindingA" => ["long", ["str", "ptr"]], "RpcBindingFromStringBindingW" => ["long", ["wstr", "ptr"]], "RpcServerListen" => ["long", ["long", "long", "long"]], diff --git a/programs/winetest/include/setupapi.pm b/programs/winetest/include/setupapi.pm index 604edab4c17..56add13d550 100644 --- a/programs/winetest/include/setupapi.pm +++ b/programs/winetest/include/setupapi.pm @@ -12,25 +12,66 @@ use vars qw(@ISA @EXPORT @EXPORT_OK); @EXPORT_OK = qw(); my $module_declarations = { - "SetupCloseFileQueue" => ["void", ["long"]], + "SetupCloseFileQueue" => ["long", ["long"]], "SetupCloseInfFile" => ["void", ["long"]], "SetupCommitFileQueueA" => ["long", ["long", "long", "ptr", "ptr"]], + "SetupCommitFileQueueW" => ["long", ["long", "long", "ptr", "ptr"]], "SetupDefaultQueueCallbackA" => ["long", ["ptr", "long", "long", "long"]], + "SetupDefaultQueueCallbackW" => ["long", ["ptr", "long", "long", "long"]], "SetupFindFirstLineA" => ["long", ["long", "str", "str", "ptr"]], + "SetupFindFirstLineW" => ["long", ["long", "str", "str", "ptr"]], "SetupFindNextLine" => ["long", ["ptr", "ptr"]], + "SetupFindNextMatchLineA" => ["long", ["ptr", "str", "ptr"]], + "SetupFindNextMatchLineW" => ["long", ["ptr", "str", "ptr"]], + "SetupGetBinaryField" => ["long", ["ptr", "long", "ptr", "long", "ptr"]], + "SetupGetFieldCount" => ["long", ["ptr"]], + "SetupGetFileQueueCount" => ["long", ["long", "long", "ptr"]], + "SetupGetFileQueueFlags" => ["long", ["long", "ptr"]], + "SetupGetIntField" => ["long", ["ptr", "long", "ptr"]], "SetupGetLineByIndexA" => ["long", ["long", "str", "long", "ptr"]], - "SetupGetLineTextA" => ["long", ["ptr", "long", "str", "str", "str", "long", "ptr"]], - "SetupGetStringFieldA" => ["long", ["ptr", "long", "str", "long", "ptr"]], + "SetupGetLineByIndexW" => ["long", ["long", "str", "long", "ptr"]], + "SetupGetLineCountA" => ["long", ["long", "str"]], + "SetupGetLineCountW" => ["long", ["long", "str"]], + "SetupGetLineTextA" => ["long", ["ptr", "long", "str", "str", "ptr", "long", "ptr"]], + "SetupGetLineTextW" => ["long", ["ptr", "long", "str", "str", "str", "long", "ptr"]], + "SetupGetMultiSzFieldA" => ["long", ["ptr", "long", "ptr", "long", "ptr"]], + "SetupGetMultiSzFieldW" => ["long", ["ptr", "long", "str", "long", "ptr"]], + "SetupGetStringFieldA" => ["long", ["ptr", "long", "ptr", "long", "ptr"]], + "SetupGetStringFieldW" => ["long", ["ptr", "long", "str", "long", "ptr"]], "SetupInitDefaultQueueCallback" => ["ptr", ["long"]], "SetupInitDefaultQueueCallbackEx" => ["ptr", ["long", "long", "long", "long", "ptr"]], + "SetupInstallFilesFromInfSectionA" => ["long", ["long", "long", "long", "str", "str", "long"]], + "SetupInstallFilesFromInfSectionW" => ["long", ["long", "long", "long", "str", "str", "long"]], "SetupInstallFromInfSectionA" => ["long", ["long", "long", "str", "long", "long", "str", "long", "ptr", "ptr", "long", "ptr"]], + "SetupInstallFromInfSectionW" => ["long", ["long", "long", "str", "long", "long", "str", "long", "ptr", "ptr", "long", "ptr"]], "SetupIterateCabinetA" => ["long", ["str", "long", "ptr", "ptr"]], "SetupIterateCabinetW" => ["long", ["str", "long", "ptr", "ptr"]], "SetupOpenAppendInfFileA" => ["long", ["str", "long", "ptr"]], + "SetupOpenAppendInfFileW" => ["long", ["str", "long", "ptr"]], "SetupOpenFileQueue" => ["long", []], "SetupOpenInfFileA" => ["long", ["str", "str", "long", "ptr"]], + "SetupOpenInfFileW" => ["long", ["str", "str", "long", "ptr"]], "SetupQueueCopyA" => ["long", ["long", "str", "str", "str", "str", "str", "str", "str", "long"]], + "SetupQueueCopyIndirectA" => ["long", ["ptr"]], + "SetupQueueCopyIndirectW" => ["long", ["ptr"]], + "SetupQueueCopySectionA" => ["long", ["long", "str", "long", "long", "str", "long"]], + "SetupQueueCopySectionW" => ["long", ["long", "str", "long", "long", "str", "long"]], + "SetupQueueCopyW" => ["long", ["long", "str", "str", "str", "str", "str", "str", "str", "long"]], + "SetupQueueDefaultCopyA" => ["long", ["long", "long", "str", "str", "str", "long"]], + "SetupQueueDefaultCopyW" => ["long", ["long", "long", "str", "str", "str", "long"]], + "SetupQueueDeleteA" => ["long", ["long", "str", "str"]], + "SetupQueueDeleteSectionA" => ["long", ["long", "long", "long", "str"]], + "SetupQueueDeleteSectionW" => ["long", ["long", "long", "long", "str"]], + "SetupQueueDeleteW" => ["long", ["long", "str", "str"]], + "SetupQueueRenameA" => ["long", ["long", "str", "str", "str", "str"]], + "SetupQueueRenameSectionA" => ["long", ["long", "long", "long", "str"]], + "SetupQueueRenameSectionW" => ["long", ["long", "long", "long", "str"]], + "SetupQueueRenameW" => ["long", ["long", "str", "str", "str", "str"]], + "SetupScanFileQueueA" => ["long", ["long", "long", "long", "ptr", "ptr", "ptr"]], + "SetupScanFileQueueW" => ["long", ["long", "long", "long", "ptr", "ptr", "ptr"]], "SetupSetDirectoryIdA" => ["long", ["long", "long", "str"]], + "SetupSetDirectoryIdW" => ["long", ["long", "long", "str"]], + "SetupSetFileQueueFlags" => ["long", ["long", "long", "long"]], "SetupTermDefaultQueueCallback" => ["void", ["ptr"]] }; diff --git a/programs/winetest/include/setupapi_h.pm b/programs/winetest/include/setupapi_h.pm new file mode 100644 index 00000000000..9285bccd625 --- /dev/null +++ b/programs/winetest/include/setupapi_h.pm @@ -0,0 +1,561 @@ +# Automatically generated by make_symbols; DO NOT EDIT!! +# +# Perl definitions for header file setupapi.h +# + + +package setupapi_h; + +use strict; + +use vars qw($VERSION @ISA @EXPORT @EXPORT_OK); + +require Exporter; + +@ISA = qw(Exporter); +@EXPORT = qw( + DIF_ADDPROPERTYPAGE_ADVANCED + DIF_ADDPROPERTYPAGE_BASIC + DIF_ADDREMOTEPROPERTYPAGE_ADVANCED + DIF_ALLOW_INSTALL + DIF_ASSIGNRESOURCES + DIF_CALCDISKSPACE + DIF_DESTROYPRIVATEDATA + DIF_DESTROYWIZARDDATA + DIF_DETECT + DIF_DETECTCANCEL + DIF_DETECTVERIFY + DIF_ENABLECLASS + DIF_FIRSTTIMESETUP + DIF_FOUNDDEVICE + DIF_INSTALLCLASSDRIVERS + DIF_INSTALLDEVICE + DIF_INSTALLDEVICEFILES + DIF_INSTALLINTERFACES + DIF_INSTALLWIZARD + DIF_MOVEDEVICE + DIF_NEWDEVICEWIZARD_FINISHINSTALL + DIF_NEWDEVICEWIZARD_POSTANALYZE + DIF_NEWDEVICEWIZARD_PREANALYZE + DIF_NEWDEVICEWIZARD_PRESELECT + DIF_NEWDEVICEWIZARD_SELECT + DIF_POWERMESSAGEWAKE + DIF_PROPERTIES + DIF_PROPERTYCHANGE + DIF_REGISTERDEVICE + DIF_REGISTER_COINSTALLERS + DIF_REMOVE + DIF_RESERVED1 + DIF_RESERVED2 + DIF_SELECTBESTCOMPATDRV + DIF_SELECTCLASSDRIVERS + DIF_SELECTDEVICE + DIF_TROUBLESHOOTER + DIF_UNREMOVE + DIF_UNUSED1 + DIF_UPDATEDRIVER_UI + DIF_VALIDATECLASSDRIVERS + DIF_VALIDATEDRIVER + DIRID_ABSOLUTE + DIRID_ABSOLUTE_16BIT + DIRID_APPS + DIRID_BOOT + DIRID_COLOR + DIRID_COMMON_APPDATA + DIRID_COMMON_DESKTOPDIRECTORY + DIRID_COMMON_DOCUMENTS + DIRID_COMMON_FAVORITES + DIRID_COMMON_PROGRAMS + DIRID_COMMON_STARTMENU + DIRID_COMMON_STARTUP + DIRID_COMMON_TEMPLATES + DIRID_DEFAULT + DIRID_DRIVERS + DIRID_FONTS + DIRID_HELP + DIRID_INF + DIRID_IOSUBSYS + DIRID_LOADER + DIRID_NULL + DIRID_PRINTPROCESSOR + DIRID_PROGRAM_FILES + DIRID_PROGRAM_FILES_COMMON + DIRID_PROGRAM_FILES_COMMONX86 + DIRID_PROGRAM_FILES_X86 + DIRID_SHARED + DIRID_SPOOL + DIRID_SPOOLDRIVERS + DIRID_SRCPATH + DIRID_SYSTEM + DIRID_SYSTEM16 + DIRID_SYSTEM_X86 + DIRID_USER + DIRID_USERPROFILE + DIRID_VIEWERS + DIRID_WINDOWS + ERROR_BAD_INTERFACE_INSTALLSECT + ERROR_BAD_SECTION_NAME_LINE + ERROR_BAD_SERVICE_INSTALLSECT + ERROR_CANT_LOAD_CLASS_ICON + ERROR_CANT_REMOVE_DEVINST + ERROR_CLASS_MISMATCH + ERROR_DEVICE_INTERFACE_ACTIVE + ERROR_DEVICE_INTERFACE_REMOVED + ERROR_DEVINFO_DATA_LOCKED + ERROR_DEVINFO_LIST_LOCKED + ERROR_DEVINFO_NOT_REGISTERED + ERROR_DEVINSTALL_QUEUE_NONNATIVE + ERROR_DEVINST_ALREADY_EXISTS + ERROR_DI_BAD_PATH + ERROR_DI_DONT_INSTALL + ERROR_DI_DO_DEFAULT + ERROR_DI_NOFILECOPY + ERROR_DI_POSTPROCESSING_REQUIRED + ERROR_DRIVER_NONNATIVE + ERROR_DUPLICATE_FOUND + ERROR_EXPECTED_SECTION_NAME + ERROR_FILEQUEUE_LOCKED + ERROR_GENERAL_SYNTAX + ERROR_INCORRECTLY_COPIED_INF + ERROR_INTERFACE_DEVICE_ACTIVE + ERROR_INTERFACE_DEVICE_REMOVED + ERROR_INVALID_CLASS + ERROR_INVALID_CLASS_INSTALLER + ERROR_INVALID_COINSTALLER + ERROR_INVALID_DEVINST_NAME + ERROR_INVALID_FILTER_DRIVER + ERROR_INVALID_HWPROFILE + ERROR_INVALID_INF_LOGCONFIG + ERROR_INVALID_MACHINENAME + ERROR_INVALID_PROPPAGE_PROVIDER + ERROR_INVALID_REFERENCE_STRING + ERROR_INVALID_REG_PROPERTY + ERROR_INVALID_TARGET + ERROR_IN_WOW64 + ERROR_KEY_DOES_NOT_EXIST + ERROR_LINE_NOT_FOUND + ERROR_MACHINE_UNAVAILABLE + ERROR_NON_WINDOWS_DRIVER + ERROR_NON_WINDOWS_NT_DRIVER + ERROR_NOT_DISABLEABLE + ERROR_NOT_INSTALLED + ERROR_NO_ASSOCIATED_CLASS + ERROR_NO_ASSOCIATED_SERVICE + ERROR_NO_BACKUP + ERROR_NO_CATALOG_FOR_OEM_INF + ERROR_NO_CLASSINSTALL_PARAMS + ERROR_NO_CLASS_DRIVER_LIST + ERROR_NO_COMPAT_DRIVERS + ERROR_NO_CONFIGMGR_SERVICES + ERROR_NO_DEFAULT_DEVICE_INTERFACE + ERROR_NO_DEFAULT_INTERFACE_DEVICE + ERROR_NO_DEVICE_ICON + ERROR_NO_DEVICE_SELECTED + ERROR_NO_DRIVER_SELECTED + ERROR_NO_INF + ERROR_NO_SUCH_DEVICE_INTERFACE + ERROR_NO_SUCH_DEVINST + ERROR_NO_SUCH_INTERFACE_CLASS + ERROR_NO_SUCH_INTERFACE_DEVICE + ERROR_REMOTE_COMM_FAILURE + ERROR_SCE_DISABLED + ERROR_SECTION_NAME_TOO_LONG + ERROR_SECTION_NOT_FOUND + ERROR_SET_SYSTEM_RESTORE_POINT + ERROR_WRONG_INF_STYLE + FILEOP_ABORT + FILEOP_BACKUP + FILEOP_COPY + FILEOP_DELETE + FILEOP_DOIT + FILEOP_NEWPATH + FILEOP_RENAME + FILEOP_RETRY + FILEOP_SKIP + FLG_ADDREG_32BITKEY + FLG_ADDREG_64BITKEY + FLG_ADDREG_APPEND + FLG_ADDREG_BINVALUETYPE + FLG_ADDREG_DELREG_BIT + FLG_ADDREG_DELVAL + FLG_ADDREG_KEYONLY + FLG_ADDREG_KEYONLY_COMMON + FLG_ADDREG_NOCLOBBER + FLG_ADDREG_OVERWRITEONLY + FLG_ADDREG_TYPE_BINARY + FLG_ADDREG_TYPE_DWORD + FLG_ADDREG_TYPE_EXPAND_SZ + FLG_ADDREG_TYPE_MASK + FLG_ADDREG_TYPE_MULTI_SZ + FLG_ADDREG_TYPE_NONE + FLG_ADDREG_TYPE_SZ + FLG_DELREG_32BITKEY + FLG_DELREG_64BITKEY + FLG_DELREG_KEYONLY_COMMON + FLG_DELREG_MULTI_SZ_DELSTRING + FLG_DELREG_OPERATION_MASK + FLG_DELREG_TYPE_BINARY + FLG_DELREG_TYPE_DWORD + FLG_DELREG_TYPE_EXPAND_SZ + FLG_DELREG_TYPE_MASK + FLG_DELREG_TYPE_MULTI_SZ + FLG_DELREG_TYPE_NONE + FLG_DELREG_TYPE_SZ + FLG_DELREG_VALUE + INF_STYLE_CACHE_DISABLE + INF_STYLE_CACHE_ENABLE + INF_STYLE_NONE + INF_STYLE_OLDNT + INF_STYLE_WIN4 + LINE_LEN + MAX_INF_STRING_LENGTH + MAX_INSTRUCTION_LEN + MAX_LABEL_LEN + MAX_SERVICE_NAME_LEN + MAX_SUBTITLE_LEN + MAX_TITLE_LEN + SPFILENOTIFY_BACKUPERROR + SPFILENOTIFY_CABINETINFO + SPFILENOTIFY_COPYERROR + SPFILENOTIFY_DELETEERROR + SPFILENOTIFY_ENDBACKUP + SPFILENOTIFY_ENDCOPY + SPFILENOTIFY_ENDDELETE + SPFILENOTIFY_ENDQUEUE + SPFILENOTIFY_ENDREGISTRATION + SPFILENOTIFY_ENDRENAME + SPFILENOTIFY_ENDSUBQUEUE + SPFILENOTIFY_FILEEXTRACTED + SPFILENOTIFY_FILEINCABINET + SPFILENOTIFY_FILEOPDELAYED + SPFILENOTIFY_LANGMISMATCH + SPFILENOTIFY_NEEDMEDIA + SPFILENOTIFY_NEEDNEWCABINET + SPFILENOTIFY_QUEUESCAN + SPFILENOTIFY_QUEUESCAN_EX + SPFILENOTIFY_QUEUESCAN_SIGNERINFO + SPFILENOTIFY_RENAMEERROR + SPFILENOTIFY_STARTBACKUP + SPFILENOTIFY_STARTCOPY + SPFILENOTIFY_STARTDELETE + SPFILENOTIFY_STARTQUEUE + SPFILENOTIFY_STARTREGISTRATION + SPFILENOTIFY_STARTRENAME + SPFILENOTIFY_STARTSUBQUEUE + SPFILENOTIFY_TARGETEXISTS + SPFILENOTIFY_TARGETNEWER + SPINST_ALL + SPINST_BITREG + SPINST_COPYINF + SPINST_FILES + SPINST_INI2REG + SPINST_INIFILES + SPINST_LOGCONFIG + SPINST_LOGCONFIGS_ARE_OVERRIDES + SPINST_LOGCONFIG_IS_FORCED + SPINST_PROFILEITEMS + SPINST_REGISTERCALLBACKAWARE + SPINST_REGISTRY + SPINST_REGSVR + SPINST_SINGLESECTION + SPINST_UNREGSVR + SP_ALTPLATFORM_FLAGS_VERSION_RANGE + SP_COPY_DELETESOURCE + SP_COPY_FORCE_IN_USE + SP_COPY_FORCE_NEWER + SP_COPY_FORCE_NOOVERWRITE + SP_COPY_IN_USE_NEEDS_REBOOT + SP_COPY_LANGUAGEAWARE + SP_COPY_NEWER + SP_COPY_NEWER_ONLY + SP_COPY_NEWER_OR_SAME + SP_COPY_NOBROWSE + SP_COPY_NODECOMP + SP_COPY_NOOVERWRITE + SP_COPY_NOPRUNE + SP_COPY_NOSKIP + SP_COPY_OEMINF_CATALOG_ONLY + SP_COPY_OEM_F6_INF + SP_COPY_REPLACEONLY + SP_COPY_REPLACE_BOOT_FILE + SP_COPY_SOURCEPATH_ABSOLUTE + SP_COPY_SOURCE_ABSOLUTE + SP_COPY_SOURCE_SIS_MASTER + SP_COPY_WARNIFSKIP + SP_FLAG_CABINETCONTINUATION + SP_MAX_MACHINENAME_LENGTH +); +@EXPORT_OK = qw(); + +use constant DIF_ADDPROPERTYPAGE_ADVANCED => 35; +use constant DIF_ADDPROPERTYPAGE_BASIC => 36; +use constant DIF_ADDREMOTEPROPERTYPAGE_ADVANCED => 40; +use constant DIF_ALLOW_INSTALL => 24; +use constant DIF_ASSIGNRESOURCES => 3; +use constant DIF_CALCDISKSPACE => 11; +use constant DIF_DESTROYPRIVATEDATA => 12; +use constant DIF_DESTROYWIZARDDATA => 17; +use constant DIF_DETECT => 15; +use constant DIF_DETECTCANCEL => 33; +use constant DIF_DETECTVERIFY => 20; +use constant DIF_ENABLECLASS => 19; +use constant DIF_FIRSTTIMESETUP => 6; +use constant DIF_FOUNDDEVICE => 7; +use constant DIF_INSTALLCLASSDRIVERS => 10; +use constant DIF_INSTALLDEVICE => 2; +use constant DIF_INSTALLDEVICEFILES => 21; +use constant DIF_INSTALLINTERFACES => 32; +use constant DIF_INSTALLWIZARD => 16; +use constant DIF_MOVEDEVICE => 14; +use constant DIF_NEWDEVICEWIZARD_FINISHINSTALL => 30; +use constant DIF_NEWDEVICEWIZARD_POSTANALYZE => 29; +use constant DIF_NEWDEVICEWIZARD_PREANALYZE => 28; +use constant DIF_NEWDEVICEWIZARD_PRESELECT => 26; +use constant DIF_NEWDEVICEWIZARD_SELECT => 27; +use constant DIF_POWERMESSAGEWAKE => 39; +use constant DIF_PROPERTIES => 4; +use constant DIF_PROPERTYCHANGE => 18; +use constant DIF_REGISTERDEVICE => 25; +use constant DIF_REGISTER_COINSTALLERS => 34; +use constant DIF_REMOVE => 5; +use constant DIF_RESERVED1 => 37; +use constant DIF_RESERVED2 => 48; +use constant DIF_SELECTBESTCOMPATDRV => 23; +use constant DIF_SELECTCLASSDRIVERS => 8; +use constant DIF_SELECTDEVICE => 1; +use constant DIF_TROUBLESHOOTER => 38; +use constant DIF_UNREMOVE => 22; +use constant DIF_UNUSED1 => 31; +use constant DIF_UPDATEDRIVER_UI => 41; +use constant DIF_VALIDATECLASSDRIVERS => 9; +use constant DIF_VALIDATEDRIVER => 13; +use constant DIRID_ABSOLUTE => -1; +use constant DIRID_ABSOLUTE_16BIT => 65535; +use constant DIRID_APPS => 24; +use constant DIRID_BOOT => 30; +use constant DIRID_COLOR => 23; +use constant DIRID_COMMON_APPDATA => 16419; +use constant DIRID_COMMON_DESKTOPDIRECTORY => 16409; +use constant DIRID_COMMON_DOCUMENTS => 16430; +use constant DIRID_COMMON_FAVORITES => 16415; +use constant DIRID_COMMON_PROGRAMS => 16407; +use constant DIRID_COMMON_STARTMENU => 16406; +use constant DIRID_COMMON_STARTUP => 16408; +use constant DIRID_COMMON_TEMPLATES => 16429; +use constant DIRID_DEFAULT => 11; +use constant DIRID_DRIVERS => 12; +use constant DIRID_FONTS => 20; +use constant DIRID_HELP => 18; +use constant DIRID_INF => 17; +use constant DIRID_IOSUBSYS => 12; +use constant DIRID_LOADER => 54; +use constant DIRID_NULL => 0; +use constant DIRID_PRINTPROCESSOR => 55; +use constant DIRID_PROGRAM_FILES => 16422; +use constant DIRID_PROGRAM_FILES_COMMON => 16427; +use constant DIRID_PROGRAM_FILES_COMMONX86 => 16428; +use constant DIRID_PROGRAM_FILES_X86 => 16426; +use constant DIRID_SHARED => 25; +use constant DIRID_SPOOL => 51; +use constant DIRID_SPOOLDRIVERS => 52; +use constant DIRID_SRCPATH => 1; +use constant DIRID_SYSTEM => 11; +use constant DIRID_SYSTEM16 => 50; +use constant DIRID_SYSTEM_X86 => 16425; +use constant DIRID_USER => 32768; +use constant DIRID_USERPROFILE => 53; +use constant DIRID_VIEWERS => 21; +use constant DIRID_WINDOWS => 10; +use constant ERROR_BAD_INTERFACE_INSTALLSECT => -536870371; +use constant ERROR_BAD_SECTION_NAME_LINE => -536870911; +use constant ERROR_BAD_SERVICE_INSTALLSECT => -536870377; +use constant ERROR_CANT_LOAD_CLASS_ICON => -536870388; +use constant ERROR_CANT_REMOVE_DEVINST => -536870350; +use constant ERROR_CLASS_MISMATCH => -536870399; +use constant ERROR_DEVICE_INTERFACE_ACTIVE => -536870373; +use constant ERROR_DEVICE_INTERFACE_REMOVED => -536870372; +use constant ERROR_DEVINFO_DATA_LOCKED => -536870381; +use constant ERROR_DEVINFO_LIST_LOCKED => -536870382; +use constant ERROR_DEVINFO_NOT_REGISTERED => -536870392; +use constant ERROR_DEVINSTALL_QUEUE_NONNATIVE => -536870352; +use constant ERROR_DEVINST_ALREADY_EXISTS => -536870393; +use constant ERROR_DI_BAD_PATH => -536870380; +use constant ERROR_DI_DONT_INSTALL => -536870357; +use constant ERROR_DI_DO_DEFAULT => -536870386; +use constant ERROR_DI_NOFILECOPY => -536870385; +use constant ERROR_DI_POSTPROCESSING_REQUIRED => -536870362; +use constant ERROR_DRIVER_NONNATIVE => -536870348; +use constant ERROR_DUPLICATE_FOUND => -536870398; +use constant ERROR_EXPECTED_SECTION_NAME => -536870912; +use constant ERROR_FILEQUEUE_LOCKED => -536870378; +use constant ERROR_GENERAL_SYNTAX => -536870909; +use constant ERROR_INCORRECTLY_COPIED_INF => -536870345; +use constant ERROR_INTERFACE_DEVICE_ACTIVE => -536870373; +use constant ERROR_INTERFACE_DEVICE_REMOVED => -536870372; +use constant ERROR_INVALID_CLASS => -536870394; +use constant ERROR_INVALID_CLASS_INSTALLER => -536870387; +use constant ERROR_INVALID_COINSTALLER => -536870361; +use constant ERROR_INVALID_DEVINST_NAME => -536870395; +use constant ERROR_INVALID_FILTER_DRIVER => -536870356; +use constant ERROR_INVALID_HWPROFILE => -536870384; +use constant ERROR_INVALID_INF_LOGCONFIG => -536870358; +use constant ERROR_INVALID_MACHINENAME => -536870368; +use constant ERROR_INVALID_PROPPAGE_PROVIDER => -536870364; +use constant ERROR_INVALID_REFERENCE_STRING => -536870369; +use constant ERROR_INVALID_REG_PROPERTY => -536870391; +use constant ERROR_INVALID_TARGET => -536870349; +use constant ERROR_IN_WOW64 => -536870347; +use constant ERROR_KEY_DOES_NOT_EXIST => -536870396; +use constant ERROR_LINE_NOT_FOUND => -536870654; +use constant ERROR_MACHINE_UNAVAILABLE => -536870366; +use constant ERROR_NON_WINDOWS_DRIVER => -536870354; +use constant ERROR_NON_WINDOWS_NT_DRIVER => -536870355; +use constant ERROR_NOT_DISABLEABLE => -536870351; +use constant ERROR_NOT_INSTALLED => -536866816; +use constant ERROR_NO_ASSOCIATED_CLASS => -536870400; +use constant ERROR_NO_ASSOCIATED_SERVICE => -536870375; +use constant ERROR_NO_BACKUP => -536870653; +use constant ERROR_NO_CATALOG_FOR_OEM_INF => -536870353; +use constant ERROR_NO_CLASSINSTALL_PARAMS => -536870379; +use constant ERROR_NO_CLASS_DRIVER_LIST => -536870376; +use constant ERROR_NO_COMPAT_DRIVERS => -536870360; +use constant ERROR_NO_CONFIGMGR_SERVICES => -536870365; +use constant ERROR_NO_DEFAULT_DEVICE_INTERFACE => -536870374; +use constant ERROR_NO_DEFAULT_INTERFACE_DEVICE => -536870374; +use constant ERROR_NO_DEVICE_ICON => -536870359; +use constant ERROR_NO_DEVICE_SELECTED => -536870383; +use constant ERROR_NO_DRIVER_SELECTED => -536870397; +use constant ERROR_NO_INF => -536870390; +use constant ERROR_NO_SUCH_DEVICE_INTERFACE => -536870363; +use constant ERROR_NO_SUCH_DEVINST => -536870389; +use constant ERROR_NO_SUCH_INTERFACE_CLASS => -536870370; +use constant ERROR_NO_SUCH_INTERFACE_DEVICE => -536870363; +use constant ERROR_REMOTE_COMM_FAILURE => -536870367; +use constant ERROR_SCE_DISABLED => -536870344; +use constant ERROR_SECTION_NAME_TOO_LONG => -536870910; +use constant ERROR_SECTION_NOT_FOUND => -536870655; +use constant ERROR_SET_SYSTEM_RESTORE_POINT => -536870346; +use constant ERROR_WRONG_INF_STYLE => -536870656; +use constant FILEOP_ABORT => 0; +use constant FILEOP_BACKUP => 3; +use constant FILEOP_COPY => 0; +use constant FILEOP_DELETE => 2; +use constant FILEOP_DOIT => 1; +use constant FILEOP_NEWPATH => 4; +use constant FILEOP_RENAME => 1; +use constant FILEOP_RETRY => 1; +use constant FILEOP_SKIP => 2; +use constant FLG_ADDREG_32BITKEY => 16384; +use constant FLG_ADDREG_64BITKEY => 4096; +use constant FLG_ADDREG_APPEND => 8; +use constant FLG_ADDREG_BINVALUETYPE => 1; +use constant FLG_ADDREG_DELREG_BIT => 32768; +use constant FLG_ADDREG_DELVAL => 4; +use constant FLG_ADDREG_KEYONLY => 16; +use constant FLG_ADDREG_KEYONLY_COMMON => 8192; +use constant FLG_ADDREG_NOCLOBBER => 2; +use constant FLG_ADDREG_OVERWRITEONLY => 32; +use constant FLG_ADDREG_TYPE_BINARY => 1; +use constant FLG_ADDREG_TYPE_DWORD => 65537; +use constant FLG_ADDREG_TYPE_EXPAND_SZ => 131072; +use constant FLG_ADDREG_TYPE_MASK => -65535; +use constant FLG_ADDREG_TYPE_MULTI_SZ => 65536; +use constant FLG_ADDREG_TYPE_NONE => 131073; +use constant FLG_ADDREG_TYPE_SZ => 0; +use constant FLG_DELREG_32BITKEY => 16384; +use constant FLG_DELREG_64BITKEY => 4096; +use constant FLG_DELREG_KEYONLY_COMMON => 8192; +use constant FLG_DELREG_MULTI_SZ_DELSTRING => 98306; +use constant FLG_DELREG_OPERATION_MASK => 254; +use constant FLG_DELREG_TYPE_BINARY => 1; +use constant FLG_DELREG_TYPE_DWORD => 65537; +use constant FLG_DELREG_TYPE_EXPAND_SZ => 131072; +use constant FLG_DELREG_TYPE_MASK => -65535; +use constant FLG_DELREG_TYPE_MULTI_SZ => 65536; +use constant FLG_DELREG_TYPE_NONE => 131073; +use constant FLG_DELREG_TYPE_SZ => 0; +use constant FLG_DELREG_VALUE => 0; +use constant INF_STYLE_CACHE_DISABLE => 32; +use constant INF_STYLE_CACHE_ENABLE => 16; +use constant INF_STYLE_NONE => 0; +use constant INF_STYLE_OLDNT => 1; +use constant INF_STYLE_WIN4 => 2; +use constant LINE_LEN => 256; +use constant MAX_INF_STRING_LENGTH => 4096; +use constant MAX_INSTRUCTION_LEN => 256; +use constant MAX_LABEL_LEN => 30; +use constant MAX_SERVICE_NAME_LEN => 256; +use constant MAX_SUBTITLE_LEN => 256; +use constant MAX_TITLE_LEN => 60; +use constant SPFILENOTIFY_BACKUPERROR => 22; +use constant SPFILENOTIFY_CABINETINFO => 16; +use constant SPFILENOTIFY_COPYERROR => 13; +use constant SPFILENOTIFY_DELETEERROR => 7; +use constant SPFILENOTIFY_ENDBACKUP => 23; +use constant SPFILENOTIFY_ENDCOPY => 12; +use constant SPFILENOTIFY_ENDDELETE => 6; +use constant SPFILENOTIFY_ENDQUEUE => 2; +use constant SPFILENOTIFY_ENDREGISTRATION => 32; +use constant SPFILENOTIFY_ENDRENAME => 9; +use constant SPFILENOTIFY_ENDSUBQUEUE => 4; +use constant SPFILENOTIFY_FILEEXTRACTED => 19; +use constant SPFILENOTIFY_FILEINCABINET => 17; +use constant SPFILENOTIFY_FILEOPDELAYED => 20; +use constant SPFILENOTIFY_LANGMISMATCH => 65536; +use constant SPFILENOTIFY_NEEDMEDIA => 14; +use constant SPFILENOTIFY_NEEDNEWCABINET => 18; +use constant SPFILENOTIFY_QUEUESCAN => 15; +use constant SPFILENOTIFY_QUEUESCAN_EX => 24; +use constant SPFILENOTIFY_QUEUESCAN_SIGNERINFO => 64; +use constant SPFILENOTIFY_RENAMEERROR => 10; +use constant SPFILENOTIFY_STARTBACKUP => 21; +use constant SPFILENOTIFY_STARTCOPY => 11; +use constant SPFILENOTIFY_STARTDELETE => 5; +use constant SPFILENOTIFY_STARTQUEUE => 1; +use constant SPFILENOTIFY_STARTREGISTRATION => 25; +use constant SPFILENOTIFY_STARTRENAME => 8; +use constant SPFILENOTIFY_STARTSUBQUEUE => 3; +use constant SPFILENOTIFY_TARGETEXISTS => 131072; +use constant SPFILENOTIFY_TARGETNEWER => 262144; +use constant SPINST_ALL => 1023; +use constant SPINST_BITREG => 32; +use constant SPINST_COPYINF => 512; +use constant SPINST_FILES => 16; +use constant SPINST_INI2REG => 8; +use constant SPINST_INIFILES => 2; +use constant SPINST_LOGCONFIG => 1; +use constant SPINST_LOGCONFIGS_ARE_OVERRIDES => 262144; +use constant SPINST_LOGCONFIG_IS_FORCED => 131072; +use constant SPINST_PROFILEITEMS => 256; +use constant SPINST_REGISTERCALLBACKAWARE => 524288; +use constant SPINST_REGISTRY => 4; +use constant SPINST_REGSVR => 64; +use constant SPINST_SINGLESECTION => 65536; +use constant SPINST_UNREGSVR => 128; +use constant SP_ALTPLATFORM_FLAGS_VERSION_RANGE => 1; +use constant SP_COPY_DELETESOURCE => 1; +use constant SP_COPY_FORCE_IN_USE => 512; +use constant SP_COPY_FORCE_NEWER => 8192; +use constant SP_COPY_FORCE_NOOVERWRITE => 4096; +use constant SP_COPY_IN_USE_NEEDS_REBOOT => 256; +use constant SP_COPY_LANGUAGEAWARE => 32; +use constant SP_COPY_NEWER => 4; +use constant SP_COPY_NEWER_ONLY => 65536; +use constant SP_COPY_NEWER_OR_SAME => 4; +use constant SP_COPY_NOBROWSE => 32768; +use constant SP_COPY_NODECOMP => 16; +use constant SP_COPY_NOOVERWRITE => 8; +use constant SP_COPY_NOPRUNE => 1048576; +use constant SP_COPY_NOSKIP => 1024; +use constant SP_COPY_OEMINF_CATALOG_ONLY => 262144; +use constant SP_COPY_OEM_F6_INF => 2097152; +use constant SP_COPY_REPLACEONLY => 2; +use constant SP_COPY_REPLACE_BOOT_FILE => 524288; +use constant SP_COPY_SOURCEPATH_ABSOLUTE => 128; +use constant SP_COPY_SOURCE_ABSOLUTE => 64; +use constant SP_COPY_SOURCE_SIS_MASTER => 131072; +use constant SP_COPY_WARNIFSKIP => 16384; +use constant SP_FLAG_CABINETCONTINUATION => 2048; +use constant SP_MAX_MACHINENAME_LENGTH => 263; + +1; diff --git a/programs/winetest/include/shdocvw.pm b/programs/winetest/include/shdocvw.pm index 26f6d040393..c2be51c45c8 100644 --- a/programs/winetest/include/shdocvw.pm +++ b/programs/winetest/include/shdocvw.pm @@ -13,11 +13,11 @@ use vars qw(@ISA @EXPORT @EXPORT_OK); my $module_declarations = { "DllCanUnloadNow" => ["long", []], + "DllGetClassObject" => ["long", ["ptr", "ptr", "ptr"]], "DllGetVersion" => ["long", ["ptr"]], "DllInstall" => ["long", ["long", "wstr"]], - "DllRegisterServer" => ["long", ["undef"]], - "DllUnregisterServer" => ["long", ["undef"]], - "DllGetClassObject" => ["long", ["ptr", "ptr", "ptr"]] + "DllRegisterServer" => ["long", []], + "DllUnregisterServer" => ["long", []] }; &wine::declare("shdocvw",%$module_declarations); diff --git a/programs/winetest/include/shell32.pm b/programs/winetest/include/shell32.pm index b00e398eb1f..341cb6fdbaa 100644 --- a/programs/winetest/include/shell32.pm +++ b/programs/winetest/include/shell32.pm @@ -45,14 +45,14 @@ my $module_declarations = { "PathFileExists" => ["long", ["ptr"]], "PathMatchSpec" => ["long", ["ptr", "ptr"]], "PathMakeUniqueName" => ["long", ["ptr", "long", "ptr", "ptr", "ptr"]], - "PathSetDlgItemPath" => ["long", ["long", "long", "ptr"]], + "PathSetDlgItemPath" => ["void", ["long", "long", "ptr"]], "PathQualify" => ["long", ["ptr"]], "PathStripToRoot" => ["long", ["ptr"]], "PathResolve" => ["long", ["ptr", "ptr", "long"]], "PathGetArgs" => ["ptr", ["ptr"]], "DoEnvironmentSubst" => ["long", ["ptr", "ptr"]], "DragAcceptFiles" => ["void", ["long", "long"]], - "PathQuoteSpaces" => ["ptr", ["ptr"]], + "PathQuoteSpaces" => ["void", ["ptr"]], "PathUnquoteSpaces" => ["void", ["ptr"]], "PathGetDriveNumber" => ["long", ["ptr"]], "ParseField" => ["long", ["ptr", "long", "ptr", "long"]], @@ -204,6 +204,7 @@ my $module_declarations = { "DoEnvironmentSubstW" => ["long", ["wstr", "wstr"]], "DuplicateIcon" => ["long", ["long", "long"]], "ExtractAssociatedIconA" => ["long", ["long", "str", "ptr"]], + "ExtractAssociatedIconExW" => ["long", ["long", "long", "long", "long"]], "ExtractIconA" => ["long", ["long", "str", "long"]], "ExtractIconEx" => ["long", ["ptr", "long", "ptr", "ptr", "long"]], "ExtractIconExA" => ["long", ["str", "long", "ptr", "ptr", "long"]], diff --git a/programs/winetest/include/shlwapi.pm b/programs/winetest/include/shlwapi.pm index 277fd350af7..50ee899f31d 100644 --- a/programs/winetest/include/shlwapi.pm +++ b/programs/winetest/include/shlwapi.pm @@ -49,6 +49,8 @@ my $module_declarations = { "PathFindNextComponentW" => ["wstr", ["wstr"]], "PathFindOnPathA" => ["long", ["str", "ptr"]], "PathFindOnPathW" => ["long", ["wstr", "ptr"]], + "PathFindSuffixArrayA" => ["long", ["str", "ptr", "long"]], + "PathFindSuffixArrayW" => ["long", ["wstr", "ptr", "long"]], "PathGetArgsA" => ["str", ["str"]], "PathGetArgsW" => ["wstr", ["wstr"]], "PathGetCharTypeA" => ["long", ["long"]], @@ -58,9 +60,15 @@ my $module_declarations = { "PathIsContentTypeA" => ["long", ["str", "str"]], "PathIsContentTypeW" => ["long", ["wstr", "wstr"]], "PathIsDirectoryA" => ["long", ["str"]], + "PathIsDirectoryEmptyA" => ["long", ["str"]], + "PathIsDirectoryEmptyW" => ["long", ["wstr"]], "PathIsDirectoryW" => ["long", ["wstr"]], "PathIsFileSpecA" => ["long", ["str"]], "PathIsFileSpecW" => ["long", ["wstr"]], + "PathIsLFNFileSpecA" => ["long", ["str"]], + "PathIsLFNFileSpecW" => ["long", ["wstr"]], + "PathIsNetworkPathA" => ["long", ["str"]], + "PathIsNetworkPathW" => ["long", ["wstr"]], "PathIsPrefixA" => ["long", ["str", "str"]], "PathIsPrefixW" => ["long", ["wstr", "wstr"]], "PathIsRelativeA" => ["long", ["str"]], @@ -87,8 +95,8 @@ my $module_declarations = { "PathMatchSpecW" => ["long", ["wstr", "wstr"]], "PathParseIconLocationA" => ["long", ["str"]], "PathParseIconLocationW" => ["long", ["wstr"]], - "PathQuoteSpacesA" => ["str", ["str"]], - "PathQuoteSpacesW" => ["wstr", ["wstr"]], + "PathQuoteSpacesA" => ["void", ["str"]], + "PathQuoteSpacesW" => ["void", ["wstr"]], "PathRelativePathToA" => ["long", ["str", "str", "long", "str", "long"]], "PathRelativePathToW" => ["long", ["wstr", "wstr", "long", "wstr", "long"]], "PathRemoveArgsA" => ["void", ["str"]], @@ -105,14 +113,16 @@ my $module_declarations = { "PathRenameExtensionW" => ["long", ["wstr", "wstr"]], "PathSearchAndQualifyA" => ["long", ["str", "str", "long"]], "PathSearchAndQualifyW" => ["long", ["wstr", "wstr", "long"]], - "PathSetDlgItemPathA" => ["long", ["long", "long", "str"]], - "PathSetDlgItemPathW" => ["long", ["long", "long", "wstr"]], + "PathSetDlgItemPathA" => ["void", ["long", "long", "str"]], + "PathSetDlgItemPathW" => ["void", ["long", "long", "wstr"]], "PathSkipRootA" => ["str", ["str"]], "PathSkipRootW" => ["wstr", ["wstr"]], "PathStripPathA" => ["void", ["str"]], "PathStripPathW" => ["void", ["wstr"]], "PathStripToRootA" => ["long", ["str"]], "PathStripToRootW" => ["long", ["wstr"]], + "PathUndecorateA" => ["void", ["str"]], + "PathUndecorateW" => ["void", ["wstr"]], "PathUnmakeSystemFolderA" => ["long", ["str"]], "PathUnmakeSystemFolderW" => ["long", ["wstr"]], "PathUnquoteSpacesA" => ["void", ["str"]], @@ -131,6 +141,7 @@ my $module_declarations = { "SHEnumValueA" => ["long", ["long", "long", "str", "ptr", "ptr", "ptr", "ptr"]], "SHEnumValueW" => ["long", ["long", "long", "wstr", "ptr", "ptr", "ptr", "ptr"]], "SHGetInverseCMAP" => ["long", ["ptr", "long"]], + "SHGetThreadRef" => ["long", ["ptr"]], "SHGetValueA" => ["long", ["long", "str", "str", "ptr", "ptr", "ptr"]], "SHGetValueW" => ["long", ["long", "wstr", "wstr", "ptr", "ptr", "ptr"]], "SHIsLowMemoryMachine" => ["long", ["long"]], @@ -162,6 +173,7 @@ my $module_declarations = { "SHRegSetPathW" => ["long", ["long", "wstr", "wstr", "wstr", "long"]], "SHRegWriteUSValueA" => ["long", ["long", "str", "long", "ptr", "long", "long"]], "SHRegWriteUSValueW" => ["long", ["long", "wstr", "long", "ptr", "long", "long"]], + "SHSetThreadRef" => ["long", ["ptr"]], "SHSetValueA" => ["long", ["long", "str", "str", "long", "ptr", "long"]], "SHSetValueW" => ["long", ["long", "wstr", "wstr", "long", "ptr", "long"]], "StrCSpnA" => ["long", ["str", "str"]], diff --git a/programs/winetest/include/urlmon.pm b/programs/winetest/include/urlmon.pm index ab3fab6c774..17c39a63a45 100644 --- a/programs/winetest/include/urlmon.pm +++ b/programs/winetest/include/urlmon.pm @@ -12,6 +12,7 @@ use vars qw(@ISA @EXPORT @EXPORT_OK); @EXPORT_OK = qw(); my $module_declarations = { + "CoInternetGetSession" => ["long", ["long", "ptr", "long"]], "CreateAsyncBindCtxEx" => ["long", ["ptr", "long", "ptr", "ptr", "ptr", "long"]], "CreateURLMoniker" => ["long", ["ptr", "wstr", "ptr"]], "DllCanUnloadNow" => ["long", []], @@ -20,6 +21,8 @@ my $module_declarations = { "DllRegisterServer" => ["long", []], "DllRegisterServerEx" => ["long", []], "DllUnregisterServer" => ["long", []], + "Extract" => ["long", ["long", "long"]], + "ObtainUserAgentString" => ["long", ["long", "str", "ptr"]], "RegisterBindStatusCallback" => ["long", ["ptr", "ptr", "ptr", "long"]], "RevokeBindStatusCallback" => ["long", ["ptr", "ptr"]], "UrlMkSetSessionOption" => ["long", ["long", "ptr", "long", "long"]] diff --git a/programs/winetest/include/winearts_drv.pm b/programs/winetest/include/winearts_drv.pm new file mode 100644 index 00000000000..818849df2ca --- /dev/null +++ b/programs/winetest/include/winearts_drv.pm @@ -0,0 +1,21 @@ +package winearts_drv; + +use strict; + +require Exporter; + +use wine; +use vars qw(@ISA @EXPORT @EXPORT_OK); + +@ISA = qw(Exporter); +@EXPORT = qw(); +@EXPORT_OK = qw(); + +my $module_declarations = { + "DriverProc" => ["long", ["long", "long", "long", "long", "long"]], + "wodMessage" => ["long", ["long", "long", "long", "long", "long"]] +}; + +&wine::declare("winearts.drv",%$module_declarations); +push @EXPORT, map { "&" . $_; } sort(keys(%$module_declarations)); +1; diff --git a/programs/winetest/include/wingdi.pm b/programs/winetest/include/wingdi.pm index cd32abd935a..3e1a288b518 100644 --- a/programs/winetest/include/wingdi.pm +++ b/programs/winetest/include/wingdi.pm @@ -632,6 +632,7 @@ require Exporter; GETTRACKKERNTABLE GETVECTORBRUSHSIZE GETVECTORPENSIZE + GGI_MARK_NONEXISTING_GLYPHS GGO_BITMAP GGO_GLYPH_INDEX GGO_GRAY2_BITMAP @@ -642,6 +643,10 @@ require Exporter; GM_ADVANCED GM_COMPATIBLE GM_LAST + GRADIENT_FILL_OP_FLAG + GRADIENT_FILL_RECT_H + GRADIENT_FILL_RECT_V + GRADIENT_FILL_TRIANGLE GRAY_BRUSH GREEK_CHARSET HALFTONE @@ -845,7 +850,6 @@ require Exporter; OUT_TT_ONLY_PRECIS OUT_TT_PRECIS PANOSE_COUNT - PANOSE_FAMILYTYPE_INDEX PAN_ANY PAN_ARMSTYLE_INDEX PAN_BENT_ARMS_DOUBLE_SERIF @@ -863,6 +867,7 @@ require Exporter; PAN_CONTRAST_VERY_HIGH PAN_CONTRAST_VERY_LOW PAN_CULTURE_LATIN + PAN_FAMILYTYPE_INDEX PAN_FAMILY_DECORATIVE PAN_FAMILY_PICTORIAL PAN_FAMILY_SCRIPT @@ -1830,6 +1835,7 @@ use constant GETTECHNOLOGY => 20; use constant GETTRACKKERNTABLE => 259; use constant GETVECTORBRUSHSIZE => 27; use constant GETVECTORPENSIZE => 26; +use constant GGI_MARK_NONEXISTING_GLYPHS => 1; use constant GGO_BITMAP => 1; use constant GGO_GLYPH_INDEX => 128; use constant GGO_GRAY2_BITMAP => 4; @@ -1840,6 +1846,10 @@ use constant GGO_NATIVE => 2; use constant GM_ADVANCED => 2; use constant GM_COMPATIBLE => 1; use constant GM_LAST => 2; +use constant GRADIENT_FILL_OP_FLAG => 255; +use constant GRADIENT_FILL_RECT_H => 0; +use constant GRADIENT_FILL_RECT_V => 1; +use constant GRADIENT_FILL_TRIANGLE => 2; use constant GRAY_BRUSH => 2; use constant GREEK_CHARSET => 161; use constant HALFTONE => 4; @@ -2043,7 +2053,6 @@ use constant OUT_STROKE_PRECIS => 3; use constant OUT_TT_ONLY_PRECIS => 7; use constant OUT_TT_PRECIS => 4; use constant PANOSE_COUNT => 10; -use constant PANOSE_FAMILYTYPE_INDEX => 0; use constant PAN_ANY => 0; use constant PAN_ARMSTYLE_INDEX => 6; use constant PAN_BENT_ARMS_DOUBLE_SERIF => 11; @@ -2061,6 +2070,7 @@ use constant PAN_CONTRAST_NONE => 2; use constant PAN_CONTRAST_VERY_HIGH => 9; use constant PAN_CONTRAST_VERY_LOW => 3; use constant PAN_CULTURE_LATIN => 0; +use constant PAN_FAMILYTYPE_INDEX => 0; use constant PAN_FAMILY_DECORATIVE => 4; use constant PAN_FAMILY_PICTORIAL => 5; use constant PAN_FAMILY_SCRIPT => 3; diff --git a/programs/winetest/include/wininet.pm b/programs/winetest/include/wininet.pm index a0714f497cf..c1c07a1768f 100644 --- a/programs/winetest/include/wininet.pm +++ b/programs/winetest/include/wininet.pm @@ -44,6 +44,8 @@ my $module_declarations = { "InternetQueryOptionA" => ["long", ["long", "long", "ptr", "ptr"]], "InternetReadFile" => ["long", ["long", "ptr", "long", "ptr"]], "InternetSetCookieA" => ["long", ["str", "str", "str"]], + "InternetSetOptionA" => ["long", ["long", "long", "ptr", "long"]], + "InternetSetOptionW" => ["long", ["long", "long", "ptr", "long"]], "InternetSetStatusCallback" => ["ptr", ["long", "ptr"]], "InternetWriteFile" => ["long", ["long", "ptr", "long", "ptr"]] }; diff --git a/programs/winetest/include/winnt.pm b/programs/winetest/include/winnt.pm index 39be81ec71c..ff04caa025c 100644 --- a/programs/winetest/include/winnt.pm +++ b/programs/winetest/include/winnt.pm @@ -23,6 +23,7 @@ require Exporter; ACL_REVISION3 ACL_REVISION4 ANYSIZE_ARRAY + APPLICATION_ERROR_MASK CONTAINER_INHERIT_ACE CONTEXT86_CONTROL CONTEXT86_DEBUG_REGISTERS @@ -63,6 +64,10 @@ require Exporter; EPT_NT_CANT_PERFORM_OP EPT_NT_INVALID_ENTRY EPT_NT_NOT_REGISTERED + ERROR_SEVERITY_ERROR + ERROR_SEVERITY_INFORMATIONAL + ERROR_SEVERITY_SUCCESS + ERROR_SEVERITY_WARNING ES_CONTINUOUS ES_DISPLAY_REQUIRED ES_SYSTEM_REQUIRED @@ -76,15 +81,8 @@ require Exporter; EVENT_ALL_ACCESS EVENT_MODIFY_STATE EXCEPTION_CONTINUABLE - EXCEPTION_CONTINUE_EXECUTION - EXCEPTION_CONTINUE_SEARCH - EXCEPTION_EXECUTE_HANDLER EXCEPTION_MAXIMUM_PARAMETERS EXCEPTION_NONCONTINUABLE - ExceptionCollidedUnwind - ExceptionContinueExecution - ExceptionContinueSearch - ExceptionNestedException FAILED_ACCESS_ACE_FLAG FALSE FILE_128_BYTE_ALIGNMENT @@ -215,6 +213,7 @@ require Exporter; IMAGE_DOS_SIGNATURE IMAGE_FILE_16BIT_MACHINE IMAGE_FILE_32BIT_MACHINE + IMAGE_FILE_AGGRESIVE_WS_TRIM IMAGE_FILE_BASE_RELOCATION_TABLE IMAGE_FILE_BYTES_REVERSED_HI IMAGE_FILE_BYTES_REVERSED_LO @@ -227,6 +226,7 @@ require Exporter; IMAGE_FILE_EXECUTABLE_IMAGE IMAGE_FILE_EXPORT_DIRECTORY IMAGE_FILE_IMPORT_DIRECTORY + IMAGE_FILE_LARGE_ADDRESS_AWARE IMAGE_FILE_LINE_NUMS_STRIPPED IMAGE_FILE_LOCAL_SYMS_STRIPPED IMAGE_FILE_MACHINE_ALPHA @@ -239,10 +239,12 @@ require Exporter; IMAGE_FILE_MACHINE_UNKNOWN IMAGE_FILE_MACHINE_VALUE IMAGE_FILE_RELOCS_STRIPPED + IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP IMAGE_FILE_RESOURCE_DIRECTORY IMAGE_FILE_SECURITY_DIRECTORY IMAGE_FILE_SYSTEM IMAGE_FILE_THREAD_LOCAL_STORAGE + IMAGE_FILE_UP_SYSTEM_ONLY IMAGE_NT_OPTIONAL_HDR_MAGIC IMAGE_NT_SIGNATURE IMAGE_NUMBEROF_DIRECTORY_ENTRIES @@ -606,6 +608,7 @@ require Exporter; MAXCHAR MAXDWORD MAXIMUM_ALLOWED + MAXIMUM_PROCESSORS MAXIMUM_SUPPORTED_EXTENSION MAXIMUM_SUSPEND_COUNT MAXIMUM_WAIT_OBJECTS @@ -1664,6 +1667,7 @@ use constant ACL_REVISION2 => 2; use constant ACL_REVISION3 => 3; use constant ACL_REVISION4 => 4; use constant ANYSIZE_ARRAY => 1; +use constant APPLICATION_ERROR_MASK => 536870912; use constant CONTAINER_INHERIT_ACE => 2; use constant CONTEXT86_CONTROL => 65537; use constant CONTEXT86_DEBUG_REGISTERS => 65552; @@ -1704,6 +1708,10 @@ use constant EPT_NT_CANT_CREATE => -1073610676; use constant EPT_NT_CANT_PERFORM_OP => -1073610699; use constant EPT_NT_INVALID_ENTRY => -1073610700; use constant EPT_NT_NOT_REGISTERED => -1073610698; +use constant ERROR_SEVERITY_ERROR => -1073741824; +use constant ERROR_SEVERITY_INFORMATIONAL => 1073741824; +use constant ERROR_SEVERITY_SUCCESS => 0; +use constant ERROR_SEVERITY_WARNING => -2147483648; use constant ES_CONTINUOUS => -2147483648; use constant ES_DISPLAY_REQUIRED => 2; use constant ES_SYSTEM_REQUIRED => 1; @@ -1717,15 +1725,8 @@ use constant EVENTLOG_WARNING_TYPE => 2; use constant EVENT_ALL_ACCESS => 2031619; use constant EVENT_MODIFY_STATE => 2; use constant EXCEPTION_CONTINUABLE => 0; -use constant EXCEPTION_CONTINUE_EXECUTION => -1; -use constant EXCEPTION_CONTINUE_SEARCH => 0; -use constant EXCEPTION_EXECUTE_HANDLER => 1; use constant EXCEPTION_MAXIMUM_PARAMETERS => 15; use constant EXCEPTION_NONCONTINUABLE => 1; -use constant ExceptionCollidedUnwind => 3; -use constant ExceptionContinueExecution => 0; -use constant ExceptionContinueSearch => 1; -use constant ExceptionNestedException => 2; use constant FAILED_ACCESS_ACE_FLAG => 128; use constant FALSE => 0; use constant FILE_128_BYTE_ALIGNMENT => 127; @@ -1813,11 +1814,11 @@ use constant HEAP_REALLOC_IN_PLACE_ONLY => 16; use constant HEAP_SHARED => 67108864; use constant HEAP_TAIL_CHECKING_ENABLED => 32; use constant HEAP_ZERO_MEMORY => 8; -use constant IMAGE_ARCHIVE_END => 134640134; -use constant IMAGE_ARCHIVE_LINKER_MEMBER => 134640199; -use constant IMAGE_ARCHIVE_LONGNAMES_MEMBER => 134640273; -use constant IMAGE_ARCHIVE_PAD => 134574128; -use constant IMAGE_ARCHIVE_START => 134640423; +use constant IMAGE_ARCHIVE_END => 134640838; +use constant IMAGE_ARCHIVE_LINKER_MEMBER => 134640903; +use constant IMAGE_ARCHIVE_LONGNAMES_MEMBER => 134640977; +use constant IMAGE_ARCHIVE_PAD => 134574800; +use constant IMAGE_ARCHIVE_START => 134641127; use constant IMAGE_ARCHIVE_START_SIZE => 8; use constant IMAGE_COMDAT_SELECT_ANY => 2; use constant IMAGE_COMDAT_SELECT_ASSOCIATIVE => 5; @@ -1856,6 +1857,7 @@ use constant IMAGE_DIRECTORY_ENTRY_TLS => 9; use constant IMAGE_DOS_SIGNATURE => 23117; use constant IMAGE_FILE_16BIT_MACHINE => 64; use constant IMAGE_FILE_32BIT_MACHINE => 256; +use constant IMAGE_FILE_AGGRESIVE_WS_TRIM => 16; use constant IMAGE_FILE_BASE_RELOCATION_TABLE => 5; use constant IMAGE_FILE_BYTES_REVERSED_HI => 32768; use constant IMAGE_FILE_BYTES_REVERSED_LO => 128; @@ -1868,6 +1870,7 @@ use constant IMAGE_FILE_EXCEPTION_DIRECTORY => 3; use constant IMAGE_FILE_EXECUTABLE_IMAGE => 2; use constant IMAGE_FILE_EXPORT_DIRECTORY => 0; use constant IMAGE_FILE_IMPORT_DIRECTORY => 1; +use constant IMAGE_FILE_LARGE_ADDRESS_AWARE => 32; use constant IMAGE_FILE_LINE_NUMS_STRIPPED => 4; use constant IMAGE_FILE_LOCAL_SYMS_STRIPPED => 8; use constant IMAGE_FILE_MACHINE_ALPHA => 388; @@ -1880,10 +1883,12 @@ use constant IMAGE_FILE_MACHINE_R4000 => 358; use constant IMAGE_FILE_MACHINE_UNKNOWN => 0; use constant IMAGE_FILE_MACHINE_VALUE => 8; use constant IMAGE_FILE_RELOCS_STRIPPED => 1; +use constant IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP => 1024; use constant IMAGE_FILE_RESOURCE_DIRECTORY => 2; use constant IMAGE_FILE_SECURITY_DIRECTORY => 4; use constant IMAGE_FILE_SYSTEM => 4096; use constant IMAGE_FILE_THREAD_LOCAL_STORAGE => 9; +use constant IMAGE_FILE_UP_SYSTEM_ONLY => 16384; use constant IMAGE_NT_OPTIONAL_HDR_MAGIC => 267; use constant IMAGE_NT_SIGNATURE => 17744; use constant IMAGE_NUMBEROF_DIRECTORY_ENTRIES => 16; @@ -2247,6 +2252,7 @@ use constant MAXBYTE => 255; use constant MAXCHAR => 127; use constant MAXDWORD => -1; use constant MAXIMUM_ALLOWED => 33554432; +use constant MAXIMUM_PROCESSORS => 32; use constant MAXIMUM_SUPPORTED_EXTENSION => 512; use constant MAXIMUM_SUSPEND_COUNT => 127; use constant MAXIMUM_WAIT_OBJECTS => 64; diff --git a/programs/winetest/include/winspool_drv.pm b/programs/winetest/include/winspool_drv.pm index 07ad70e80f0..64013795eb4 100644 --- a/programs/winetest/include/winspool_drv.pm +++ b/programs/winetest/include/winspool_drv.pm @@ -42,6 +42,8 @@ my $module_declarations = { "EnumPrinterDriversW" => ["long", ["wstr", "wstr", "long", "ptr", "long", "ptr", "ptr"]], "EnumPrintersA" => ["long", ["long", "str", "long", "ptr", "long", "ptr", "ptr"]], "EnumPrintersW" => ["long", ["long", "wstr", "long", "ptr", "long", "ptr", "ptr"]], + "GetDefaultPrinterA" => ["long", ["str", "ptr"]], + "GetDefaultPrinterW" => ["long", ["wstr", "ptr"]], "GetFormA" => ["long", ["long", "str", "long", "ptr", "long", "ptr"]], "GetFormW" => ["long", ["long", "wstr", "long", "ptr", "long", "ptr"]], "GetPrinterA" => ["long", ["long", "long", "ptr", "long", "ptr"]], diff --git a/programs/winetest/include/winuser.pm b/programs/winetest/include/winuser.pm index 1c7fa0cd3f7..a00636e5942 100644 --- a/programs/winetest/include/winuser.pm +++ b/programs/winetest/include/winuser.pm @@ -317,6 +317,7 @@ require Exporter; DFCS_CAPTIONRESTORE DFCS_CHECKED DFCS_FLAT + DFCS_HOT DFCS_INACTIVE DFCS_MENUARROW DFCS_MENUARROWRIGHT @@ -331,6 +332,7 @@ require Exporter; DFCS_SCROLLSIZEGRIP DFCS_SCROLLSIZEGRIPRIGHT DFCS_SCROLLUP + DFCS_TRANSPARENT DFC_BUTTON DFC_CAPTION DFC_MENU @@ -1495,6 +1497,7 @@ require Exporter; SWP_NOZORDER SWP_SHOWWINDOW SW_ERASE + SW_FORCEMINIMIZE SW_HIDE SW_INVALIDATE SW_MAX @@ -2316,6 +2319,7 @@ use constant DFCS_CAPTIONMIN => 1; use constant DFCS_CAPTIONRESTORE => 3; use constant DFCS_CHECKED => 1024; use constant DFCS_FLAT => 16384; +use constant DFCS_HOT => 4096; use constant DFCS_INACTIVE => 256; use constant DFCS_MENUARROW => 0; use constant DFCS_MENUARROWRIGHT => 4; @@ -2330,6 +2334,7 @@ use constant DFCS_SCROLLRIGHT => 3; use constant DFCS_SCROLLSIZEGRIP => 8; use constant DFCS_SCROLLSIZEGRIPRIGHT => 16; use constant DFCS_SCROLLUP => 0; +use constant DFCS_TRANSPARENT => 2048; use constant DFC_BUTTON => 4; use constant DFC_CAPTION => 1; use constant DFC_MENU => 2; @@ -3494,9 +3499,10 @@ use constant SWP_NOSIZE => 1; use constant SWP_NOZORDER => 4; use constant SWP_SHOWWINDOW => 64; use constant SW_ERASE => 4; +use constant SW_FORCEMINIMIZE => 11; use constant SW_HIDE => 0; use constant SW_INVALIDATE => 2; -use constant SW_MAX => 10; +use constant SW_MAX => 11; use constant SW_MAXIMIZE => 3; use constant SW_MINIMIZE => 6; use constant SW_NORMAL => 1; diff --git a/programs/winetest/include/ws2_32.pm b/programs/winetest/include/ws2_32.pm index 60f10b2df66..65b0ceb816f 100644 --- a/programs/winetest/include/ws2_32.pm +++ b/programs/winetest/include/ws2_32.pm @@ -38,9 +38,13 @@ my $module_declarations = { "WSApSetPostRoutine" => ["long", ["ptr"]], "WSAAccept" => ["long", ["long", "ptr", "ptr", "ptr", "long"]], "WSACloseEvent" => ["long", ["long"]], + "WSAConnect" => ["long", ["long", "ptr", "long", "ptr", "ptr", "undef", "undef"]], "WSACreateEvent" => ["long", []], "WSAEnumNetworkEvents" => ["long", ["long", "long", "ptr"]], + "WSAEnumProtocolsA" => ["long", ["ptr", "ptr", "ptr"]], + "WSAEnumProtocolsW" => ["long", ["ptr", "ptr", "ptr"]], "WSAEventSelect" => ["long", ["long", "long", "long"]], + "WSAGetOverlappedResult" => ["long", ["long", "ptr", "ptr", "long", "ptr"]], "gethostbyaddr" => ["ptr", ["ptr", "long", "long"]], "gethostbyname" => ["ptr", ["ptr"]], "getprotobyname" => ["ptr", ["ptr"]], @@ -48,8 +52,10 @@ my $module_declarations = { "getservbyname" => ["ptr", ["ptr", "ptr"]], "getservbyport" => ["ptr", ["long", "ptr"]], "gethostname" => ["long", ["ptr", "long"]], + "WSARecv" => ["long", ["long", "ptr", "long", "ptr", "ptr", "ptr", "ptr"]], "WSARecvFrom" => ["long", ["long", "ptr", "long", "ptr", "ptr", "ptr", "ptr", "ptr", "ptr"]], "WSASend" => ["long", ["long", "ptr", "long", "ptr", "long", "ptr", "ptr"]], + "WSASendTo" => ["long", ["long", "ptr", "long", "ptr", "long", "ptr", "long", "ptr", "ptr"]], "WSASocketA" => ["long", ["long", "long", "long", "ptr", "long", "long"]], "WSCDeinstallProvider" => ["long", ["ptr", "ptr"]], "WSCInstallProvider" => ["long", ["ptr", "wstr", "ptr", "long", "ptr"]],