features  •  download  •  add-ons  •  support  •  SDK

Tiny Toolbar SDK. Other commands.

The following applies for all plugin commands mentioned below:
sCommand"set"
sTo"balloon"
Param1.pChar[in] text buffer
Param2.nIntsystem icon ID. Plugin uses LoadIcon(NULL,Param2.nInt) in order to get icon handle
Param3.dwDwordTime to show, in miliseconds. Specify zero here to disable automatic balloon window closing.
Param4reserved
this will show small popup balloon window that will point to plugin's window and display specified text.

sCommand"get"
sTo"balloon"
Param1.pChar[out] text buffer
Param2[in/out] text buffer size
Param3reserved
Param4reserved
this will retrieve balloon window text (in case if it's still visible)

sCommand"set"
sTo"db"
Param1.pChar[in] variable name. It's global variable if its name starts with '_' character, and local otherwise. Global variables are stored in a file on a disk, and are available for all browser instances. Local variables are stored in memory only and are depend on browser instance.
Param2.pVoid[in] data buffer
Param3.dwDword[in] data buffer size in bytes
Param4reserved
this will set variable value. Variable name may contain only digits, numbers, and '_' character

sCommand"get"
sTo"db"
Param1.pChar[in] variable name.
Param2.pVoid[out] data buffer
Param3.dwDword[in] data buffer size in bytes
Param4reserved
this will retrieve variable value

sCommand"Debug"
sTo"db"
Param1.pChar[in] "On" will show debug window
[in] "Off" will close debug window.
Param2reserved
Param3reserved
Param4reserved
this will show/close debug window (similar to choosing 'Debug' item in expert menu)

sCommand"reset_pasword"
sTo"rijndael"
Param1reserved
Param2reserved
Param3reserved
Param4reserved
this will reset password in memory (but not in registry).

sCommand"encode"
sTo"rijndael"
Param1.pVoid[in/put] data buffer
Param2.dwDword[in] data buffer size
Param3reserved
Param4reserved
this will encode data using Rijndael cipher

sCommand"decode"
sTo"rijndael"
Param1.pVoid[in/put] data buffer
Param2.dwDword[in] data buffer size
Param3reserved
Param4reserved
this will decode data using Rijndael cipher

sCommand"file_read"
sTo"rijndael"
Param1.pChar[in] file name
Param2.pVoid[out] data buffer
Param3.dwDword[in] data buffer size
Param4.dwDword[out] number of bytes read
this will load data from file and decode it.

sCommand"file_write"
sTo"rijndael"
Param1.pChar[in] file name
Param2.pVoid[in] data buffer
Param3.dwDword[in] data buffer size
Param4.dwDword[out] number of bytes read
this will encode data and save it to file.







features  •  download  •  add-ons  •  support  •  SDK

Copyright © 1999-2008 SoftCab Inc. All Rights Reserved