BB FlashBack SDK: FBFrames

GetCursorAsHandle

Description

Returns the handle to a Win32 icon object containing the cursor image in the selected frame.

Syntax

[C#/C++]
public HICON GetCursorAsHandle (Long lFrameNumber);

[VB.NET]
Public Function GetCursorAsHandle (ByVal lFrameNumber As Long) As HICON

Parameters

lFrameNumber (in) : the number of the frame for which the cursor handle will be retrieved
 

Return Values

If the function fails, the return value is zero.

If the function succeeds, the return value is a HICON - a handle to a Win32 cursor object.

Remarks

The returned icon object should be destroyed by a call to DestroyIcon (Win32), unless the handle is attached to anotehr cursor.