FreeProcInstance

Syntax

void FreeProcInstance(lpProc)

This function frees the function specified by the lpProc parameter from the data segment bound to it by the MakeProcInstance function.

Parameter Type/Description  

lpProc FARPROC Is the procedure-instance address of the function to be freed. It must have been created previously by using the MakeProcInstance function.  

Return Value

None.

Comments

After freeing a procedure instance, attempts to call the function using the freed procedure-instance address will result in an unrecoverable error.