RemoveLogPolicy function (clfsmgmtw32.h)
Resets the specified policy to its default behavior.
Syntax
CLFSUSER_API BOOL RemoveLogPolicy(
[in] HANDLE hLog,
[in] CLFS_MGMT_POLICY_TYPE ePolicyType
);
Parameters
[in] hLog
Handle to the log to reset the policy for.
[in] ePolicyType
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
Target Platform | Windows |
Header | clfsmgmtw32.h |
Library | Clfsw32.lib |
DLL | Clfsw32.dll |