dos12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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