Added some traces to kernel file functions.

This commit is contained in:
Christian Costa 2004-05-22 03:13:56 +00:00 committed by Alexandre Julliard
parent eb04fd22f8
commit fe0460fd2f
1 changed files with 12 additions and 0 deletions

View File

@ -1398,6 +1398,8 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level,
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 @@ BOOL WINAPI FindNextFileW( HANDLE handle, WIN32_FIND_DATAW *data )
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 @@ DWORD WINAPI GetFileAttributesW( LPCWSTR name )
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 @@ BOOL WINAPI SetFileAttributesW( LPCWSTR name, DWORD attributes )
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 @@ BOOL WINAPI GetFileAttributesExW( LPCWSTR name, GET_FILEEX_INFO_LEVELS level, LP
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 @@ DWORD WINAPI GetCompressedFileSizeW(
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 );