gdi32: Clip the computed region to the DIB rectangle in PolyPolygon().
[wine.git] / include / wsdutil.h
blob402a4130bbcd1aa73b7f020670b870f85855cf4a
1 /*
2 * Copyright 2017 Owen Rudge for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef WSDUTIL_H
20 #define WSDUTIL_H
22 void * WINAPI WSDAllocateLinkedMemory(void *pParent, SIZE_T cbSize);
23 void WINAPI WSDAttachLinkedMemory(void *pParent, void *pChild);
24 void WINAPI WSDDetachLinkedMemory(void *pVoid);
25 void WINAPI WSDFreeLinkedMemory(void *pVoid);
27 HRESULT WINAPI WSDXMLAddChild(WSDXML_ELEMENT *pParent, WSDXML_ELEMENT *pChild);
28 HRESULT WINAPI WSDXMLAddSibling(WSDXML_ELEMENT *pFirst, WSDXML_ELEMENT *pSecond);
29 HRESULT WINAPI WSDXMLBuildAnyForSingleElement(WSDXML_NAME *pElementName, LPCWSTR pszText, WSDXML_ELEMENT **ppAny);
30 HRESULT WINAPI WSDXMLCleanupElement(WSDXML_ELEMENT *pAny);
31 HRESULT WINAPI WSDXMLGetValueFromAny(const WCHAR *pszNamespace, const WCHAR *pszName, WSDXML_ELEMENT *pAny, LPCWSTR *ppszValue);
33 #endif