Jump to content

WinFreeFileIcon: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Line 25: Line 25:


==Related Functions==
==Related Functions==
* WinSetFileIcon
* [[WinSetFileIcon]]
* WinLoadFileIcon
* WinLoadFileIcon


[[Category:Win]]
[[Category:Win]]

Revision as of 14:46, 4 November 2023

This function frees an icon pointer that was originally allocated by WinLoadFileIcon.

Syntax

WinFreeFileIcon(hptr)

Parameters

hptr (HPOINTER) - input
A pointer to an icon loaded by WinLoadFileIcon.

Returns

rc (BOOL) - returns
Success indicator.
TRUE
Successful completion
FALSE
Error occurred.

Example Code

Definition

#define INCL_WINWORKPLACE
#include <os2.h>

HPOINTER    hptr;  /*  A pointer to an icon loaded by WinLoadFileIcon. */
BOOL        rc;    /*  Success indicator. */

rc = WinFreeFileIcon(hptr);

Related Functions