1 /*** Autogenerated by WIDL 1.5.29 from /tmp/build-mingw64-toolchain-joshualang/src/mingw-w64-svn-r5861/mingw-w64-headers/include/shtypes.idl - Do not edit ***/ 2 3 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 4 #define __REQUIRED_RPCNDR_H_VERSION__ 475 5 #endif 6 7 #include <rpc.h> 8 #include <rpcndr.h> 9 10 #ifndef COM_NO_WINDOWS_H 11 #include <windows.h> 12 #include <ole2.h> 13 #endif 14 15 #ifndef __shtypes_h__ 16 #define __shtypes_h__ 17 18 /* Forward declarations */ 19 20 /* Headers for imported files */ 21 22 #include <wtypes.h> 23 24 #ifdef __cplusplus 25 extern "C" { 26 #endif 27 28 #include <pshpack1.h> 29 typedef struct _SHITEMID { 30 USHORT cb; 31 BYTE abID[1 ]; 32 } SHITEMID; 33 34 #include <poppack.h> 35 #if (defined(_X86_) && !defined(__x86_64)) 36 #undef __unaligned 37 #define __unaligned 38 #endif 39 typedef SHITEMID __unaligned *LPSHITEMID; 40 41 typedef const SHITEMID __unaligned *LPCSHITEMID; 42 43 #include <pshpack1.h> 44 typedef struct _ITEMIDLIST { 45 SHITEMID mkid; 46 } ITEMIDLIST; 47 48 typedef ITEMIDLIST ITEMIDLIST_RELATIVE; 49 typedef ITEMIDLIST ITEMID_CHILD; 50 typedef ITEMIDLIST ITEMIDLIST_ABSOLUTE; 51 #include <poppack.h> 52 53 typedef BYTE_BLOB *wirePIDL; 54 55 typedef ITEMIDLIST __unaligned *LPITEMIDLIST; 56 typedef const ITEMIDLIST __unaligned *LPCITEMIDLIST; 57 58 typedef ITEMIDLIST_ABSOLUTE *PIDLIST_ABSOLUTE; 59 typedef const ITEMIDLIST_ABSOLUTE *PCIDLIST_ABSOLUTE; 60 typedef const ITEMIDLIST_ABSOLUTE __unaligned *PCUIDLIST_ABSOLUTE; 61 typedef ITEMIDLIST_RELATIVE *PIDLIST_RELATIVE; 62 typedef const ITEMIDLIST_RELATIVE *PCIDLIST_RELATIVE; 63 typedef ITEMIDLIST_RELATIVE __unaligned *PUIDLIST_RELATIVE; 64 typedef const ITEMIDLIST_RELATIVE __unaligned *PCUIDLIST_RELATIVE; 65 typedef ITEMID_CHILD *PITEMID_CHILD; 66 typedef const ITEMID_CHILD *PCITEMID_CHILD; 67 typedef ITEMID_CHILD __unaligned *PUITEMID_CHILD; 68 typedef const ITEMID_CHILD __unaligned *PCUITEMID_CHILD; 69 70 typedef const PCUITEMID_CHILD *PCUITEMID_CHILD_ARRAY; 71 typedef const PCUIDLIST_RELATIVE *PCUIDLIST_RELATIVE_ARRAY; 72 typedef const PCIDLIST_ABSOLUTE *PCIDLIST_ABSOLUTE_ARRAY; 73 typedef const PCUIDLIST_ABSOLUTE *PCUIDLIST_ABSOLUTE_ARRAY; 74 75 #ifdef WINBASE_DEFINED_MIDL 76 typedef struct _WIN32_FIND_DATAA { 77 DWORD bData[80 ]; 78 } WIN32_FIND_DATAA; 79 80 typedef struct _WIN32_FIND_DATAW { 81 DWORD bData[148 ]; 82 } WIN32_FIND_DATAW; 83 #endif 84 85 typedef enum tagSTRRET_TYPE { 86 STRRET_WSTR = 0,STRRET_OFFSET = 0x1,STRRET_CSTR = 0x2 87 } STRRET_TYPE; 88 89 #include <pshpack8.h> 90 typedef struct _STRRET { 91 UINT uType; 92 __C89_NAMELESS union { 93 LPWSTR pOleStr; 94 UINT uOffset; 95 char cStr[260 ]; 96 } DUMMYUNIONNAME; 97 } STRRET; 98 99 #include <poppack.h> 100 typedef STRRET *LPSTRRET; 101 102 #include <pshpack1.h> 103 typedef struct _SHELLDETAILS { 104 int fmt; 105 int cxChar; 106 STRRET str; 107 } SHELLDETAILS; 108 109 typedef struct _SHELLDETAILS *LPSHELLDETAILS; 110 111 #include <poppack.h> 112 113 typedef struct _COMDLG_FILTERSPEC { 114 LPCWSTR pszName; 115 LPCWSTR pszSpec; 116 } COMDLG_FILTERSPEC; 117 typedef GUID KNOWNFOLDERID; 118 #if 0 119 typedef KNOWNFOLDERID *REFKNOWNFOLDERID; 120 #elif defined(__cplusplus) 121 #define REFKNOWNFOLDERID const KNOWNFOLDERID& 122 #else 123 #define REFKNOWNFOLDERID const KNOWNFOLDERID * 124 #endif 125 typedef GUID FOLDERTYPEID; 126 #if 0 127 typedef FOLDERTYPEID *REFFOLDERTYPEID; 128 #elif defined(__cplusplus) 129 #define REFFOLDERTYPEID const FOLDERTYPEID& 130 #else 131 #define REFFOLDERTYPEID const FOLDERTYPEID* 132 #endif 133 typedef enum tagSHCOLSTATE { 134 SHCOLSTATE_TYPE_STR = 0x1, 135 SHCOLSTATE_TYPE_INT = 0x2, 136 SHCOLSTATE_TYPE_DATE = 0x3, 137 SHCOLSTATE_TYPEMASK = 0xf, 138 SHCOLSTATE_ONBYDEFAULT = 0x10, 139 SHCOLSTATE_SLOW = 0x20, 140 SHCOLSTATE_EXTENDED = 0x40, 141 SHCOLSTATE_SECONDARYUI = 0x80, 142 SHCOLSTATE_HIDDEN = 0x100, 143 SHCOLSTATE_PREFER_VARCMP = 0x200 144 } SHCOLSTATE; 145 typedef DWORD SHCOLSTATEF; 146 typedef PROPERTYKEY SHCOLUMNID; 147 typedef const SHCOLUMNID *LPCSHCOLUMNID; 148 extern RPC_IF_HANDLE __MIDL_itf_shtypes_0000_v0_0_c_ifspec; 149 extern RPC_IF_HANDLE __MIDL_itf_shtypes_0000_v0_0_s_ifspec; 150 /* Begin additional prototypes for all interfaces */ 151 152 153 /* End additional prototypes */ 154 155 #ifdef __cplusplus 156 } 157 #endif 158 159 #endif /* __shtypes_h__ */ 160