3.2.4.2.41.3 RuleType (get) (Opnum 14)
The RuleType (get) method retrieves the rule type of the rule as defined in the FsrmRuleType (section 2.2.1.2.11) enumeration and returns S_OK upon successful completion.
-
[propget, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x02))] HRESULT RuleType( [out, retval] FsrmRuleType* ruleType );
ruleType: Pointer to a variable that upon completion contains the rule type of the rule.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x80070057
E_INVALIDARG
The type parameter is NULL.
Upon receiving this message, the server MUST validate parameters:
Verify that type is not NULL.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
The server MUST set type to the rule type of the rule.