include: Add cpp header guard to the pathcch.h.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Vitor Ramos 2024-11-18 23:40:39 +01:00 committed by Alexandre Julliard
parent 67c1c3c255
commit e0773560ef
Notes: Alexandre Julliard 2024-11-19 23:20:47 +01:00
Approved-by: Nikolay Sivov (@nsivov)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6837

View file

@ -16,6 +16,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifdef __cplusplus
extern "C" {
#endif
#define PATHCCH_NONE 0x00
#define PATHCCH_ALLOW_LONG_PATHS 0x01
#define PATHCCH_FORCE_ENABLE_LONG_NAME_PROCESS 0x02
@ -48,3 +52,7 @@ WINBASEAPI HRESULT WINAPI PathCchSkipRoot(const WCHAR *path, const WCHAR **root_
WINBASEAPI HRESULT WINAPI PathCchStripPrefix(WCHAR *path, SIZE_T size);
WINBASEAPI HRESULT WINAPI PathCchStripToRoot(WCHAR *path, SIZE_T size);
WINBASEAPI BOOL WINAPI PathIsUNCEx(const WCHAR *path, const WCHAR **server);
#ifdef __cplusplus
}
#endif