Site Tools


documentation:development:opera:pf25:ppgfldr:pgsfldr:spr:01spr090

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()


documentation/development/opera/pf25/ppgfldr/pgsfldr/spr/01spr090.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1