The SetupQueueRename function places an individual file rename operation on a setup file queue.
BOOL SetupQueueRename(
HSPFILEQ QueueHandle, // handle to the file queue
PCTSTR SourcePath, // path to the file to rename
PCTSTR SourceFileName, // optional, source filename
PCTSTR TargetPath, // optional, new path for file
PCTSTR TargetFileName // optional, new name for file
);
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.
Since rename operations are assumed to take place on fixed media, the user will not be prompted when the queue is committed.
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, SetupQueueDelete, SetupQueueCopy, SetupQueueRenameSection