找回密码
 加入
搜索
查看: 2692|回复: 2

[AU3基础] [已解决]如何替换字符。 图片附件如何创建一个STARTUPINFO结构体

[复制链接]
发表于 2015-12-10 17:43:23 | 显示全部楼层 |阅读模式
本帖最后由 繁星 于 2015-12-11 09:57 编辑

如题,求教DllStructCreate应该怎么写
typedef struct _STARTUPINFO {  
  DWORD cb;  
  LPTSTR lpReserved;  
  LPTSTR lpDesktop;  
  LPTSTR lpTitle;  
  DWORD dwX;  
  DWORD dwY;  
  DWORD dwXSize;  
  DWORD dwYSize;  
  DWORD dwXCountChars;  
  DWORD dwYCountChars;  
  DWORD dwFillAttribute;  
  DWORD dwFlags;  
  WORD wShowWindow;  
  WORD cbReserved2;  
  LPBYTE lpReserved2;  
  HANDLE hStdInput;  
  HANDLE hStdOutput;  
  HANDLE hStdError;
} STARTUPINFO, 
*LPSTARTUPINFO;
发表于 2015-12-10 20:49:20 | 显示全部楼层
Global Const $tagSTARTUPINFO = "int Size;ptr Reserved1;ptr Desktop;ptr Title;int X;int Y;int XSize;int YSize;int XCountChars;" & _
"int YCountChars;int FillAttribute;int Flags;short ShowWindow;short Reserved2;ptr Reserved3;int StdInput;" & _
"int StdOutput;int StdError"

帮助文件里有
 楼主| 发表于 2015-12-11 09:55:55 | 显示全部楼层
回复 2# gto250


    果然有啊,原来在结构常量里边~
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-28 22:16 , Processed in 0.082290 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表