IsItemOpened

Determines whether a task or thread has opened a given item.

Synopsis

Err IsItemOpened( Item task, Item i )

Description

This function determines whether a task or thread has currently got an item opened.

Arguments

task
The task or thread to inquire about. For the current task, use:
KernelBase->kb_CurrentTask>
i
The number of the item to verify.

Return Value

This function returns >=0 if the item was opened, or a negative error code if it is not, or if the parameters are bogus.

Implementation

Folio call implemented in kernel folio V24.

Associated Files

item.h
ANSI C Prototype
clib.lib
ARM Link Library

See Also

OpenItem(), CloseItem(), CheckItem(), LookupItem()