User manual - GUIライブラリマニュアルver.1.01(2012年3月29日)
32
3.2.18 CpGetBarcodeType
裏面バーコードの読取方式を取得します。
[C++]
int CpGetBarcodeType(
HWND
hPrinter
,
DWORD *
pdwType
)
[Visual Basic]
Declare Function CpGetBarcodeType(
ByVal
hPrinter
As Int32, _
ByRef
pdwType
As Int32 _
) As Int32
[C#]
Int32 CpGetBarcodeType(
Int32
hPrinter
,
ref Int32
pdwType
,
)
解説
本関数は、裏面バーコードの読取方式を取得します。
パラメータ
hPrinter
プリンタのハンドルを指定します。
pdwType
裏面バーコードの読取に使用する方式を取得します。取得する値の詳細については、
CpSetBarcodeType関数を参照してください。
戻り値
関数が正常終了した場合は正の値を、それ以外の場合は CP_ERROR を返します。