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