Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

setupapi.h help

0 views
Skip to first unread message

gaza68

unread,
Jul 14, 1998, 3:00:00 AM7/14/98
to
I need help with the PSP_FILE_CALLBACK MsgHandler & PVOID Context parameters
in the following function:


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.


0 new messages