IAzBizRuleInterfaces::GetInterfaceValue method (azroles.h)

The GetInterfaceValue method gets the ID and flags of the interface that corresponds to the specified interface name.

Syntax

HRESULT GetInterfaceValue(
  [in]  BSTR    bstrInterfaceName,
  [out] LONG    *lInterfaceFlag,
  [out] VARIANT *varInterface
);

Parameters

[in] bstrInterfaceName

A string that contains the interface name.

[out] lInterfaceFlag

A pointer to the flags associated with the interface name.

[out] varInterface

A pointer to the ID associated with the interface name.

Return value

If the method succeeds, it returns S_OK.

If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header azroles.h

See also

AddInterface

IAzBizRuleInterfaces