SplitCam plugins  1.0.0
Get your own video or still image source as an integral part of SplitCam user interface
Functions
EventHandler

Required event handlers. More...

Functions

const GUID splitcam::plugin::getEventsInterfaceId ()
 
void splitcam::plugin::onLoad ()
 
void splitcam::plugin::onUnload ()
 
void splitcam::plugin::onCanvasSize (size_t width, size_t height)
 
void splitcam::plugin::onPosition (const wchar_t *srcId, int x, int y, size_t width, size_t height)
 

Detailed Description

Required event handlers.

Function Documentation

◆ getEventsInterfaceId()

const GUID splitcam::plugin::getEventsInterfaceId ( )

SplitCam calls this function to get the events interface identifier. The interface identifier defines the function set supported by the current plugin module.

Returns
GUID of the supported events interface version

◆ onCanvasSize()

void splitcam::plugin::onCanvasSize ( size_t  width,
size_t  height 
)

SplitCam calls this function to notify the plugin of the canvas size change initiated by the program user.

Parameters
widthNew canvas width in pixels
heightNew canvas height in pixels

◆ onLoad()

void splitcam::plugin::onLoad ( )

SplitCam calls this function as soon as the plugin module is loaded.

This function call will be followed by init() function call if this plugin is recognized and the function sets are verified by SplitCam.

◆ onPosition()

void splitcam::plugin::onPosition ( const wchar_t *  srcId,
int  x,
int  y,
size_t  width,
size_t  height 
)

SplitCam calls this function every time the plugin layer size or position is changed.

Parameters
srcIdSource instance identifier
xNew layer horizontal position in pixels relative to canvas (may be negative)
xNew layer vertical position in pixels relative to canvas (may be negative)
widthNew layer width in pixels
heightNew layer height in pixels

◆ onUnload()

void splitcam::plugin::onUnload ( )

SplitCam calls this function to notify the plugin that the module is about to be unloaded.

This function call always follows the release() function call.