L_ISISAcquire
#include "l_bitmap.h"
#include "ltisi.h"
L_INT EXT_FUNCTION L_ISISAcquire(hWnd, pBitmap, uStructSize, uFlags)
HWND hWnd; |
/* window handle */ |
pBITMAPHANDLE pBitmap; |
/* pointer to the bitmap handle */ |
L_UINT uStructSize; |
/* size in bytes, of the structure pointed to by pBitmap */ |
L_UINT32 uFlags; |
/* option flags */ |
Loads a bitmap with a scanned image from the specified ISIS device. This function is available in the Document/Medical Toolkits.
Parameter |
Description |
|
hWnd |
Handle of the parent window. |
|
pBitmap |
Pointer to the bitmap handle that references the bitmap to be loaded. |
|
uStructSize |
Size in bytes, of the structure pointed to by pBitmap, for versioning. Use sizeof(BITMAPHANDLE). |
|
uFlags |
Option flags. Valid values are: |
|
|
Value |
Meaning |
|
ISIS_SHOWUI |
[0x0001] Enable the ISIS user interface. |
|
NULL |
[0x0000] Do not show user interface. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
If uFlags is not set, the ISIS user interface will not be activated and the function will only scan the image, using the current scanner driver tags.
Required DLLs and Libraries
LTISI For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Windows 95 / 98 / Me, Windows 2000 / XP.
See Also
Functions: |
|
Topics: |
|
|
Example
For complete sample code, refer to the FRAME.C module of the DEMO example.
BITMAPHANDLE Bitmap;
HWND hWndFrame;
L_VOID ISISAcquire(L_VOID)
{
L_INT nRet;
nRet = L_ISISLoadDriver(NULL);/* load current driver */
if (nRet == SUCCESS)
{
nRet = L_ISISAcquire (hWndFrame,
&Bitmap, sizeof(BITMAPHANDLE),
ISIS_SHOWUI);
L_ISISUnloadDriver();
}
return;
}