求一个C代码定义转换成delphi定义~~ 10
ZBRGetHandleDescription:Getsahandleforaprinterdriver.Syntax:intZBRGetHandle(HANDLE*hP...
ZBRGetHandle
Description: Gets a handle for a printer driver.
Syntax: int ZBRGetHandle(
HANDLE *hPrinter,
char *printerName,
int *printerType,
int *err)
Parameters: hPrinter [out]pointer to returned printer driver handle
printerName [in] pointer to printer driver name
printerType [out]pointer to returned printer type value,
see Appendix B
err [out]pointer to returned error code
Return Value: TRUE successful
FALSE failed
Error Codes: Appendix A
上面是斑马打印机SDK中一个ZBRGetHandle函数的定义,求转换成delphi?
我自己试过这样,但不行
getprintHD:function(var printHD:THandle; printName:pchar; var printType:integer; var err:integer):integer 展开
Description: Gets a handle for a printer driver.
Syntax: int ZBRGetHandle(
HANDLE *hPrinter,
char *printerName,
int *printerType,
int *err)
Parameters: hPrinter [out]pointer to returned printer driver handle
printerName [in] pointer to printer driver name
printerType [out]pointer to returned printer type value,
see Appendix B
err [out]pointer to returned error code
Return Value: TRUE successful
FALSE failed
Error Codes: Appendix A
上面是斑马打印机SDK中一个ZBRGetHandle函数的定义,求转换成delphi?
我自己试过这样,但不行
getprintHD:function(var printHD:THandle; printName:pchar; var printType:integer; var err:integer):integer 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询