SetupQueueDeleteSection  108JKK2 

[New - Windows NT]

The SetupQueueDeleteSection function queues all the files in a section of an INF file for deletion. The section must be in the correct Delete Files.O07.L format and the INF file must contain a DestinationDirsWKMUVK section.

BOOL SetupQueueDeleteSection(

    HSPFILEQ QueueHandle,

// handle to the file queue

    HINF InfHandle,

// handle to the INF file

    HINF ListInfHandle,

// optional, handle to section INF

    PCTSTR Section

// INF section that lists the files to delete

   );

 

 

Parameters

QueueHandle

Supplies a handle to a setup file queue, as returned by SetupOpenFileQueue7Y5P1I.

InfHandle

Supplies a handle to an open INF file that contains the DestinationDirs section. If ListInfHandle is not specified, InfHandle contains the section name. This handle must be for a Windows 95- or Windows NT 4.0-style INF file.

ListInfHandle

This optional parameter points to the handle of an open INF file that contains the section to queue for deletion. If ListInfHandle is not specified, InfHandle is assumed to contain the section name.

Section

Supplies the name of the section to be queued for deletion.

 

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 GetLastError11C2VS7.

See Also

SetupQueueCopySection, SetupQueueDelete, SetupQueueRenameSection