tst: winfsp-tests: initial network share support

This commit is contained in:
Bill Zissimopoulos
2016-10-25 11:04:53 -07:00
parent 7f2426271c
commit 310fd23035
8 changed files with 197 additions and 23 deletions

View File

@ -10,7 +10,10 @@ int memfs_running;
void *memfs_start_ex(ULONG Flags, ULONG FileInfoTimeout)
{
if (-1 == Flags)
{
memfs_running = 1;
return 0;
}
MEMFS *Memfs;
NTSTATUS Result;
@ -47,11 +50,11 @@ void *memfs_start(ULONG Flags)
void memfs_stop(void *data)
{
memfs_running = 0;
if (0 == data)
return;
memfs_running = 0;
MEMFS *Memfs = data;
MemfsStop(Memfs);