#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
pszSubKeyAsStringpszValueNameAsString對于最后一行"}TBSAVEPARAMSA,FAR*LPTBSAVEPARAMSA;"我們只需要用"EndType"取代
PublicTypetagTBSAVEPARAMSAhkrAsLongpszSubKeyAsStringpszValueNameAsStringEndType
shortIntegerintLonglongLongUNITLongULONGLongWORD,DWORDLongWPARAM,LPARAMLongWMSG,UMSGLongHRESULTLongBOOLBooleanCOLORREFLongHWND,HDC,HBRUSH,HKEY,等等.LongLPSTR,LPCSTRStringLPWSTR,OLECHAR,BSTRStringLPTSTRStringVARIANT_BOOLBooleanunsignedcharByteBYTEByteVARIANTVariant(任何以*或**結尾的數據類型)Long
WINCOMMCTRLAPIHWNDWINAPICreateStatusWindowsA(LONGstyle,LPCSTRlpszTest,HWNDhwndParent,UINTwID);
PublicDeclareFunctionCreateStatusWindowALib"ComCtl32.dll"_(ByvalstyleAsLong,_ByvallpszTextAsString,_ByvalhwndParentAsLong,ByvalwIDAsLong)AsLong