Microsoft Windows CE 3.0  

InsertHeadList

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function inserts an entry at the head of a doubly-linked, driver-managed list.

VOID InsertHeadList(
IN PLIST_ENTRY
ListHead
,
IN PLIST_ENTRY
Entry
);

Parameters

ListHead
Pointer to the driver-allocated storage for the head of the list.

When this parameter is of type LIST_ENTRY, it is doubly linked.

Entry
Pointer to an entry to be inserted in the list.

Remarks

A driver that calls this function can be running at IRQL >= DISPATCH_LEVEL only if the caller-allocated storage for ListHeadis resident and only if pointers to every list entry remain valid at IRQL >= DISPATCH_LEVEL as well.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ntcompat.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

InitializeListHead, InsertTailList, IsListEmpty, RemoveHeadList, RemoveTailList



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.