BOOL SetupInstallFromInfSection(
HWND Owner, // optional,
handle of a parent window
HINF InfHandle, // handle to
the INF file
PCTSTR SectionName, // name of the Install
section
UINT Flags, // which
lines to install from section
HKEY RelativeKeyRoot, // optional, key for
registry installs
PCTSTR SourceRootPath, // optional, path for
source files
UINT CopyFlags, // optional,
specifies copy behavior
PSP_FILE_CALLBACK MsgHandler,
// optional, specifies callback routine
PVOID Context, // optional,
callback routine context
HDEVINFO DeviceInfoSet, // optional, device
information set
PSP_DEVINFO_DATA DeviceInfoData // optional, device info
structure);
What is the MsgHandler & Context and how do I set them up (create it)? Is
there other fuction calls used to create these parameters? If you could
supply an example, I would appreciate it. Also, do you know of any
reference materials besides Microsoft's online (MSDN) material that would
document setupapi functions and provide examples?
Thanks for the help.
Gaza68
ggue...@mmm.com
Opinions expressed herein are my own and may not represent those of my employer.