To generate a dialog box that prompts the user to insert the next disk or specify a new source path, call SetupPromptForDisk. This function is used by callback routines to generate a user interface when the notification, SPFILENOTIFY_NEEDMEDIA, is sent to the callback routine.
The dialog box generated by SetupPromptForDisk gives the user the option to insert a disk, specify a new source path, or cancel the installation.
You can use flags specified during the call to SetupPromptForDisk to alter the layout and behavior of the dialog box. Using these flags, you can control whether the dialog box includes buttons that allow the user to browse for a new source path, or skip the current file. The flags also enable you to control dialog box behavior such as beeping when first displayed, and the ability be displayed as a foreground window.