IOERule::Validate method

[IOERule::Validate is no longer available for use as of Windows Vista.]

Validates the criteria and actions associated with the rule.

Syntax

HRESULT Validate(
  [in] DWORD dwFlags
);

Parameters

dwFlags [in]

Type: DWORD

Specifies one of the following values used for validating criteria.

CRIT_FLAG_DEFAULT (0x00000000)

CRIT_FLAG_INVERT (0x00000001)

CRIT_FLAG_MULTIPLEAND (0x00000002)

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates that the rule is valid.
S_FALSE
Indicates that the rule is invalid.
E_FAIL
Indicates that there are no criteria or actions.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
End of client support
Windows XP
End of server support
Windows Server 2003
Product
Outlook Express 6.0
IDL
Oerules.idl
DLL
Msoe.dll (version 6.0 or later)