GetBlDrvVersionEx

概述

获取背光灯驱动程序版本。

补充

型号为0x08 PS-345XA系列。


VC++ .NET VC# .NET VB .NET


VC++ .NET

GetBlDrvVersionEx
调用方法 BOOL GetBlDrvVersionEx(int *iMajor, int *iMinor, int *iProduct);
返回值
TRUE : 正常
FALSE : 错误
参数 int *iMajor 驱动程序版本 (整数部分)
int *iMinor 驱动程序版本 (小数部分)
int *iProduct 型号
示例 int ret, iProduct, iMajor, iMinor
ret = GetBlDrvVersionEx(&iMajor, &iMinor, &iProduct);
必要条件
Header : bliocif.h/bliocifconst.h
Library : blioctl.lib

页面顶端

VC# .NET

GetBlDrvVersionEx
调用方法 [DllImport("BlIoctl.dll")] static extern int GetBlDrvVersionEx(ref int iMajor, ref int iMinor, ref int iProduct);
返回值
非0 : 正常
0 : 错误
参数 ref int iMinor 驱动程序版本 (小数部分)
ref int iMajor 驱动程序版本 (整数部分)
ref int iProduct 型号
示例 int ret, iProduct, iMajor, iMinor
ret = GetBlDrvVersionEx(ref iMajor, ref iMinor, ref iProduct);

页面顶端

VB .NET

GetBlDrvVersionEx
调用方法 Declare Function GetBlDrvVersionEx Lib "BlIoctl.dll"(ByRef iMajor As Integer, ByRef iMinor As Integer, ByRef iProduct As Integer)As Integer
返回值
非0 : 正常
0 : 错误
参数 ByRef iMajor As Integer 驱动程序版本 (整数部分)
ByRef iMinor As Integer 驱动程序版本 (小数部分)
ByRef iProduct As Integer 型号
示例 Dim ret As Integer, iProduct, iMajor, iMinor
ret = GetBlDrvVersionEx(iMajor, iMinor, iProduct)

页面顶端