WdfCompanionCreate function (wdfcompanion.h)

For internal use only.

Syntax

NTSTATUS WdfCompanionCreate(
  [in, out]      PWDFDEVICE_INIT        *DeviceInit,
  [in, optional] PWDF_OBJECT_ATTRIBUTES DeviceAttributes,
  [out]          WDFCOMPANION           *Companion
);

Parameters

[in, out] DeviceInit

[in, optional] DeviceAttributes

[out] Companion

Requirements

Requirement Value
Target Platform Windows
Minimum UMDF version 2.23
Header wdfcompanion.h
IRQL PASSIVE_LEVEL