| 1 | 
 import "wtypes.idl"; | 
 
 
 
 
 
 | 2 | 
  | 
 
 
 
 
 
 | 3 | 
 typedef struct HSTRING__{ | 
 
 
 
 
 
 | 4 | 
   int unused; | 
 
 
 
 
 
 | 5 | 
 } HSTRING__; | 
 
 
 
 
 
 | 6 | 
 typedef [wire_marshal(wireBSTR), unique] HSTRING__ *HSTRING; | 
 
 
 
 
 
 | 7 | 
  | 
 
 
 
 
 
 | 8 | 
 cpp_quote("") | 
 
 
 
 
 
 | 9 | 
 cpp_quote("  typedef struct HSTRING_HEADER {") | 
 
 
 
 
 
 | 10 | 
 cpp_quote("    __C89_NAMELESS union {") | 
 
 
 
 
 
 | 11 | 
 cpp_quote("      PVOID Reserved1;") | 
 
 
 
 
 
 | 12 | 
 cpp_quote("#ifdef _WIN64") | 
 
 
 
 
 
 | 13 | 
 cpp_quote("      char Reserved2[24];") | 
 
 
 
 
 
 | 14 | 
 cpp_quote("#else") | 
 
 
 
 
 
 | 15 | 
 cpp_quote("      char Reserved2[20];") | 
 
 
 
 
 
 | 16 | 
 cpp_quote("#endif") | 
 
 
 
 
 
 | 17 | 
 cpp_quote("    } Reserved;") | 
 
 
 
 
 
 | 18 | 
 cpp_quote("  } HSTRING_HEADER;") | 
 
 
 
 
 
 | 19 | 
 cpp_quote("") | 
 
 
 
 
 
 | 20 | 
 cpp_quote("DECLARE_HANDLE(HSTRING_BUFFER);") |