|
static |
The function initializes ApplicationAPI and must be called at the very first place.
lpszPath | Full path to application Drive.exe. |
pfnApplicationEventHandler | Delegate of APPLICATION_HANDLEPROC type. Can be used to process events generated by Drive. Supported events are enumerated in ApplicationEvents. |
nLeft | x-coordinate of Drive top left corner. |
nTop | y-coordinate of Drive top left corner. |
nWidth | Width of Drive in pixels. |
nHeight | Height of Drive in pixels. |
bRunInForeground | Indicates whether Drive shall be brought to foreground after initialization. |
The function initializes ApplicationAPI and starts Drive.exe.
This function should be called just once at the beginning. Before start Drive repeatedly use CloseApi method first.
If Handler is set to null events will not be processed.