GetClassWord

VB声明
Declare Function GetClassWord Lib "user32" Alias "GetClassWord" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
说明
为窗口类取得一个整数变量
返回值
Long,由nIndex决定。零表示出错。会设置GetLastError
参数表
参数 类型及说明
hwnd Long,欲获得类信息的那个窗口的句柄
nIndex Long,类信息的正偏移量;这些信息是该类的额外字节中分配的
注解

我的迷惑:在某参考书上是这样声明的:Declare Function GetClassWord% Lib "user32" (ByVal hwnd As Long, ByVal nIndex As Long),即函数的返回值为Integer,而从vb自带的api查看器中得到的声明表明返回值是个Long类型