Don't bother with declare, just 'use kernel32'.

This commit is contained in:
Francois Gouget 2002-04-01 21:00:42 +00:00 committed by Alexandre Julliard
parent 80b72db33b
commit 37f2c37697
1 changed files with 1 additions and 13 deletions

View File

@ -20,19 +20,7 @@
use wine;
use winerror;
################################################################
# Declarations for functions we use in this script
wine::declare( "kernel32",
GlobalAddAtomA => ["word", ["str"]],
GlobalAddAtomW => ["word", ["wstr"]],
GlobalFindAtomA => ["word", ["str"]],
GlobalFindAtomW => ["word", ["wstr"]],
GlobalDeleteAtom => ["word", ["word"]],
GlobalGetAtomNameA => ["int", ["word","ptr","int"]],
GlobalGetAtomNameW => ["int", ["word","ptr","int"]],
);
use kernel32;
my $name = "foobar";