Add the FFS DLL

CORE-11040

svn path=/trunk/; revision=71424
This commit is contained in:
Pierre Schweitzer 2016-05-27 12:05:40 +00:00
parent 126b96aee1
commit c8fc495780
5 changed files with 44 additions and 0 deletions

View file

@ -212,6 +212,7 @@ add_subdirectory(ubtrfs)
add_subdirectory(uext2)
add_subdirectory(ufat)
add_subdirectory(ufatx)
add_subdirectory(uffs)
add_subdirectory(untfs)
add_subdirectory(updspapi)
add_subdirectory(ureiserfs)

View file

@ -0,0 +1,13 @@
spec2def(uffs.dll uffs.spec)
list(APPEND SOURCE
uffs.c
uffs.rc
${CMAKE_CURRENT_BINARY_DIR}/uffs.def)
add_library(uffs SHARED ${SOURCE})
set_module_type(uffs nativedll)
target_link_libraries(uffs ffslib)
add_importlibs(uffs ntdll)
add_cd_file(TARGET uffs DESTINATION reactos/system32 FOR all)

View file

@ -0,0 +1,23 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: FFS File System Management
* FILE: dll/win32/uffs/uffs.c
* PURPOSE: uffs 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;
}

View file

@ -0,0 +1,5 @@
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "FFS File System Management"
#define REACTOS_STR_INTERNAL_NAME "uffs"
#define REACTOS_STR_ORIGINAL_FILENAME "uffs.dll"
#include <reactos/version.rc>

View file

@ -0,0 +1,2 @@
@ stdcall ChkdskEx(ptr long long long long ptr) FfsChkdsk
@ stdcall FormatEx(ptr long ptr long long ptr) FfsFormat