The SPFILENOTIFY_NEEDMEDIA notification is sent to the callback routine when new media or a new cabinet file is required.
SPFILENOTIFY_NEEDMEDIA
Param1 = (UINT) SourceMediaInfo;
Param2 = (UINT) NewPathInfo;
The callback routine should return one of the following.
Value | Meaning |
---|---|
FILEOP_NEWPATH | The media is present and the requested file is available at the win32 path specified in the buffer pointed to by Param2. |
FILEOP_SKIP | Skip the requested file |
FILEOP_ABORT | Abort queue processing. The SetupCommitFileQueue function returns FALSE. GetLastError returns extended error information, such as ERROR_CANCELLED if the user canceled. |
FILEOP-DOIT | The media is available. |
Windows NT: Use version 4.0 and later.
Windows: Use Windows 95 and later.
Windows CE: Unsupported.
Header: Declared in setupapi.h.
Overview, Notifications, SetupCommitFileQueue, SetupDefaultQueueCallback, SOURCE_MEDIA