L_GetDefaultAreaOption

#include "l_bitmap.h"

L_LTSCR_API L_INT L_GetDefaultAreaOption(pCaptureAreaOption, uStructSize)

pLEADCAPTUREAREAOPTION pCaptureAreaOption;

/* pointer to the area option structure */

L_UINT uStructSize;

/* size in bytes, of the structure pointed to by pCaptureAreaOption */

Resets the passed area option structure to its default values.

Parameter

Description

pCaptureAreaOption

Pointer to the area option structure to be reset to its default values.

uStructSize

Size in bytes, of the structure pointed to by pCaptureAreaOption, for versioning. Use sizeof(LEADCAPTUREAREAOPTION).

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function resets the passed area option structure to its default values.

Required DLLs and Libraries

LTSCR

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_CaptureArea, L_CaptureAreaOptionDlg

Topics:

Screen Capture API Function Groups: Getting Information Functions

 

Implementing Screen Capture

Example

For an example, refer to L_CaptureArea.