User manual - GUIライブラリマニュアルver.1.01(2012年3月29日)
23
3.2.13 CpUnicodeOut
Unicode 文字列をプリンタ用コード(JIS 内部/Shift-JIS)に変換して出力します。
[C++]
int CpUnicodeOut (
HANDLE
hPrinter
,
HDC
hdc
,
LPCTSTR
lpszString
,
UINT
cbCount
)
[Visual Basic]
Declare Function CpUnicodeOut(
ByVal
hPrinter
As Integer, _
ByVal
hdc
As Integer, _
ByVal
lpszString
As String, _
ByVal
cbCount
As Integer
) As Integer
[C#]
Int32 CpUnicodeOut (
Int32
hPrinter
, _
Int32
hdc
, _
String
lpszString
, _
Int32
cbCount
)
解説
本関数は、Unicode 文字列をプリンタ用コード(JIS 内部/Shift-JIS)に変換して出力します。
パラメータ
hPrinter
オープンしたプリンタのハンドルを指定します。
hdc
デバイスコンテキストを指定します。
lpszString
文字列のアドレスを指定します。
cbCount
文字数を指定します。