Start method

Syntax

HRESULT Start([in] LONG key, [in] LONG mouse, [in] VARIANT_BOOL allow_drag)
// Sets the shortcut key on which is raised the event for starting the capture.

Variables

key
// it can be assigned a combination of the values found in W_KEY enumeration;

mouse
// it can be assigned one of the values in W_MOUSE enumeration;

allow_drag
// it can be set to “true” or “false” depending an either you want to use mouse gesture or not.

Errors

E_INVALIDARG
// an invalid argument is passed to “Start” method.