IMiniportWavePci::Init
The Init method initializes the WavePci miniport object. Initialization includes verification of the hardware using the resources specified in the resource list.
NTSTATUS
Init(
IN PUNKNOWN UnknownAdapter,
IN PRESOURCELIST ResourceList,
IN PPORTWAVEPCI Port,
OUT PSERVICEGROUP *ServiceGroup
);
Parameters
- UnknownAdapter
- Pointer to the IUnknown interface of the adapter object whose miniport object is being initialized. See the following Comments section.
- ResourceList
- Pointer to IResourceList interface of 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. See the following Comments section.
- Port
- Pointer to the port driver’s IPortWavePci interface object. The caller specifies a valid, non-NULL pointer value for this parameter.
- ServiceGroup
- Output pointer for the service group. This parameter points to a caller-allocated pointer variable into which the method writes a pointer to the IServiceGroup interface of the miniport driver's service-group object. This is the service group that is being registered for interrupt notification. 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 code.
Headers
Declared in portcls.h. Include portcls.h.
Comments
The UnknownAdapter and ResourceList parameters are the same pointer values that the adapter driver earlier passed as parameters to the IPortWavePci object's Init method (see IPort::Init).
The UnknownAdapter, ResourceList, Port, and ServiceGroup parameters follow the reference-counting conventions for COM objects.
The Init method is called at IRQL PASSIVE_LEVEL.
See Also
IResourceList, IPortWavePci, IServiceGroup