RemoveLogPolicy function

Resets the specified policy to its default behavior.

Syntax


BOOL WINAPI RemoveLogPolicy(
  _In_  HANDLE hLog,
  _In_  CLFS_MANAGEMENT_POLICY_TYPE ePolicyType
);

Parameters

hLog [in]

Handle to the log to reset the policy for.

ePolicyType [in]

Specifies the policy to reset. Policy types are enumerated in CLFS_MGMT_POLICY_TYPE.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero (0). To get extended error information, call GetLastError.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Clfsmgmtw32.h

Library

Clfsw32.lib

DLL

Clfsw32.dll

See also

CLFS_MGMT_POLICY
CLFS_MGMT_POLICY_TYPE
QueryLogPolicy

 

 

Community Additions

ADD
Show:
© 2014 Microsoft