SetupRemoveFileLogEntry  1331SYB 

[New - Windows NT]

The SetupRemoveFileLogEntry function removes an entry or section from a file log.

BOOL SetupRemoveFileLogEntry(

    HSPFILELOG FileLogHandle,

// handle to the log file

    PCTSTR LogSectionName,

// optional, name to group by

    PCTSTR TargetFileName

// optional, name in target dir

   );

 

 

Parameters

FileLogHandle

Supplies the handle to the file log as returned by SetupInitializeFileLogC_BEC. The caller must not have passed SPFILELOG_QUERYONLY when the log file was initialized.

LogSectionName

This optional parameter supplies the name for a logical grouping of names within the log file. Required for non-system logs. Otherwise, LogSectionName is optional.

TargetFileName

This optional parameter supplies the name of the file as it exists on the target. This name should be in whatever format is meaningful to the caller. If not specified, the section specified by LogSectionName is removed. The main section for Windows NT files cannot be removed.

 

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

SetupLogFile