The SetupQueueRenameSection function queues a section in an INF file for renaming. The section must be in the correct rename list section format and the INF file must contain a DestinationDirs section.
BOOL SetupQueueRenameSection(
HSPFILEQ QueueHandle, // handle to the file queue
HINF InfHandle, // handle to the INF file
HINF ListInfHandle, // optional, section INF handle
PCTSTR Section // section that lists the files to rename
);
If the function succeeds, the return value is a non-zero value.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
You cannot queue file moves with SetupQueueRenameSection because the form of a rename list section limits section renaming to within the same directory.
Windows NT: Use version 4.0 and later.
Windows: Use Windows 95 and later.
Windows CE: Unsupported.
Header: Declared in setupapi.h.
Import Library: Link with setupapi.lib.
Overview, Functions, SetupQueueCopySection, SetupQueueDeleteSection, SetupQueueRename