* ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.

* syscalls.cc (unlink_nt): Check shared directory for being empty
	before trying to move and mark for deletion.
This commit is contained in:
Corinna Vinschen
2007-03-02 20:04:26 +00:00
parent 3532877889
commit 788e7da136
3 changed files with 65 additions and 2 deletions

View File

@ -79,6 +79,14 @@ typedef enum _FILE_INFORMATION_CLASS
FileMaximumInformation
} FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
typedef struct _FILE_NAMES_INFORMATION
{
ULONG NextEntryOffset;
ULONG FileIndex;
ULONG FileNameLength;
WCHAR FileName[1];
} FILE_NAMES_INFORMATION, *PFILE_NAMES_INFORMATION;
typedef struct _FILE_BOTH_DIR_INFORMATION
{
ULONG NextEntryOffset;