/[rdesktop]/jpeg/rdesktop/trunk/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 /jpeg/rdesktop/trunk/disk.c

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

revision 690 by astrand, Thu May 6 08:17:14 2004 UTC revision 696 by astrand, Tue May 11 12:46:39 2004 UTC
# Line 820  disk_query_directory(HANDLE handle, uint Line 820  disk_query_directory(HANDLE handle, uint
820    
821          switch (info_class)          switch (info_class)
822          {          {
823                  case 3: //FIXME: Why 3?                  case FileBothDirectoryInformation:
824    
825                          // If a search pattern is received, remember this pattern, and restart search                          // If a search pattern is received, remember this pattern, and restart search
826                          if (pattern[0] != 0)                          if (pattern[0] != 0)
# Line 840  disk_query_directory(HANDLE handle, uint Line 840  disk_query_directory(HANDLE handle, uint
840                          // Get information for directory entry                          // Get information for directory entry
841                          sprintf(fullpath, "%s/%s", dirname, pdirent->d_name);                          sprintf(fullpath, "%s/%s", dirname, pdirent->d_name);
842    
843                          /* JIF                          /* JIF
844                             printf("Stat: %s\n", fullpath); */                             printf("Stat: %s\n", fullpath); */
845                          if (stat(fullpath, &fstat))                          if (stat(fullpath, &fstat))
846                          {                          {
# Line 890  disk_query_directory(HANDLE handle, uint Line 890  disk_query_directory(HANDLE handle, uint
890                          break;                          break;
891    
892                  default:                  default:
893                            /* FIXME: Support FileDirectoryInformation,
894                               FileFullDirectoryInformation, and
895                               FileNamesInformation */
896    
897                          unimpl("IRP Query Directory sub: 0x%x\n", info_class);                          unimpl("IRP Query Directory sub: 0x%x\n", info_class);
898                          return STATUS_INVALID_PARAMETER;                          return STATUS_INVALID_PARAMETER;

Legend:
Removed from v.690  
changed lines
  Added in v.696

  ViewVC Help
Powered by ViewVC 1.1.26