wsdutil.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. #ifndef _INC_WSDAPI
  9. #error Please include wsdapi.h instead of this header. This header cannot be used directly.
  10. #endif
  11. #if (_WIN32_WINNT >= 0x0600)
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. void* WINAPI WSDAllocateLinkedMemory(
  16. void *pParent,
  17. size_t cbSize
  18. );
  19. void WINAPI WSDAttachLinkedMemory(
  20. void *pParent,
  21. void *pChild
  22. );
  23. void WINAPI WSDDetachLinkedMemory(
  24. void *pVoid
  25. );
  26. void WINAPI WSDFreeLinkedMemory(
  27. void *pVoid
  28. );
  29. HRESULT WINAPI WSDGenerateFault(
  30. const LPCWSTR *pszCode,
  31. const LPCWSTR *pszSubCode,
  32. const LPCWSTR *pszReason,
  33. const LPCWSTR *pszDetail,
  34. IWSDXMLContext *pContext,
  35. WSD_SOAP_FAULT **ppFault
  36. );
  37. #define WSDAPI_OPTION_MAX_INBOUND_MESSAGE_SIZE 0x0001
  38. HRESULT WINAPI WSDGenerateFaultEx(
  39. WSDXML_NAME *pCode,
  40. WSDXML_NAME *pSubCode,
  41. WSD_LOCALIZED_STRING_LIST *pReasons,
  42. const LPCWSTR *pszDetail,
  43. WSD_SOAP_FAULT **ppFault
  44. );
  45. HRESULT WINAPI WSDGetConfigurationOption(
  46. DWORD dwOption,
  47. LPVOID pVoid,
  48. DWORD cbOutBuffer
  49. );
  50. HRESULT WINAPI WSDSetConfigurationOption(
  51. DWORD dwOption,
  52. LPVOID pVoid,
  53. DWORD cbInBuffer
  54. );
  55. STDAPI WSDXMLAddChild(
  56. WSDXML_ELEMENT *pParent,
  57. WSDXML_ELEMENT *pChild
  58. );
  59. STDAPI WSDXMLAddSibling(
  60. WSDXML_ELEMENT *pFirst,
  61. WSDXML_ELEMENT *pSecond
  62. );
  63. STDAPI WSDXMLBuildAnyForSingleElement(
  64. WSDXML_NAME *pElementName,
  65. const LPCWSTR *pszText,
  66. WSDXML_ELEMENT **ppAny
  67. );
  68. HRESULT WINAPI WSDXMLCleanupElement(
  69. WSDXML_ELEMENT *pAny
  70. );
  71. STDAPI WSDXMLGetValueFromAny(
  72. const WCHAR *pszNamespace,
  73. const WCHAR *pszName,
  74. WSDXML_ELEMENT *pAny,
  75. const LPCWSTR *ppszValue
  76. );
  77. #ifdef __cplusplus
  78. }
  79. #endif
  80. #endif /*(_WIN32_WINNT >= 0x0600)*/
  81. #endif /*_INC_WSDUTIL*/