ReactOS 0.4.15-dev-8241-g63935f8
pathcch.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WINBASEAPI   DECLSPEC_IMPORT
 
#define WINPATHCCHAPI   WINBASEAPI
 
#define PATHCCH_NONE   0x00
 
#define PATHCCH_ALLOW_LONG_PATHS   0x01
 
#define PATHCCH_FORCE_ENABLE_LONG_NAME_PROCESS   0x02
 
#define PATHCCH_FORCE_DISABLE_LONG_NAME_PROCESS   0x04
 
#define PATHCCH_DO_NOT_NORMALIZE_SEGMENTS   0x08
 
#define PATHCCH_ENSURE_IS_EXTENDED_LENGTH_PATH   0x10
 
#define PATHCCH_ENSURE_TRAILING_SLASH   0x20
 
#define VOLUME_PREFIX   L"\\\\?\\Volume"
 
#define VOLUME_PREFIX_LEN   (ARRAYSIZE(VOLUME_PREFIX) - 1)
 
#define PATHCCH_MAX_CCH   0x8000
 
#define PathAddBackslash   PathAddBackslash_instead_use_PathCchAddBackslash;
 
#define PathAddBackslashA   PathAddBackslash_instead_use_PathCchAddBackslash;
 
#define PathAddBackslashW   PathAddBackslash_instead_use_PathCchAddBackslash;
 
#define PathAddExtension   PathAddExtension_instead_use_PathCchAddExtension;
 
#define PathAddExtensionA   PathAddExtension_instead_use_PathCchAddExtension;
 
#define PathAddExtensionW   PathAddExtension_instead_use_PathCchAddExtension;
 
#define PathAppend   PathAppend_instead_use_PathCchAppend;
 
#define PathAppendA   PathAppend_instead_use_PathCchAppend;
 
#define PathAppendW   PathAppend_instead_use_PathCchAppend;
 
#define PathCanonicalize   PathCanonicalize_instead_use_PathCchCanonicalize;
 
#define PathCanonicalizeA   PathCanonicalize_instead_use_PathCchCanonicalize;
 
#define PathCanonicalizeW   PathCanonicalize_instead_use_PathCchCanonicalize;
 
#define PathCombine   PathCombine_instead_use_PathCchCombine;
 
#define PathCombineA   PathCombine_instead_use_PathCchCombine;
 
#define PathCombineW   PathCombine_instead_use_PathCchCombine;
 
#define PathRenameExtension   PathRenameExtension_instead_use_PathCchRenameExtension;
 
#define PathRenameExtensionA   PathRenameExtension_instead_use_PathCchRenameExtension;
 
#define PathRenameExtensionW   PathRenameExtension_instead_use_PathCchRenameExtension;
 

Functions

WINPATHCCHAPI HRESULT APIENTRY PathAllocCanonicalize (_In_ PCWSTR pszPathIn, _In_ ULONG dwFlags, _Outptr_ PWSTR *ppszPathOut)
 
WINPATHCCHAPI HRESULT APIENTRY PathAllocCombine (_In_opt_ PCWSTR pszPathIn, _In_opt_ PCWSTR pszMore, _In_ ULONG dwFlags, _Outptr_ PWSTR *ppszPathOut)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchAddBackslash (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchAddBackslashEx (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath, _Outptr_opt_result_buffer_(*pcchRemaining) PWSTR *ppszEnd, _Out_opt_ size_t *pcchRemaining)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchAddExtension (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath, _In_ PCWSTR pszExt)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchAppend (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath, _In_opt_ PCWSTR pszMore)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchAppendEx (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath, _In_opt_ PCWSTR pszMore, _In_ ULONG dwFlags)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchCanonicalize (_Out_writes_(cchPathOut) PWSTR pszPathOut, _In_ size_t cchPathOut, _In_ PCWSTR pszPathIn)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchCanonicalizeEx (_Out_writes_(cchPathOut) PWSTR pszPathOut, _In_ size_t cchPathOut, _In_ PCWSTR pszPathIn, _In_ ULONG dwFlags)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchCombine (_Out_writes_(cchPathOut) PWSTR pszPathOut, _In_ size_t cchPathOut, _In_opt_ PCWSTR pszPathIn, _In_opt_ PCWSTR pszMore)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchCombineEx (_Out_writes_(cchPathOut) PWSTR pszPathOut, _In_ size_t cchPathOut, _In_opt_ PCWSTR pszPathIn, _In_opt_ PCWSTR pszMore, _In_ ULONG dwFlags)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchFindExtension (_In_reads_(cchPath) PCWSTR pszPath, _In_ size_t cchPath, _Outptr_ PCWSTR *ppszExt)
 
WINPATHCCHAPI BOOL APIENTRY PathCchIsRoot (_In_opt_ PCWSTR pszPath)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchRemoveBackslash (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchRemoveBackslashEx (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath, _Outptr_opt_result_buffer_(*pcchRemaining) PWSTR *ppszEnd, _Out_opt_ size_t *pcchRemaining)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchRemoveExtension (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchRemoveFileSpec (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchRenameExtension (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath, _In_ PCWSTR pszExt)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchSkipRoot (_In_ PCWSTR pszPath, _Outptr_ PCWSTR *ppszRootEnd)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchStripPrefix (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath)
 
WINPATHCCHAPI HRESULT APIENTRY PathCchStripToRoot (_Inout_updates_(cchPath) PWSTR pszPath, _In_ size_t cchPath)
 
WINPATHCCHAPI BOOL APIENTRY PathIsUNCEx (_In_ PCWSTR pszPath, _Outptr_opt_ PCWSTR *ppszServer)
 

Macro Definition Documentation

◆ PathAddBackslash

#define PathAddBackslash   PathAddBackslash_instead_use_PathCchAddBackslash;

Definition at line 299 of file pathcch.h.

◆ PathAddBackslashA

#define PathAddBackslashA   PathAddBackslash_instead_use_PathCchAddBackslash;

Definition at line 300 of file pathcch.h.

◆ PathAddBackslashW

#define PathAddBackslashW   PathAddBackslash_instead_use_PathCchAddBackslash;

Definition at line 301 of file pathcch.h.

◆ PathAddExtension

#define PathAddExtension   PathAddExtension_instead_use_PathCchAddExtension;

Definition at line 303 of file pathcch.h.

◆ PathAddExtensionA

#define PathAddExtensionA   PathAddExtension_instead_use_PathCchAddExtension;

Definition at line 304 of file pathcch.h.

◆ PathAddExtensionW

#define PathAddExtensionW   PathAddExtension_instead_use_PathCchAddExtension;

Definition at line 305 of file pathcch.h.

◆ PathAppend

#define PathAppend   PathAppend_instead_use_PathCchAppend;

Definition at line 307 of file pathcch.h.

◆ PathAppendA

#define PathAppendA   PathAppend_instead_use_PathCchAppend;

Definition at line 308 of file pathcch.h.

◆ PathAppendW

#define PathAppendW   PathAppend_instead_use_PathCchAppend;

Definition at line 309 of file pathcch.h.

◆ PathCanonicalize

#define PathCanonicalize   PathCanonicalize_instead_use_PathCchCanonicalize;

Definition at line 311 of file pathcch.h.

◆ PathCanonicalizeA

#define PathCanonicalizeA   PathCanonicalize_instead_use_PathCchCanonicalize;

Definition at line 312 of file pathcch.h.

◆ PathCanonicalizeW

#define PathCanonicalizeW   PathCanonicalize_instead_use_PathCchCanonicalize;

Definition at line 313 of file pathcch.h.

◆ PATHCCH_ALLOW_LONG_PATHS

#define PATHCCH_ALLOW_LONG_PATHS   0x01

Definition at line 40 of file pathcch.h.

◆ PATHCCH_DO_NOT_NORMALIZE_SEGMENTS

#define PATHCCH_DO_NOT_NORMALIZE_SEGMENTS   0x08

Definition at line 43 of file pathcch.h.

◆ PATHCCH_ENSURE_IS_EXTENDED_LENGTH_PATH

#define PATHCCH_ENSURE_IS_EXTENDED_LENGTH_PATH   0x10

Definition at line 44 of file pathcch.h.

◆ PATHCCH_ENSURE_TRAILING_SLASH

#define PATHCCH_ENSURE_TRAILING_SLASH   0x20

Definition at line 45 of file pathcch.h.

◆ PATHCCH_FORCE_DISABLE_LONG_NAME_PROCESS

#define PATHCCH_FORCE_DISABLE_LONG_NAME_PROCESS   0x04

Definition at line 42 of file pathcch.h.

◆ PATHCCH_FORCE_ENABLE_LONG_NAME_PROCESS

#define PATHCCH_FORCE_ENABLE_LONG_NAME_PROCESS   0x02

Definition at line 41 of file pathcch.h.

◆ PATHCCH_MAX_CCH

#define PATHCCH_MAX_CCH   0x8000

Definition at line 51 of file pathcch.h.

◆ PATHCCH_NONE

#define PATHCCH_NONE   0x00

Definition at line 39 of file pathcch.h.

◆ PathCombine

#define PathCombine   PathCombine_instead_use_PathCchCombine;

Definition at line 315 of file pathcch.h.

◆ PathCombineA

#define PathCombineA   PathCombine_instead_use_PathCchCombine;

Definition at line 316 of file pathcch.h.

◆ PathCombineW

#define PathCombineW   PathCombine_instead_use_PathCchCombine;

Definition at line 317 of file pathcch.h.

◆ PathRenameExtension

#define PathRenameExtension   PathRenameExtension_instead_use_PathCchRenameExtension;

Definition at line 319 of file pathcch.h.

◆ PathRenameExtensionA

#define PathRenameExtensionA   PathRenameExtension_instead_use_PathCchRenameExtension;

Definition at line 320 of file pathcch.h.

◆ PathRenameExtensionW

#define PathRenameExtensionW   PathRenameExtension_instead_use_PathCchRenameExtension;

Definition at line 321 of file pathcch.h.

◆ VOLUME_PREFIX

#define VOLUME_PREFIX   L"\\\\?\\Volume"

Definition at line 48 of file pathcch.h.

◆ VOLUME_PREFIX_LEN

#define VOLUME_PREFIX_LEN   (ARRAYSIZE(VOLUME_PREFIX) - 1)

Definition at line 49 of file pathcch.h.

◆ WINBASEAPI

#define WINBASEAPI   DECLSPEC_IMPORT

This file is part of the mingw-w64 runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 18 of file pathcch.h.

◆ WINPATHCCHAPI

#define WINPATHCCHAPI   WINBASEAPI

Definition at line 27 of file pathcch.h.

Function Documentation

◆ PathAllocCanonicalize()

WINPATHCCHAPI HRESULT APIENTRY PathAllocCanonicalize ( _In_ PCWSTR  pszPathIn,
_In_ ULONG  dwFlags,
_Outptr_ PWSTR ppszPathOut 
)

◆ PathAllocCombine()

WINPATHCCHAPI HRESULT APIENTRY PathAllocCombine ( _In_opt_ PCWSTR  pszPathIn,
_In_opt_ PCWSTR  pszMore,
_In_ ULONG  dwFlags,
_Outptr_ PWSTR ppszPathOut 
)

◆ PathCchAddBackslash()

WINPATHCCHAPI HRESULT APIENTRY PathCchAddBackslash ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath 
)

◆ PathCchAddBackslashEx()

WINPATHCCHAPI HRESULT APIENTRY PathCchAddBackslashEx ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath,
_Outptr_opt_result_buffer_ *pcchRemaining PWSTR ppszEnd,
_Out_opt_ size_t pcchRemaining 
)

◆ PathCchAddExtension()

WINPATHCCHAPI HRESULT APIENTRY PathCchAddExtension ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath,
_In_ PCWSTR  pszExt 
)

◆ PathCchAppend()

WINPATHCCHAPI HRESULT APIENTRY PathCchAppend ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath,
_In_opt_ PCWSTR  pszMore 
)

◆ PathCchAppendEx()

WINPATHCCHAPI HRESULT APIENTRY PathCchAppendEx ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath,
_In_opt_ PCWSTR  pszMore,
_In_ ULONG  dwFlags 
)

◆ PathCchCanonicalize()

WINPATHCCHAPI HRESULT APIENTRY PathCchCanonicalize ( _Out_writes_(cchPathOut) PWSTR  pszPathOut,
_In_ size_t  cchPathOut,
_In_ PCWSTR  pszPathIn 
)

◆ PathCchCanonicalizeEx()

WINPATHCCHAPI HRESULT APIENTRY PathCchCanonicalizeEx ( _Out_writes_(cchPathOut) PWSTR  pszPathOut,
_In_ size_t  cchPathOut,
_In_ PCWSTR  pszPathIn,
_In_ ULONG  dwFlags 
)

◆ PathCchCombine()

WINPATHCCHAPI HRESULT APIENTRY PathCchCombine ( _Out_writes_(cchPathOut) PWSTR  pszPathOut,
_In_ size_t  cchPathOut,
_In_opt_ PCWSTR  pszPathIn,
_In_opt_ PCWSTR  pszMore 
)

◆ PathCchCombineEx()

WINPATHCCHAPI HRESULT APIENTRY PathCchCombineEx ( _Out_writes_(cchPathOut) PWSTR  pszPathOut,
_In_ size_t  cchPathOut,
_In_opt_ PCWSTR  pszPathIn,
_In_opt_ PCWSTR  pszMore,
_In_ ULONG  dwFlags 
)

◆ PathCchFindExtension()

WINPATHCCHAPI HRESULT APIENTRY PathCchFindExtension ( _In_reads_(cchPath) PCWSTR  pszPath,
_In_ size_t  cchPath,
_Outptr_ PCWSTR ppszExt 
)

◆ PathCchIsRoot()

WINPATHCCHAPI BOOL APIENTRY PathCchIsRoot ( _In_opt_ PCWSTR  pszPath)

◆ PathCchRemoveBackslash()

WINPATHCCHAPI HRESULT APIENTRY PathCchRemoveBackslash ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath 
)

◆ PathCchRemoveBackslashEx()

WINPATHCCHAPI HRESULT APIENTRY PathCchRemoveBackslashEx ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath,
_Outptr_opt_result_buffer_ *pcchRemaining PWSTR ppszEnd,
_Out_opt_ size_t pcchRemaining 
)

◆ PathCchRemoveExtension()

WINPATHCCHAPI HRESULT APIENTRY PathCchRemoveExtension ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath 
)

◆ PathCchRemoveFileSpec()

WINPATHCCHAPI HRESULT APIENTRY PathCchRemoveFileSpec ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath 
)

◆ PathCchRenameExtension()

WINPATHCCHAPI HRESULT APIENTRY PathCchRenameExtension ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath,
_In_ PCWSTR  pszExt 
)

◆ PathCchSkipRoot()

WINPATHCCHAPI HRESULT APIENTRY PathCchSkipRoot ( _In_ PCWSTR  pszPath,
_Outptr_ PCWSTR ppszRootEnd 
)

◆ PathCchStripPrefix()

WINPATHCCHAPI HRESULT APIENTRY PathCchStripPrefix ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath 
)

◆ PathCchStripToRoot()

WINPATHCCHAPI HRESULT APIENTRY PathCchStripToRoot ( _Inout_updates_(cchPath) PWSTR  pszPath,
_In_ size_t  cchPath 
)

◆ PathIsUNCEx()

WINPATHCCHAPI BOOL APIENTRY PathIsUNCEx ( _In_ PCWSTR  pszPath,
_Outptr_opt_ PCWSTR ppszServer 
)