Ets_Icon_Reference()
Note: Requires OPNET Development Kit
Abstract
Increments the reference count for an icon.
Syntax
Ets_Icon_Reference (icon_ptr)
| Argument | Type | Description |
|---|---|---|
icon_ptr |
EtsT_Icon * |
Icon to be referenced. |
Return Type
int
The new reference count for the icon; ETSC_ICON_REF_COUNT_UNDEFINED if unsuccessful.
Header
ets_api_icon.h
Details
The icon must be contained in an icon database that supports reference counting. For example, an icon created using Ets_Icon_From_Text_Create() is placed in the default dynamic icon database and supports reference counting.