SetupInstallServicesFromInfSection
[New
- Windows NT]
The SetupInstallServicesFromInfSection
function performs service installation and deletion operations specified in a Service
Install
BOOL SetupInstallServicesFromInfSection(
HINF InfHandle, |
// handle to the
open INF file |
PCTSTR SectionName, |
// section to
install |
DWORD Flags |
// controls
installation procedure |
); |
|
Parameters
InfHandle
Supplies the
handle of an INF file that contains a Service Install section.
SectionName
Supplies the
name of the Service Install section to process.
Flags
A flag that
controls the installation.
SPSVCINST_TAGTOFRONT
Move the
service's tag to the front of its group order list.
Return Values
If the
function succeeds, the return value is TRUE.
If the
function fails, the return value is FALSE. To get extended error information,
call GetLastError
See Also