Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File Change Triggers...
#5
MSDN Page (SHChangeNotifyRegister)

Not sure what to do with any of this...I'm downloading the Windows SDK because apparently there are examples there. Wish they could just be online. Whatever...9hrs later...

Anyone have other good resources for examples on how to use this?

found this little bit, but not sure about it???
Code:
Copy      Help
BYTE Read_Buffer[ 4096 ];

  ...
  ReadDirectoryChangesW(...Read_Buffer, 4096,...);
  ...

  CFileNotifyInformation notify_info( Read_Buffer, 4096);
  do{
        switch( notify_info.GetAction() )
        {
        case xx:
            notify_info.GetFileName();
        }

  while( notify_info.GetNextNotifyInformation() );


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)