Welcome to shell: revealed Sign in | Join | Help
in Search

SHFileOperation in Vista

Last post 07-31-2008, 11:03 AM by iunknown21. 4 replies.
Sort Posts: Previous Next
  •  02-19-2008, 11:28 PM 7746

    SHFileOperation in Vista

    Does Windows explorer still use the SHFileOperation for file operations in Vista?  I guess I could try to do an API trace, but I figured I would ask first.

    thanks 

    Gene 

     

    Filed under: , ,
  •  02-20-2008, 11:02 AM 7749 in reply to 7746

    Re: SHFileOperation in Vista

    Unlike 2000, 2003 and XP, It LOOKS like Vista Windows Explorer is NOT calling SHFileOperation for file operations or at least APISpy isn't picking it up. 

    Does anyone know if the Vista shell has implemented IFileOperation to do file copies itself?  If so, can I set a IFileOperationProcessSink for the IFileOperation that Explorer is using? 

     thanks

     Gene

  •  02-29-2008, 1:42 PM 7768 in reply to 7749

    Re: SHFileOperation in Vista

    In Vista, the shell is using IFileOperation.  Unfortunately, only the caller can specify a IFileOperationProgressSink (in their code) so you cannot hook into all operations in the shell to get sink events.  Of course, if you are running as a part of the shell (as an extension) you can initiate the operatation and listen for sink events involving your operation.  What is it exactly that your are trying to accomplish?


    Christopher Davis (Shell)
  •  04-06-2008, 10:13 PM 7854 in reply to 7768

    Re: SHFileOperation in Vista

    Hey Christopher,

    Sorry I didn't reply to you earlier, for some reason I thought I would have gotten an e-mail if anyone responded...d'oh!  Oh yeah...and I lost my login (hence my new login name)

    I need record/block Copy/Rename/Move and Delete folder and file operations when they are made via the shell.  I have this on 2000/XP/2003, but vista doesn't use SHFileOperation so my API Hook can't do it's magic and therefore I'm not able to support customers who have Vista. 

    Any ideas?

    Thanks again,

    Gene  

     

     

  •  07-31-2008, 11:03 AM 8030 in reply to 7854

    Re: SHFileOperation in Vista

    I'm still trying to figure this out. 

    Any guidance or advice would be great!

    Gene

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems © 2006 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement.