Borland delphi7的几个错误[2]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 suplxun 的 blog

phiconlarge

 

pointer to an array of handles of large icons returned. this parameter can be null.

 

phiconsmall

 

pointer to an array of handles of small icons returned. this parameter can be null.

 

nicons

 

specifies the count of the number of icons to extract.

 

 

 

return values

 

if the function succeeds, the return value is the handle to an icon. if the file specified was not an executable file, dll, or icon file, the return value is 1. if no icons were found in the file, the return value is null.

 

borland delphi7shellapi.pas文件中却声明成这样:

{$externalsym extracticonex}

function extracticonex(lpszfile: pchar; niconindex: integer;

  var phiconlarge, phiconsmall: hicon; nicons: uint): uint; stdcall;

原型是hicon指针,borland直接声明成hicon

如要使用这个函数只好重新声明。

给大家一个声明的例子:

本文关键:Borland delphi7的几个错误
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top