IMiniportWaveRT::Init method

The Init method initializes the WaveRT miniport driver object.

Syntax

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

Parameters

UnknownAdapter

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

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.

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

   
Windows version Available in Windows Vista and later Windows operating systems.
Target Platform Universal
Header portcls.h
IRQL Passive level.

See Also

IMiniportWaveRT

IPortWaveRT