L lonelybug Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-13 #1 IShellLink::GetIconLocation 这应该属于com类型的函数吧(不知道这么说对不对),我想问问如何使用呢!? 他来自于shell32.dll文件中!谢谢了!
L lvxq Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-05 #2 type IExtractIconA = interface(IUnknown) [SID_IExtractIconA] function GetIconLocation(uFlags: UINT; szIconFile: PAnsiChar; cchMax: UINT; out piIndex: Integer; out pwFlags: UINT): HResult; stdcall; .... 使用时:IExtractIConA.GetIconLocation(...) type IShellLinkA = interface(IUnknown) { sl } [SID_IShellLinkA] function GetIconLocation(pszIconPath: PAnsiChar; cchIconPath: Integer; out piIcon: Integer): HResult; stdcall; .... IShellLinkA .GetIconLocation();
type IExtractIconA = interface(IUnknown) [SID_IExtractIconA] function GetIconLocation(uFlags: UINT; szIconFile: PAnsiChar; cchMax: UINT; out piIndex: Integer; out pwFlags: UINT): HResult; stdcall; .... 使用时:IExtractIConA.GetIconLocation(...) type IShellLinkA = interface(IUnknown) { sl } [SID_IShellLinkA] function GetIconLocation(pszIconPath: PAnsiChar; cchIconPath: Integer; out piIcon: Integer): HResult; stdcall; .... IShellLinkA .GetIconLocation();