source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wsdattachment.idl@ 1181

Last change on this file since 1181 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.4 KB
RevLine 
[1166]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 */
5cpp_quote("#include <winapifamily.h>")
6cpp_quote("")
7cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
8
9import "objidl.idl";
10
11cpp_quote("")
12cpp_quote("#ifndef _INC_WSDAPI")
13cpp_quote("#error Please include wsdapi.h instead of this header. This header cannot be used directly.")
14cpp_quote("#endif")
15cpp_quote("")
16
17interface IWSDAttachment;
18interface IWSDInboundAttachment;
19interface IWSDOutboundAttachment;
20
21cpp_quote("")
22[object, uuid (5d55a616-9df8-4b09-b156-9ba351a48b76)]
23interface IWSDAttachment : IUnknown {
24}
25
26cpp_quote("")
27[object, local, uuid (5bd6ca65-233c-4fb8-9f7a-2641619655c9)]
28interface 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
33cpp_quote("")
34[object, local, uuid (aa302f8d-5a22-4ba5-b392-aa8486f4c15d)]
35interface 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
41cpp_quote("")
42cpp_quote("HRESULT WINAPI WSDCreateOutboundAttachment(IWSDOutboundAttachment **ppAttachment);")
43cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.