features  •  download  •  add-ons  •  support  •  SDK

Tiny Toolbar SDK. The basics.

You will need to create DLL module and export five functions: Initialize, GetInfo, Deinitialize, Event, OnSetup. See Globals.h file for definitions.

int WINAPI Initialize(LPFNCALLBACKPROC pCallback)
The functoin is called after browser process is started. Be aware that different browser windows may and may not belong to the same process.

pCallback - address of callback function. You will need to save it in local variable.


LPPLUGIN_INFORMATION WINAPI GetInfo()
Function must return PLUGIN_INFORMATION structure.

int WINAPI Deinitialize()
This will be called before browser process is closed.

int WINAPI Event(LPPLUGIN_DATA pData)
This is called every time cartain event occurs. You can review list of all available events here.

int WINAPI OnSetup(int nAction)
OnSetup is called when plugin is either installed or upgraded or uninstalled. nAction can be one of the following values:
PLUGIN_INSTALLED - plugin is installed
PLUGIN_BEFORE_UPGRADE - plugin is about to be upgraded/downgraded to newer/older version
PLUGIN_AFTER_UPGRADE - plugin is upgraded/downgraded
PLUGIN_BEFORE_UNINSTALL - plugin is about to be uninstalled. You will need to delete all files and remove all registry entries plugin created






features  •  download  •  add-ons  •  support  •  SDK

Copyright © 1999-2008 SoftCab Inc. All Rights Reserved