2002-01-21 18:36:35 +01:00
|
|
|
package setupapi;
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
|
|
|
|
require Exporter;
|
|
|
|
|
|
|
|
use wine;
|
|
|
|
use vars qw(@ISA @EXPORT @EXPORT_OK);
|
|
|
|
|
|
|
|
@ISA = qw(Exporter);
|
|
|
|
@EXPORT = qw();
|
|
|
|
@EXPORT_OK = qw();
|
|
|
|
|
|
|
|
my $module_declarations = {
|
2002-04-27 02:19:41 +02:00
|
|
|
"SetupCloseFileQueue" => ["long", ["long"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupCloseInfFile" => ["void", ["long"]],
|
|
|
|
"SetupCommitFileQueueA" => ["long", ["long", "long", "ptr", "ptr"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"SetupCommitFileQueueW" => ["long", ["long", "long", "ptr", "ptr"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupDefaultQueueCallbackA" => ["long", ["ptr", "long", "long", "long"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"SetupDefaultQueueCallbackW" => ["long", ["ptr", "long", "long", "long"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupFindFirstLineA" => ["long", ["long", "str", "str", "ptr"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"SetupFindFirstLineW" => ["long", ["long", "str", "str", "ptr"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupFindNextLine" => ["long", ["ptr", "ptr"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"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"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupGetLineByIndexA" => ["long", ["long", "str", "long", "ptr"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"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"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupInitDefaultQueueCallback" => ["ptr", ["long"]],
|
|
|
|
"SetupInitDefaultQueueCallbackEx" => ["ptr", ["long", "long", "long", "long", "ptr"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"SetupInstallFilesFromInfSectionA" => ["long", ["long", "long", "long", "str", "str", "long"]],
|
|
|
|
"SetupInstallFilesFromInfSectionW" => ["long", ["long", "long", "long", "str", "str", "long"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupInstallFromInfSectionA" => ["long", ["long", "long", "str", "long", "long", "str", "long", "ptr", "ptr", "long", "ptr"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"SetupInstallFromInfSectionW" => ["long", ["long", "long", "str", "long", "long", "str", "long", "ptr", "ptr", "long", "ptr"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupIterateCabinetA" => ["long", ["str", "long", "ptr", "ptr"]],
|
|
|
|
"SetupIterateCabinetW" => ["long", ["str", "long", "ptr", "ptr"]],
|
|
|
|
"SetupOpenAppendInfFileA" => ["long", ["str", "long", "ptr"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"SetupOpenAppendInfFileW" => ["long", ["str", "long", "ptr"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupOpenFileQueue" => ["long", []],
|
|
|
|
"SetupOpenInfFileA" => ["long", ["str", "str", "long", "ptr"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"SetupOpenInfFileW" => ["long", ["str", "str", "long", "ptr"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupQueueCopyA" => ["long", ["long", "str", "str", "str", "str", "str", "str", "str", "long"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"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"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupSetDirectoryIdA" => ["long", ["long", "long", "str"]],
|
2002-04-27 02:19:41 +02:00
|
|
|
"SetupSetDirectoryIdW" => ["long", ["long", "long", "str"]],
|
|
|
|
"SetupSetFileQueueFlags" => ["long", ["long", "long", "long"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"SetupTermDefaultQueueCallback" => ["void", ["ptr"]]
|
|
|
|
};
|
|
|
|
|
|
|
|
&wine::declare("setupapi",%$module_declarations);
|
|
|
|
push @EXPORT, map { "&" . $_; } sort(keys(%$module_declarations));
|
|
|
|
1;
|