SdPortInitialize routine
This routine initializes the slot debug log used to track bus activity.
Syntax
NTSTATUS SdPortInitialize(
_In_ PVOID Argument1,
_In_ PVOID Argument2,
_In_ PSDPORT_INITIALIZATION_DATA InitializationData
);
Parameters
Argument1 [in]
Pointer to DRIVER_OBJECT structure for this driver.Argument2 [in]
Registry path for the driver.InitializationData [in]
Pointer to an SDPORT_INITIALIZATION_DATA structure containing the miniport callbacks. For more information, see SD host miniport callback routines.
Return value
One of the following values will be returned.
| Return code | Description |
|---|---|
| STATUS_SUCCESS | The miniport driver successfully registered with the port driver. |
| STATUS_INSUFFICIENT_RESOURCES | Not enough memory to allocate the driver extension. |
| STATUS_NOT_SUPPORTED | The SdPortInitialize routine was called more than once. |
| STATUS_OBJECT_NAME_COLLISION | A driver extension with the given ClientIdentificationAddress already exists. |
Requirements
Minimum supported client |
Windows 10 |
Minimum supported server |
Windows Server 2016 Technical Preview |
Header |
Sdport.h |
DLL |
Sdport.lib |
IRQL |
_IRQL_requires_max_(PASSIVE_LEVEL) |