Added some traces to kernel file functions.
diff --git a/dlls/kernel/file.c b/dlls/kernel/file.c
index 7209dfb..ea8202a 100644
--- a/dlls/kernel/file.c
+++ b/dlls/kernel/file.c
@@ -1398,6 +1398,8 @@
IO_STATUS_BLOCK io;
NTSTATUS status;
+ TRACE("%s %d %p %d %p %lx\n", debugstr_w(filename), level, data, search_op, filter, flags);
+
if ((search_op != FindExSearchNameMatch) || (flags != 0))
{
FIXME("options not implemented 0x%08x 0x%08lx\n", search_op, flags );
@@ -1495,6 +1497,8 @@
FILE_BOTH_DIR_INFORMATION *dir_info;
BOOL ret = FALSE;
+ TRACE("%p %p\n", handle, data);
+
if (handle == INVALID_HANDLE_VALUE)
{
SetLastError( ERROR_INVALID_HANDLE );
@@ -1679,6 +1683,8 @@
OBJECT_ATTRIBUTES attr;
NTSTATUS status;
+ TRACE("%s\n", debugstr_w(name));
+
if (!RtlDosPathNameToNtPathName_U( name, &nt_name, NULL, NULL ))
{
SetLastError( ERROR_PATH_NOT_FOUND );
@@ -1728,6 +1734,8 @@
NTSTATUS status;
HANDLE handle;
+ TRACE("%s %lx\n", debugstr_w(name), attributes);
+
if (!RtlDosPathNameToNtPathName_U( name, &nt_name, NULL, NULL ))
{
SetLastError( ERROR_PATH_NOT_FOUND );
@@ -1782,6 +1790,8 @@
UNICODE_STRING nt_name;
OBJECT_ATTRIBUTES attr;
NTSTATUS status;
+
+ TRACE("%s %d %p\n", debugstr_w(name), level, ptr);
if (level != GetFileExInfoStandard)
{
@@ -1854,6 +1864,8 @@
HANDLE handle;
DWORD ret = INVALID_FILE_SIZE;
+ TRACE("%s %p\n", debugstr_w(name), size_high);
+
if (!RtlDosPathNameToNtPathName_U( name, &nt_name, NULL, NULL ))
{
SetLastError( ERROR_PATH_NOT_FOUND );