IdmaObject

This is a base interface which must be supported by all DMA objects.

IdmaObject::IsOfClass

This method must be supported in every implementation of this interface.

Syntax
DmaRC IdmaObject::IsOfClass (
pDmaId pClassId,
pDmaBoolean pbIsOfClass)

Parameters

Name

Mode

Description

pClassId

input

A pointer to the identifier of the class.

pbIsOfClass

output

Returns DMA_TRUE if the object conforms to the selected Class Id.

Description

Returns DMA_TRUE if and only if the object conforms to the selected class. To be conformant, the specified class ID must be an identifier for a class for which the object's class is a subclass. All DMA objects should return DMA_TRUE if the specified class ID is dmaClass_DMA.

Return Values

Name

Description

DMARC_BAD_CLASSID

The supplied identifier does not reference an available class of object.

DMARC_BAD_PARAMETER

(E_INVALIDARG) Invalid input parameter.

DMARC_OK

(S_OK) Success.