Init method initializes the WaveCyclic miniport object. Initialization includes verification of the hardware using the resources specified in the resource list.
NTSTATUS Init( PUNKNOWN UnknownAdapter, PRESOURCELIST ResourceList, PPORTWAVECYCLIC Port );
Pointer to the IUnknown interface of the adapter object whose miniport object is being initialized. For more information, see the following Remarks section.
Pointer to IResourceList interface of the resource list object that is to be supplied to the miniport driver during initialization. After passing this reference to the miniport driver, the port driver is free to examine the contents of the resource list but will not modify the contents of this list. For more information, see the following Remarks section.
Pointer to the IPortWaveCyclic object that is bound to this miniport driver. The caller specifies a valid, non-NULL pointer for this parameter.
Init returns STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.
The UnknownAdapter and ResourceList parameters are the same pointer values that the adapter driver earlier passed as parameters to the IPortWaveCyclic object's
Init method (see IPort::Init).
The UnknownAdapter, ResourceList, and Port parameters follow the reference-counting conventions for COM objects.
|Header||portcls.h (include Portcls.h)|