mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
33 lines
1.1 KiB
Perl
33 lines
1.1 KiB
Perl
package urlmon;
|
|
|
|
use strict;
|
|
|
|
require Exporter;
|
|
|
|
use wine;
|
|
use vars qw(@ISA @EXPORT @EXPORT_OK);
|
|
|
|
@ISA = qw(Exporter);
|
|
@EXPORT = qw();
|
|
@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", []],
|
|
"DllGetClassObject" => ["long", ["ptr", "ptr", "ptr"]],
|
|
"DllInstall" => ["long", ["long", "wstr"]],
|
|
"DllRegisterServer" => ["long", []],
|
|
"DllRegisterServerEx" => ["long", []],
|
|
"DllUnregisterServer" => ["long", []],
|
|
"Extract" => ["long", ["long", "str"]],
|
|
"ObtainUserAgentString" => ["long", ["long", "str", "ptr"]],
|
|
"RegisterBindStatusCallback" => ["long", ["ptr", "ptr", "ptr", "long"]],
|
|
"RevokeBindStatusCallback" => ["long", ["ptr", "ptr"]],
|
|
"UrlMkSetSessionOption" => ["long", ["long", "ptr", "long", "long"]]
|
|
};
|
|
|
|
&wine::declare("urlmon",%$module_declarations);
|
|
push @EXPORT, map { "&" . $_; } sort(keys(%$module_declarations));
|
|
1;
|