Initializes the head of a Storport managed singly linked list.
ULONG StorPortInitializeSListHead( PVOID HwDeviceExtension, PSTOR_SLIST_HEADER SListHead );
A pointer to the hardware device extension for the host bus adapter (HBA).
A pointer to an STOR_SLIST_HEADER structure that represents the head of a singly linked list. This structure is considered opaque and is for use by the Storport driver only.
StorPortInitializeSListHead returns one of the following status codes:
||This function is not implemented on the active operating system.|
||The list head pointed to by SListHead was initialized successfully.|
||The pointer in SListHead is NULL.|
When allocated by the caller, the STOR_SLIST_HEADER structure pointed to by SListHead must be aligned at a MEMORY_ALLOCATION_ALIGNMENT boundary. MEMORY_ALLOCATION_ALIGNMENT is defined in miniport.h.
When memory for the list head is freed, any deallocation code must account for the original location of the buffer containing the list head structure prior to the adjustment for MEMORY_ALLOCATION_ALIGNMENT.
|Windows version||Available in starting with Windows 8.|
|Header||storport.h (include Storport.h)|