CLFS_MGMT_POLICY structure [Files]

The CLFS_MGMT_POLICY structure specifies a Common Log File System (CLFS) management policy. The PolicyType member specifies that specific values are used for a policy.

typedef struct _CLFS_MGMT_POLICY {
  ULONG Version;
  ULONG LengthInBytes;
  ULONG PolicyFlags;
  CLFS_MGMT_POLICY_TYPE PolicyType;
  union {
    struct {
      ULONG Containers;
    } MaximumSize;
    struct {
      ULONG Containers;
    } MinimumSize;
    struct {
      ULONG SizeInBytes;
    } NewContainerSize;
    struct {
      ULONG AbsoluteGrowthInContainers;
      ULONG RelativeGrowthPercentage;
    } GrowthRate;
    struct {
      ULONG MinimumAvailablePercentage;
      ULONG MinimumAvailableContainers;
    } LogTail;
    struct {
      ULONG Percentage;
    } AutoShrink;
    struct {
      ULONG Enabled;
    } AutoGrow;
    struct {
      USHORT PrefixLengthInBytes;
      WCHAR PrefixString[1];
    } NewContainerPrefix;
    struct {
      ULONGLONG NextContainerSuffix;
    } NewContainerSuffix;
    struct {
      USHORT ExtensionLengthInBytes;
      WCHAR ExtensionString[1];
    } NewContainerExtension;
  } PolicyParameters;
} CLFS_MGMT_POLICY, 
 *PCLFS_MGMT_POLICY;

Members

  • Version
    Specifies the version of the log management component headers that the application is compiled with.

    Set this to CLFS_MGMT_POLICY_VERSION.

  • LengthInBytes
    Specifies the length of the entire structure.

  • PolicyFlags
    Reserved. Specify 0 (zero).

  • PolicyType
    Specifies the members used for a specific policy. Valid values are specified by CLFS_MGMT_POLICY_TYPE.

  • PolicyParameters
    Specifies the specific policy this structure describes.

    • MaximumSize
      See ClfsMgmtPolicyMaximumSize.
    • MinimumSize
      See ClfsMgmtPolicyMinimumSize.
    • NewContainerSize
      See ClfsMgmtPolicyNewContainerSize.
    • GrowthRate
      See ClfsMgmtPolicyGrowthRate.
    • LogTail
      See ClfsMgmtPolicyLogTail.
    • AutoShrink
      See ClfsMgmtPolicyAutoShrink.
    • AutoGrow
      See ClfsMgmtPolicyAutoGrow.
    • NewContainerPrefix
      See ClfsMgmtPolicyNewContainerPrefix.
    • NewContainerSuffix
      See ClfsMgmtPolicyNewContainerSuffix.
    • NewContainerExtension
      See ClfsMgmtPolicyNewContainerExtension.

Requirements

Client Requires Windows Vista.
Server Requires Windows Server "Longhorn" or Windows Server 2003 R2.
Header

Declared in Clfsmgmt.h.

See Also

CLFS_MGMT_POLICY_TYPE