source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wsdutil.h@ 1180

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

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

File size: 1.9 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _INC_WSDUTIL
7#define _INC_WSDUTIL
8
9#ifndef _INC_WSDAPI
10#error Please include wsdapi.h instead of this header. This header cannot be used directly.
11#endif
12
13#if (_WIN32_WINNT >= 0x0600)
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19void* WINAPI WSDAllocateLinkedMemory(
20 void *pParent,
21 size_t cbSize
22);
23
24void WINAPI WSDAttachLinkedMemory(
25 void *pParent,
26 void *pChild
27);
28
29void WINAPI WSDDetachLinkedMemory(
30 void *pVoid
31);
32
33void WINAPI WSDFreeLinkedMemory(
34 void *pVoid
35);
36
37HRESULT WINAPI WSDGenerateFault(
38 const LPCWSTR *pszCode,
39 const LPCWSTR *pszSubCode,
40 const LPCWSTR *pszReason,
41 const LPCWSTR *pszDetail,
42 IWSDXMLContext *pContext,
43 WSD_SOAP_FAULT **ppFault
44);
45
46#define WSDAPI_OPTION_MAX_INBOUND_MESSAGE_SIZE 0x0001
47
48HRESULT WINAPI WSDGenerateFaultEx(
49 WSDXML_NAME *pCode,
50 WSDXML_NAME *pSubCode,
51 WSD_LOCALIZED_STRING_LIST *pReasons,
52 const LPCWSTR *pszDetail,
53 WSD_SOAP_FAULT **ppFault
54);
55
56HRESULT WINAPI WSDGetConfigurationOption(
57 DWORD dwOption,
58 LPVOID pVoid,
59 DWORD cbOutBuffer
60);
61
62HRESULT WINAPI WSDSetConfigurationOption(
63 DWORD dwOption,
64 LPVOID pVoid,
65 DWORD cbInBuffer
66);
67
68STDAPI WSDXMLAddChild(
69 WSDXML_ELEMENT *pParent,
70 WSDXML_ELEMENT *pChild
71);
72
73STDAPI WSDXMLAddSibling(
74 WSDXML_ELEMENT *pFirst,
75 WSDXML_ELEMENT *pSecond
76);
77
78STDAPI WSDXMLBuildAnyForSingleElement(
79 WSDXML_NAME *pElementName,
80 const LPCWSTR *pszText,
81 WSDXML_ELEMENT **ppAny
82);
83
84HRESULT WINAPI WSDXMLCleanupElement(
85 WSDXML_ELEMENT *pAny
86);
87
88STDAPI WSDXMLGetValueFromAny(
89 const WCHAR *pszNamespace,
90 const WCHAR *pszName,
91 WSDXML_ELEMENT *pAny,
92 const LPCWSTR *ppszValue
93);
94
95#ifdef __cplusplus
96}
97#endif
98
99#endif /*(_WIN32_WINNT >= 0x0600)*/
100#endif /*_INC_WSDUTIL*/
Note: See TracBrowser for help on using the repository browser.