hstring.idl 539 B

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