WdfObjectIsCustomType macro

[Applies to KMDF and UMDF]

The WdfObjectIsCustomType macro determines whether a framework object is of a specified custom type.

Syntax


BOOLEAN WdfObjectIsCustomType(
  [in]  Handle,
  [in]  Type
);

Parameters

Handle [in]

A handle to a framework object.

Type [in]

The symbol name of a custom type.

Return value

Returns TRUE if the specified object is of the specified custom type. Otherwise, returns FALSE.

Remarks

For more information about object custom types, see Framework Object Custom Types.

Requirements

Target platform

Universal

Minimum KMDF version

1.11

Minimum UMDF version

2.0

Header

Wdfobject.h (include Wdf.h)

See also

WDF_DECLARE_CUSTOM_TYPE
WdfObjectAddCustomType
WdfObjectAddCustomTypeWithData
WdfObjectGetCustomTypeData

 

 

Send comments about this topic to Microsoft

Show: