Skip to content

Commit 067439e

Browse files
committed
Load Win32-API-0.40 into trunk/Win32-API.
1 parent 9a5021c commit 067439e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+6394
-608
lines changed

API.h

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
# Win32::API - Perl Win32 API Import Facility
3+
#
4+
# Version: 0.40
5+
# Date: 07 Mar 2003
6+
# Author: Aldo Calpini <[email protected]>
7+
# $Id: API.h,v 1.0 2002/03/19 18:21:00 dada Exp $
8+
*/
9+
10+
// #define WIN32_API_DEBUG
11+
12+
#define T_VOID 0
13+
#define T_NUMBER 1
14+
#define T_POINTER 2
15+
#define T_INTEGER 3
16+
#define T_FLOAT 4
17+
#define T_DOUBLE 5
18+
#define T_CHAR 6
19+
20+
#define T_STRUCTURE 51
21+
22+
#define T_POINTERPOINTER 22
23+
#define T_CODE 101
24+
25+
typedef char *ApiPointer(void);
26+
typedef long ApiNumber(void);
27+
typedef float ApiFloat(void);
28+
typedef double ApiDouble(void);
29+
typedef void ApiVoid(void);
30+
typedef int ApiInteger(void);
31+
32+
typedef struct {
33+
int t;
34+
LPBYTE b;
35+
char c;
36+
char *p;
37+
long l;
38+
float f;
39+
double d;
40+
} APIPARAM;
41+
42+
typedef struct {
43+
SV* object;
44+
int size;
45+
} APISTRUCT;
46+
47+
typedef struct {
48+
SV* object;
49+
} APICALLBACK;

0 commit comments

Comments
 (0)