AutoPathFormat enumeration (pla.h)
Defines how to decorate the file name or subdirectory name.
Syntax
typedef enum __MIDL___MIDL_itf_pla_0001_0043_0003 {
plaNone = 0,
plaPattern = 0x1,
plaComputer = 0x2,
plaMonthDayHour = 0x100,
plaSerialNumber = 0x200,
plaYearDayOfYear = 0x400,
plaYearMonth = 0x800,
plaYearMonthDay = 0x1000,
plaYearMonthDayHour = 0x2000,
plaMonthDayHourMinute = 0x4000
} AutoPathFormat;
Constants
plaNone Value: 0 Do not decorate the name. |
plaPattern Value: 0x1 Add a pattern to the name. The pattern is specified in the IDataCollector::FileNameFormatPattern or IDataCollectorSet::SubdirectoryFormatPattern property. |
plaComputer Value: 0x2 Prefix the name with the computer name. |
plaMonthDayHour Value: 0x100 Append the month, day, and hour to the name, in the form MMddHH. |
plaSerialNumber Value: 0x200 Append the serial number specified in the IDataCollectorSet::SerialNumber property to the subdirectory name in the form NNNNNN. |
plaYearDayOfYear Value: 0x400 Append the year and day of the year to the name, in the form yyyyDDD. |
plaYearMonth Value: 0x800 Append the year and month to the name, in the form yyyyMM. |
plaYearMonthDay Value: 0x1000 Append the year, month, and day to the name, in the form yyyyMMdd. |
plaYearMonthDayHour Value: 0x2000 Append the year, month, day, and hour to the name, in the form yyyyMMddHH. |
plaMonthDayHourMinute Value: 0x4000 Append the month, day, hour, and minute to the name, in the form MMddHHmm. |
Remarks
Patterns apply to files and subdirectories in the same way.
For details on patterns, see the Remarks section of FileNameFormatPattern.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | pla.h |