SetChangeVolProc: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
his function allows you to notify user about changing a volume when packing files.
his function allows you to notify user about changing a volume when packing files.


   void __stdcall SetChangeVolProc (HANDLE hArcData, tChangeVolProc pChangeVolProc1);
   void __stdcall SetChangeVolProc (HANDLE hArcData, [[tChangeVolProc]] pChangeVolProc1);


== Description ==
== Description ==


''pChangeVolProc1'' contains a pointer to a function that you may want to call when notifying user to change volume (e.g. insterting another diskette). You need to store the value at some place if you want to use it; you can use ''hArcData'' that you have returned by [[OpenArchive]] to identify that place.
''pChangeVolProc1'' contains a pointer to a function that you may want to call when notifying user to change volume (e.g. insterting another diskette). You need to store the value at some place if you want to use it; you can use ''hArcData'' that you have returned by [[OpenArchive]] to identify that place.

Revision as of 15:00, 18 April 2006

his function allows you to notify user about changing a volume when packing files.

 void __stdcall SetChangeVolProc (HANDLE hArcData, tChangeVolProc pChangeVolProc1);

Description

pChangeVolProc1 contains a pointer to a function that you may want to call when notifying user to change volume (e.g. insterting another diskette). You need to store the value at some place if you want to use it; you can use hArcData that you have returned by OpenArchive to identify that place.