User manual - イメージャライブラリマニュアルver.1.06(2012年3月29日)

Table Of Contents
32
3.14 IMGGetImage
静止画を撮影します。
[C++]
int IMGGetImage(
LPBYTE
pImageBuffer
,
LPDWORD
pSize
,
int
nLeft
,
int
nTop
,
int
nRight
,
int
nBottom
,
DWORD
dwSkip
,
DWORD
dwFormat
,
DWORD
dwWhiteValue
)
[Visual Basic]
Public Shared Function IMGGetImage( _
ByRef
pImageBuffer
As Byte, _
ByRef
pSize
As Int32, _
ByVal
nLeft
As Int32, _
ByVal
nTop
As Int32, _
ByVal
nRight
As Int32, _
ByVal
nBottom
As Int32, _
ByVal
dwSkip
As Int32, _
ByVal
dwFormat
As Int32, _
ByVal
dwWhiteValue
As Int32 _
) As Int32
[C#]
public static Int32 IMGGetImage(
ref Byte
pImageBuffer
,
ref Int32
pSize
,
Int32
nLeft
,
Int32
nTop
,
Int32
nRight
,
Int32
nBottom
,
Int32
dwSkip
,
Int32
dwFormat
,
Int32
dwWhiteValue
);
解説
静止画を撮影します。イメージ取得座標、イメージデータのサイズおよびイメージのフォーマットを指定
し、引数で指定されたバッファにイメージデータ、イメージデータのサイズを格納します。
Device Emulator では常に IMG_SUCCESS を返します。