当前位置:编程学习 > VB >>

下面的api在vb中怎么写

下面的api在vb中怎么写
Function  GetBitmapPkgData(DBuf:PByteArray;
                           MaxLen:integer;
                           DestID,Pid:Byte;
                           bitmap:Hdc;
                           bw,bh:integer;
                           bType:byte;
                           Orect:TRect;
                           EnterMode,StayTime:byte):integer;stdcall;external DllFileName; --------------------编程问答-------------------- PByteArray可以定义为ByRef Byte,然后调用的时候传递字节数组第一个过去。
integer、hdc定义为byval Long,Byte定义为Byval Byte。 --------------------编程问答-------------------- TRect呢 --------------------编程问答-------------------- Private Type RECT
    Left As Long
    Top As Long
    Right As Long
    Bottom As Long
End Type --------------------编程问答-------------------- Private Type RECT
    Left As Long
    Top As Long
    Right As Long
    Bottom As Long
End Type
补充:VB ,  API
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,