dos12.hlp (Table of Contents; Topic list)
DosFreeResource (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSRESOURCES
 
USHORT DosFreeResource(pvData)
PVOID pvData;    /* pointer to data to free */
 
The DosFreeResource function frees memory allocated by a previous call to
the DosGetResource2 function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pvData     Points to the buffer to free. This pointer should have been
           returned by a previous call to the DosGetResource2 function.
 
Return Value
 
The return value is zero if the function is successful. Otherwise, it is an
error value.
 
See Also
 
DosGetResource, DosGetResource2