掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
VB.Netで印刷JOBの取得・変更 (ID:114807)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
自己解決。 EnumJobsのpJobをByteにする事により成功しました! <DllImport("winspool.drv", CharSet:=CharSet.Auto, entrypoint:="EnumJobs")> _ Private Shared Function EnumJobs _ (<InAttribute()> ByVal hPrinter As IntPtr, _ <InAttribute()> ByVal FirstJob As Integer, _ <InAttribute()> ByVal NoJobs As Integer, _ <InAttribute()> ByVal Level As Integer, _ <OutAttribute()> ByRef pJob As Byte, _ <InAttribute()> ByVal cdBuf As IntPtr, _ <OutAttribute()> ByRef pcbNeeded As IntPtr, _ <OutAttribute()> ByRef pcReturned As Integer) As Integer End Function
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2020 Takeshi Okamoto All Rights Reserved.