Invalid object name when ZwSetInformationFile(,,,,FileRenameInformation)?

Hi all,
I used ZwSetInformationFile() to rename a network file object.
But I always get 0xC0000033 --Object name Invalid.
I use : L"\??\UNC\computer1\folder1\filename1" and
L"\\computer1\folder1\filename1" as renameInformation->FileName.
( this new file filename1 does not exist).

Do any one have any idea about the new network file name format for
ZwSetInformationFile(,FileRenameInformation)?

Thanks in advance.

Laura.


Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com

You have a few options.

  1. Read the NT Insider article on filtering rename operations. This describes the valid formats for the filename.
  2. Filter a rename request that you know works and examine how the new filename is specified in the IRP.

-----Original Message-----
From: gaoren [mailto:xxxxx@yahoo.ca]
Sent: Friday, July 05, 2002 7:53 AM
To: File Systems Developers
Subject: [ntfsd] Invalid object name when ZwSetInformationFile(,FileRenameInformation)?

Hi all,
I used ZwSetInformationFile() to rename a network file object.
But I always get 0xC0000033 --Object name Invalid.
I use : L"\??\UNC\computer1\folder1\filename1" and
L"\\computer1\folder1\filename1" as renameInformation->FileName.
( this new file filename1 does not exist).

Do any one have any idea about the new network file name format for
ZwSetInformationFile(,FileRenameInformation)?

Thanks in advance.

Laura.


Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com


You are currently subscribed to ntfsd as: xxxxx@inin.com
To unsubscribe send a blank email to %%email.unsub%%