IMiniportWaveRT::Init method (portcls.h)

The Init method initializes the WaveRT miniport driver object.

Syntax

NTSTATUS Init(
  [in] PUNKNOWN      UnknownAdapter,
  [in] PRESOURCELIST ResourceList,
  [in] PPORTWAVERT   Port
);

Parameters

[in] UnknownAdapter

Pointer to the IUnknown interface of the adapter driver object whose miniport driver object is being initialized.

[in] ResourceList

Pointer to the IResourceList interface of a resource-list object. This object specifies the list of hardware resources that the adapter driver has allocated to the miniport driver. The WaveRT port driver can examine the contents of the resource list, but it does not modify the list.

[in] Port

Pointer to the IPortWaveRT interface of the WaveRT port driver. The caller specifies a valid, non-NULL pointer value for this parameter.

Return value

Init returns STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error status code.

Remarks

For more information about the ResourceList parameter, see the IPort::Init topic. The ResourceList and Port parameters follow the reference-counting conventions for COM objects.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later Windows operating systems.
Target Platform Universal
Header portcls.h
IRQL Passive level.

See also

IMiniportWaveRT

IPortWaveRT