p>#defineSTD_COPY1//COMMCTRL.H
PublicConstSTD_COPY=1
#defineLB_SELECTSTRING0x018C//WINUSER.h
ConstLB_SELECTSTRING=0x018C
#defineTCN_FIRST(0U-550U)
ConstTCN_FIRST=(0-550)这同样适合以"L"结尾的值
typedefstructtagTBSAVEPARAMSA{
HKEYhkr;
LPCSTRpszSubKey;
LPCSTRpszValueName;
}TBSAVEPARAMSA,FAR*LPTBSAVEPARAMSA;
PublicTypetagTBSAVEPARAMSA
HKEYhkr;
LPCSTRpszSubKey;
LPCSTRpszValueName;
hkrAsLong
pszSubKeyAsString
pszValueNameAsString
对于最后一行"}TBSAVEPARAMSA,FAR*
LPTBSAVEPARAMSA;"我们只需要用
"EndType"取代
PublicTypetagTBSAVEPARAMSA
hkrAsLong
pszSubKeyAsString
pszValueNameAsString
EndType
shortInteger
intLong
longLong
UNITLong
ULONGLong
WORD,DWORDLong
WPARAM,LPARAMLong
WMSG,UMSGLong
HRESULTLong
BOOLBoolean
COLORREFLong
HWND,HDC,HBRUSH,HKEY,等等.Long
LPSTR,LPCSTRString
LPWSTR,OLECHAR,BSTRString
LPTSTRString
VARIANT_BOOLBoolean
unsignedcharByte
BYTEByte
VARIANTVariant
(任何以*或**结尾的数据类型)Long
WINCOMMCTRLAPIHWNDWINAPI
CreateStatusWindowsA(LONGstyle,
LPCSTRlpszTest,HWNDhwndParent,UINTwID);
PublicDeclareFunctionCreateStatusWindowALib
"ComCtl32.dll"_
(ByvalstyleAsLong,_
ByvallpszTextAsString,_
ByvalhwndParentAsLong,ByvalwIDAsLong)AsLong
文章来源于领测软件测试网 https://www.ltesting.net/
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073










