Skip to content

Commit

Permalink
[SDK] Import PathCch* functions from Wine (reactos#5842)
Browse files Browse the repository at this point in the history
CORE-12686

Isolate PathCch* functions from Wine implementation in kernelbase
(which are mixed with a ton of unrelated stuff).

These functions are compiled into a pathcch.lib library, similarly
to the one in the official MS PSDK. Excepting that here, their actual
implementation is in the library. This contrasts with the one in the
MS PSDK, which is an import library to an apiset DLL.

The pathcch.h header is an original one, that contains SAL annotations
and descriptive parameter names, based on the MinGW and MS PSDK headers.
Wine's header was not used as it is poor and incomplete.

Co-authored-by: Katayama Hirofumi MZ <[email protected]>
  • Loading branch information
HBelusca and katahiromz committed Oct 30, 2023
1 parent 00f192f commit 4666923
Show file tree
Hide file tree
Showing 4 changed files with 1,451 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdk/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ endif()
add_subdirectory(ioevent)
add_subdirectory(lsalib)
add_subdirectory(nt)
add_subdirectory(pathcch)
add_subdirectory(pseh)

if(KDBG)
Expand Down
3 changes: 3 additions & 0 deletions sdk/lib/pathcch/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

add_library(pathcch pathcch.c)
add_dependencies(pathcch xdk)
Loading

0 comments on commit 4666923

Please sign in to comment.