root/trunk/win32/basetyps.d

Revision 316, 1.0 kB (checked in by smjg, 3 years ago)

Added CPtr template to support D2, so far applied only to a few things

Line 
1 /***********************************************************************\
2 *                               basetyps.d                              *
3 *                                                                       *
4 *                       Windows API header module                       *
5 *                                                                       *
6 *             Translated from MinGW API for MS-Windows 3.10             *
7 *                                                                       *
8 *                       Placed into public domain                       *
9 \***********************************************************************/
10 module win32.basetyps;
11
12 private import win32.windef, win32.basetsd;
13
14 align(1) struct GUID {  // size is 16
15     DWORD   Data1;
16     WORD    Data2;
17     WORD    Data3;
18     BYTE[8] Data4;
19 }
20 alias GUID UUID, IID, CLSID, FMTID, uuid_t;
21 alias GUID* LPGUID, LPCLSID, LPIID;
22 alias CPtr!(GUID) REFGUID, REFIID, REFCLSID, REFFMTID;
23
24 alias uint error_status_t, PROPID;
Note: See TracBrowser for help on using the browser.