IMiniportWaveRT::Init method

The Init method initializes the WaveRT miniport driver object.

Syntax


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

Parameters

UnknownAdapter [in]

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

ResourceList [in]

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 [in]

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

Target platform

Universal

Version

Available in Windows Vista and later Windows operating systems.

Header

Portcls.h

IRQL

Passive level.

See also

IPortWaveRT

 

 

Send comments about this topic to Microsoft

Show: