Implement the utility DLL for the Btrfs file system

svn path=/trunk/; revision=70934
This commit is contained in:
Pierre Schweitzer
2016-03-05 10:22:15 +00:00
parent 35050b07f8
commit bdcc0812c3
5 changed files with 44 additions and 0 deletions
+1
View File
@@ -207,6 +207,7 @@ add_subdirectory(tapiui)
add_subdirectory(themeui)
add_subdirectory(traffic)
add_subdirectory(twain_32)
add_subdirectory(ubtrfs)
add_subdirectory(uext2)
add_subdirectory(ufat)
add_subdirectory(ufatx)
+13
View File
@@ -0,0 +1,13 @@
spec2def(ubtrfs.dll ubtrfs.spec)
list(APPEND SOURCE
ubtrfs.c
ubtrfs.rc
${CMAKE_CURRENT_BINARY_DIR}/ubtrfs.def)
add_library(ubtrfs SHARED ${SOURCE})
set_module_type(ubtrfs nativedll)
target_link_libraries(ubtrfs btrfslib)
add_importlibs(ubtrfs ntdll)
add_cd_file(TARGET ubtrfs DESTINATION reactos/system32 FOR all)
+23
View File
@@ -0,0 +1,23 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: BTRFS File System Management
* FILE: dll/win32/ubtrfs/ubtrfs.c
* PURPOSE: ubtrfs DLL initialisation
*
* PROGRAMMERS: Pierre Schweitzer
*/
#include <windef.h>
INT WINAPI
DllMain(
IN HINSTANCE hinstDLL,
IN DWORD dwReason,
IN LPVOID lpvReserved)
{
UNREFERENCED_PARAMETER(hinstDLL);
UNREFERENCED_PARAMETER(dwReason);
UNREFERENCED_PARAMETER(lpvReserved);
return TRUE;
}
+5
View File
@@ -0,0 +1,5 @@
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "BTRFS File System Management"
#define REACTOS_STR_INTERNAL_NAME "ubtrfs"
#define REACTOS_STR_ORIGINAL_FILENAME "ubtrfs.dll"
#include <reactos/version.rc>
+2
View File
@@ -0,0 +1,2 @@
@ stdcall ChkdskEx(ptr long long long long ptr) BtrfsChkdsk
@ stdcall FormatEx(ptr long ptr long long ptr) BtrfsFormat