CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  VB >  基础类

重分求解:下列dll里的结构,函数,回调函数怎么在VB里声明后使用?

楼主superinsect(superinsect)2006-03-03 20:52:55 在 VB / 基础类 提问

typedef   int (*   PS_PROGRESS)(int,LPARAM);  
   
  typedef   struct   tag_TextInfo  
  {  
  char szCaption[MAX_PATH];  
  LOGFONT lfTextFont;  
  COLORREF         clFontColor;  
  BYTE                 btPosition;  
  BYTE                 btAlignType;  
  }PS_TEXT,   *LP_PS_TEXT;  
   
   
   
  int   PS_AddPhoto(char   *szPhotoFile,   DWORD   dwPhotoDuration,     char   *szTransName,   DWORD dwMode,   DWORD dwTransDuration,   LP_PS_TEXT   lpText,     LPRECT lpPhotoCropRect);  
  int   PS_AddMusic(char   *szMusicFile,   DWORD   dwLength   =   0);  
  int   PS_MakeMovie(char   *szMovieFile,   DWORD   dwTVMode,   DWORD               dwMovieType,   PS_PROGRESS   fpProgress);  
   
   
  问题点数:100、回复次数:4Top

1 楼truewill(无处不在)回复于 2006-03-03 20:55:49 得分 100

Public   Type   LOGFONT  
                  lfHeight   As   Long  
                  lfWidth   As   Long  
                  lfEscapement   As   Long  
                  lfOrientation   As   Long  
                  lfWeight   As   Long  
                  lfItalic   As   Byte  
                  lfUnderline   As   Byte  
                  lfStrikeOut   As   Byte  
                  lfCharSet   As   Byte  
                  lfOutPrecision   As   Byte  
                  lfClipPrecision   As   Byte  
                  lfQuality   As   Byte  
                  lfPitchAndFamily   As   Byte  
                  lfFaceName(1   To   LF_FACESIZE)   As   Byte  
  End   Type  
  Top

2 楼truewill(无处不在)回复于 2006-03-03 20:57:58 得分 0

type   PS_TEXT  
  szCaption(1   to   MAX_PATH)   as   byte  
  lfTextFont   as   logfont  
  clFontColor   as   long  
  btPosition   as   byte  
  btAlignType   as   byte  
  end   type  
  Top

3 楼truewill(无处不在)回复于 2006-03-03 21:00:39 得分 0

Public   Declare   Function   PS_AddPhoto   Lib   "XXXX.dll"   (byval   szPhotoFile   as   string,   byval   dwPhotoDuration   as   long,   byval   szTransName   as   string,   byval   dwMode   as   long,   byval   dwTransDuration   as   long,   byref   lpText   as   PS_TEXT,     byref   lpPhotoCropRect   as   RECT)   as   longTop

4 楼superinsect(superinsect)回复于 2006-03-03 22:52:55 得分 0

谢谢你的回复,但我编译的时候会出错Top

相关问题

  • 用vb把asp转成dll后,怎么样调用有参数函数,100求解答!
  • GetPrivateProfileString函数问题求解
  • vb做的dll如何输出函数?
  • VB的DLL怎么函数发布?
  • 关于VB调用dll里char*函数
  • 100分求解,写一个函数
  • VB函数
  • vb函数
  • dll函数
  • 回调函数问题之回调函数不执行……高分求解!!!!

关键词

  • ps
  • byval
  • byte
  • long
  • dword
  • char
  • text

得分解答快速导航

  • 帖主:superinsect
  • truewill

相关链接

  • Visual Basic类图书
  • Visual Basic类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo