Home | History | Annotate | Download | only in include
      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
     16 extern "C" {
     17 #endif
     18 
     19 void* WINAPI WSDAllocateLinkedMemory(
     20   void *pParent,
     21   size_t cbSize
     22 );
     23 
     24 void WINAPI WSDAttachLinkedMemory(
     25   void *pParent,
     26   void *pChild
     27 );
     28 
     29 void WINAPI WSDDetachLinkedMemory(
     30   void *pVoid
     31 );
     32 
     33 void WINAPI WSDFreeLinkedMemory(
     34   void *pVoid
     35 );
     36 
     37 HRESULT 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 
     48 HRESULT 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 
     56 HRESULT WINAPI WSDGetConfigurationOption(
     57   DWORD dwOption,
     58   LPVOID pVoid,
     59   DWORD cbOutBuffer
     60 );
     61 
     62 HRESULT WINAPI WSDSetConfigurationOption(
     63   DWORD dwOption,
     64   LPVOID pVoid,
     65   DWORD cbInBuffer
     66 );
     67 
     68 STDAPI WSDXMLAddChild(
     69   WSDXML_ELEMENT *pParent,
     70   WSDXML_ELEMENT *pChild
     71 );
     72 
     73 STDAPI WSDXMLAddSibling(
     74   WSDXML_ELEMENT *pFirst,
     75   WSDXML_ELEMENT *pSecond
     76 );
     77 
     78 STDAPI WSDXMLBuildAnyForSingleElement(
     79   WSDXML_NAME *pElementName,
     80   const LPCWSTR *pszText,
     81   WSDXML_ELEMENT **ppAny
     82 );
     83 
     84 HRESULT WINAPI WSDXMLCleanupElement(
     85   WSDXML_ELEMENT *pAny
     86 );
     87 
     88 STDAPI 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*/
    101