MI_Filter_Evaluate function (mi.h)

The provider calls this function to evaluate an instance against a given filter.

Syntax

MI_INLINE MI_Result MI_INLINE_CALL MI_Filter_Evaluate(
  [in]  const MI_Filter   *self,
  [in]  const MI_Instance *instance,
  [out] MI_Boolean        *result
);

Parameters

[in] self

This is a pointer to the filter the instance will be evaluated against.

[in] instance

This is a pointer to the instance to evaluate.

[out] result

When the API completes, result indicates whether the instance matched the filter.

Return value

This function returns MI_INLINE MI_Result MI_INLINE_CALL.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header mi.h
Redistributable Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2