13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FreeLibraryParametersReturn valueCommentshLibModule HANDLE Identifies the loaded library module.None.A DLL must not call the FreeLibrary function within its WEP function.FreeModuleSyntaxParametersReturn valuevoid FreeModule(hModule)function FreeModule(Module: THandle): Bool;This function decreases the reference count of the loaded module by one.When the reference count reaches zero, the memory occupied by themodule is freed.hModuleNone.HANDLE Identifies the loaded module.3.0IIIFreeProclnstanceSyntaxvoid FreeProcInstance(lpProc)proced ure FreeProcInstance(Proc: TFar Proc);This function frees the function specified by the lpProc parameter from thedata segment bound to it by the MakeProclnstance function.Parameters lpProc FARPROC Is the procedure-instance address of thefunction to be freed. It must have been created previouslyby using the MakeProclnstance function.Return valueCommentsNone.After freeing a procedure instance, attempts to call the function using thefreed procedure-instance address will result in an unrecoverable error.FreeResourceSyntaxBOOL FreeResource(hResData)function FreeResource(ResData: THandle): Bool;This function removes a loaded resource from memory by freeing theallocated memory occupied by that resource.Chapter 4, Functions directory 285

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!