I try using ZwSetInformationFile() to do the rename. But sometime call
ZwCreateFile() got 0xc0000043 error (STATUS_SHARING_VIOLATION) so I can
not get the file handle. Any one can help?
Dispo = FILE_OPEN_IF;
status =
ZwCreateFile( &h, GENERIC_READ|GENERIC_WRITE|DELETE|SYNCHRONIZE, &oa,
----- Original Message -----
From: “jjqin” To: “File Systems Developers” Sent: Wednesday, September 03, 2003 5:34 PM Subject: [ntfsd] ZwCreateFile got 0xc0000043 error
> I try using ZwSetInformationFile() to do the rename. But sometime call > ZwCreateFile() got 0xc0000043 error (STATUS_SHARING_VIOLATION) so I can > not get the file handle. Any one can help? > > Dispo = FILE_OPEN_IF; > status = > ZwCreateFile( &h, GENERIC_READ|GENERIC_WRITE|DELETE|SYNCHRONIZE, &oa, > > &iosb, > NULL, > FILE_ATTRIBUTE_NORMAL, > 0, Dispo, > FILE_RANDOM_ACCESS|FILE_SYNCHRONOUS_IO_NONALERT|FILE_NON_DIRECTORY_FILE, > NULL, > 0); > > Thanks in advance, > > JianJing Qin > > — > You are currently subscribed to ntfsd as: xxxxx@linkwave.org > To unsubscribe send a blank email to xxxxx@lists.osr.com