WdfObjectGetTypedContextWorker function (wdfobject.h)

[Applies to KMDF and UMDF]

The WdfObjectGetTypedContextWorker method is reserved for internal use only. Use the WdfObjectGetTypedContext macro instead.

Syntax

PVOID WdfObjectGetTypedContextWorker(
  [in] WDFOBJECT                      Handle,
  [in] PCWDF_OBJECT_CONTEXT_TYPE_INFO TypeInfo
);

Parameters

[in] Handle

[in] TypeInfo

Remarks

For more information about the cleanup rules for a framework object hierarchy, see Framework Object Life Cycle.

Requirements

Requirement Value
Target Platform Windows
Header wdfobject.h
DDI compliance rules DriverCreate(kmdf)