26 lines
599 B
Perl
26 lines
599 B
Perl
package shdocvw;
|
|
|
|
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"]],
|
|
"DllGetVersion" => ["long", ["ptr"]],
|
|
"DllInstall" => ["long", ["long", "wstr"]],
|
|
"DllRegisterServer" => ["long", ["undef"]],
|
|
"DllUnregisterServer" => ["long", ["undef"]]
|
|
};
|
|
|
|
&wine::declare("shdocvw",%$module_declarations);
|
|
push @EXPORT, map { "&" . $_; } sort(keys(%$module_declarations));
|
|
1;
|