| 1 | 
 /** | 
 
 
 
 
 
 | 2 | 
  * This file is part of the mingw-w64 runtime package. | 
 
 
 
 
 
 | 3 | 
  * No warranty is given; refer to the file DISCLAIMER within this package. | 
 
 
 
 
 
 | 4 | 
  */ | 
 
 
 
 
 
 | 5 | 
 cpp_quote("#include <winapifamily.h>") | 
 
 
 
 
 
 | 6 | 
 cpp_quote("") | 
 
 
 
 
 
 | 7 | 
 cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") | 
 
 
 
 
 
 | 8 | 
  | 
 
 
 
 
 
 | 9 | 
 import "objidl.idl"; | 
 
 
 
 
 
 | 10 | 
  | 
 
 
 
 
 
 | 11 | 
 cpp_quote("") | 
 
 
 
 
 
 | 12 | 
 cpp_quote("#ifndef _INC_WSDAPI") | 
 
 
 
 
 
 | 13 | 
 cpp_quote("#error Please include wsdapi.h instead of this header. This header cannot be used directly.") | 
 
 
 
 
 
 | 14 | 
 cpp_quote("#endif") | 
 
 
 
 
 
 | 15 | 
 cpp_quote("") | 
 
 
 
 
 
 | 16 | 
  | 
 
 
 
 
 
 | 17 | 
 interface IWSDAttachment; | 
 
 
 
 
 
 | 18 | 
 interface IWSDInboundAttachment; | 
 
 
 
 
 
 | 19 | 
 interface IWSDOutboundAttachment; | 
 
 
 
 
 
 | 20 | 
  | 
 
 
 
 
 
 | 21 | 
 cpp_quote("") | 
 
 
 
 
 
 | 22 | 
 [object, uuid (5d55a616-9df8-4b09-b156-9ba351a48b76)] | 
 
 
 
 
 
 | 23 | 
 interface IWSDAttachment : IUnknown { | 
 
 
 
 
 
 | 24 | 
 } | 
 
 
 
 
 
 | 25 | 
  | 
 
 
 
 
 
 | 26 | 
 cpp_quote("") | 
 
 
 
 
 
 | 27 | 
 [object, local, uuid (5bd6ca65-233c-4fb8-9f7a-2641619655c9)] | 
 
 
 
 
 
 | 28 | 
 interface IWSDInboundAttachment : IWSDAttachment { | 
 
 
 
 
 
 | 29 | 
   HRESULT Read ([out, size_is (dwBytesToRead), length_is (*pdwNumberOfBytesRead)] BYTE *pBuffer,[in] DWORD dwBytesToRead,[out] LPDWORD pdwNumberOfBytesRead); | 
 
 
 
 
 
 | 30 | 
   HRESULT Close (); | 
 
 
 
 
 
 | 31 | 
 } | 
 
 
 
 
 
 | 32 | 
  | 
 
 
 
 
 
 | 33 | 
 cpp_quote("") | 
 
 
 
 
 
 | 34 | 
 [object, local, uuid (aa302f8d-5a22-4ba5-b392-aa8486f4c15d)] | 
 
 
 
 
 
 | 35 | 
 interface IWSDOutboundAttachment : IWSDAttachment { | 
 
 
 
 
 
 | 36 | 
   HRESULT Write ([in, size_is (dwBytesToWrite)] const BYTE *pBuffer,[in] DWORD dwBytesToWrite,[out] LPDWORD pdwNumberOfBytesWritten); | 
 
 
 
 
 
 | 37 | 
   HRESULT Close (); | 
 
 
 
 
 
 | 38 | 
   HRESULT Abort (); | 
 
 
 
 
 
 | 39 | 
 } | 
 
 
 
 
 
 | 40 | 
  | 
 
 
 
 
 
 | 41 | 
 cpp_quote("") | 
 
 
 
 
 
 | 42 | 
 cpp_quote("HRESULT WINAPI WSDCreateOutboundAttachment(IWSDOutboundAttachment **ppAttachment);") | 
 
 
 
 
 
 | 43 | 
 cpp_quote("#endif") |