winfsp-tests: memfs

This commit is contained in:
Bill Zissimopoulos
2016-01-12 19:49:09 -08:00
parent 240c914728
commit 5d558334cd
5 changed files with 129 additions and 0 deletions

23
tst/winfsp-tests/memfs.h Normal file
View File

@ -0,0 +1,23 @@
/**
* @file memfs.h
*
* @copyright 2015 Bill Zissimopoulos
*/
#ifndef MEMFS_H_INCLUDED
#define MEMFS_H_INCLUDED
#include <winfsp/winfsp.h>
typedef struct _MEMFS
{
FSP_FILE_SYSTEM *FileSystem;
ULONG MaxFileNodes;
ULONG MaxFileSize;
} MEMFS;
NTSTATUS MemfsCreate(PWSTR DevicePath, ULONG MaxFileNodes, ULONG MaxFileSize,
MEMFS **PMemfs);
VOID MemfsDelete(MEMFS *Memfs);
#endif