2002-01-21 18:36:35 +01:00
|
|
|
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 = {
|
2002-04-27 02:19:41 +02:00
|
|
|
"CoInternetGetSession" => ["long", ["long", "ptr", "long"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"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", []],
|
2002-04-27 02:19:41 +02:00
|
|
|
"Extract" => ["long", ["long", "long"]],
|
|
|
|
"ObtainUserAgentString" => ["long", ["long", "str", "ptr"]],
|
2002-01-21 18:36:35 +01:00
|
|
|
"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;
|