FPC_UnloadCode

Syntax

BOOL WINAPI FPC_UnloadCode(HFPC hFPC);

Description

The FPC_UnloadCode function unloads Flash Player ActiveX (OCX) code that was previously loaded using FPC_LoadRegisteredOCX or FPC_LoadOCXCodeFromMemory.

This function should be called only after all F-IN-BOX windows associated with the specified hFPC handle have been destroyed. Failing to ensure this may lead to undefined behavior or resource leaks.