RE: Can anybody tell me how can I write File atributes?

I need a way for read an write file atributes.

some body can help me?

Moises


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

In FileMon you have code that gets the file name, which you can
easily change to read/write file attributes.
Just change the FileInfoClass from FileNameInformation to
FileBasicInformation, and pass FILE_BASIC_INFORMATION class.
Ti change the attributes, change IRP_MJ_QUERY_INFORMATION to
IRP_MJ_SET_INFORMATION.

Regards, Dejan.

Moises Herrera Vazquez wrote:

Part 1.1 Type: Plain Text (text/plain)
Encoding: quoted-printable


Kind regards, Dejan M. CEO Alfa Co. www.alfasp.com
E-mail: xxxxx@alfasp.com
ICQ#: 56570367
Professional file&system related components and libraries for Win32
developers.
Alfa File Monitor - #1 file monitoring system for Win32 developers.
Alfa File Protector - #1 file protection and hiding system for Win32
developers.
Alfa Units - #1 file and system handling units for Delphi.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com