/[rdesktop]/sourceforge.net/trunk/rdesktop/disk.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/disk.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 785 by astrand, Thu Oct 21 08:10:04 2004 UTC revision 786 by astrand, Thu Oct 21 08:13:33 2004 UTC
# Line 551  disk_query_information(NTHANDLE handle, Line 551  disk_query_information(NTHANDLE handle,
551  NTSTATUS  NTSTATUS
552  disk_set_information(NTHANDLE handle, uint32 info_class, STREAM in, STREAM out)  disk_set_information(NTHANDLE handle, uint32 info_class, STREAM in, STREAM out)
553  {  {
554          uint32 device_id, length, file_attributes, ft_high, ft_low;          uint32 length, file_attributes, ft_high, ft_low;
555          char newname[256], fullpath[256];          char newname[256], fullpath[256];
556          struct fileinfo *pfinfo;          struct fileinfo *pfinfo;
557    
# Line 977  disk_query_directory(NTHANDLE handle, ui Line 977  disk_query_directory(NTHANDLE handle, ui
977  static NTSTATUS  static NTSTATUS
978  disk_device_control(NTHANDLE handle, uint32 request, STREAM in, STREAM out)  disk_device_control(NTHANDLE handle, uint32 request, STREAM in, STREAM out)
979  {  {
         uint32 result;  
   
980          if (((request >> 16) != 20) || ((request >> 16) != 9))          if (((request >> 16) != 20) || ((request >> 16) != 9))
981                  return STATUS_INVALID_PARAMETER;                  return STATUS_INVALID_PARAMETER;
982    

Legend:
Removed from v.785  
changed lines
  Added in v.786

  ViewVC Help
Powered by ViewVC 1.1.26