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