IG_GUI_scan_window_create
This function creates a scanner window.
Declaration:
| |
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_GUI_scan_window_create(
HWND hwndParent,
DWORD dwPageGrp,
DWORD dwStyle,
const LPSTR lpcszTitle,
INT x,
INT y,
INT nWidth,
INT nHeight,
HWND FAR* lphwndScan
);
|
Arguments:
| Name |
Type |
Description |
| hwndParent |
HWND |
HWND for the parent window. |
| dwPageGrp |
DWORD |
The page for the scanner window. |
| dwStyle |
DWORD |
Window style bits. |
| lpcszTitle |
const LPSTR |
Window title. |
| x |
INT |
X position of the window. |
| y |
INT |
Y position of the window. |
| nWidth |
INT |
Window width. |
| nHeight |
INT |
Window height. |
| lphwndScan |
HWND FAR* |
The handle to the created scanner window. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
C GuiScan