hb_itemParam()

Creates a copy of an item parameter (outside the eval stack)

Syntax

C Prototype

#include <hbapiitm.h>
hb_itemParam( USHORT uiParam ) --> ( PHB_ITEM )pResult

Arguments

<uiParam> The 1-based parameter to copy and retrieve.

Returns

A pointer to a new copy of the specified item parameter.

Description

Use this function whenever the pointer needs to be accessed after the current function returns; for example, if the pointer is to be copied to a static variable or structure member for later access.

Compare to hb_param(), which simply gets a direct pointer to the item on the stack.

Examples

Status

Ready

Compliance

Compliance is not applicable to API calls.

Files

Library is rtl

Platforms

All

See Also