comparison src/iid_ole.c @ 1351:df6967461cef v7.1.065

updated for version 7.1-065
author vimboss
date Sun, 12 Aug 2007 13:25:01 +0000
parents 3fc0f57ecb91
children 82c732e8d23d
comparison
equal deleted inserted replaced
1350:3d698caa5dfc 1351:df6967461cef
14 //@@MIDL_FILE_HEADING( ) 14 //@@MIDL_FILE_HEADING( )
15 #ifdef __cplusplus 15 #ifdef __cplusplus
16 extern "C"{ 16 extern "C"{
17 #endif 17 #endif
18 18
19 #ifdef __MINGW32__
20 # include <w32api.h>
21
22 # if __W32API_MAJOR_VERSION == 3 && __W32API_MINOR_VERSION < 10
23 /* This define is missing from older MingW versions of w32api, even though
24 * IID is defined. */
25 # define __IID_DEFINED__
26 # endif
27 #endif
19 28
20 #ifndef __IID_DEFINED__ 29 #ifndef __IID_DEFINED__
21 #define __IID_DEFINED__ 30 # define __IID_DEFINED__
22 31
23 typedef struct _IID 32 typedef struct _IID
24 { 33 {
25 unsigned long x; 34 unsigned long x;
26 unsigned short s1; 35 unsigned short s1;
27 unsigned short s2; 36 unsigned short s2;
28 unsigned char c[8]; 37 unsigned char c[8];
29 } IID; 38 } IID;
30 39
31 #endif // __IID_DEFINED__ 40 #endif
32 41
33 #ifndef CLSID_DEFINED 42 #ifndef CLSID_DEFINED
34 #define CLSID_DEFINED 43 # define CLSID_DEFINED
35 typedef IID CLSID; 44 typedef IID CLSID;
36 #endif // CLSID_DEFINED 45 #endif
37 46
38 const IID IID_IVim = {0x0F0BFAE2,0x4C90,0x11d1,{0x82,0xD7,0x00,0x04,0xAC,0x36,0x85,0x19}}; 47 const IID IID_IVim = {0x0F0BFAE2,0x4C90,0x11d1,{0x82,0xD7,0x00,0x04,0xAC,0x36,0x85,0x19}};
39 48
40 49
41 const IID LIBID_Vim = {0x0F0BFAE0,0x4C90,0x11d1,{0x82,0xD7,0x00,0x04,0xAC,0x36,0x85,0x19}}; 50 const IID LIBID_Vim = {0x0F0BFAE0,0x4C90,0x11d1,{0x82,0xD7,0x00,0x04,0xAC,0x36,0x85,0x19}};