Skip to content

Commit

Permalink
correct parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
maul.esel committed Mar 9, 2012
1 parent 76c0ca8 commit c148d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TypeLib/TypeLib.ahk
Expand Up @@ -193,10 +193,10 @@ class TypeLib extends Unknown
Remarks:
If -1 is passed as index, the documentation for the library itself is returned.
*/
GetDocumentation(id, byRef name := "", byRef doc := "", byRef context := "", byRef helpfile := "")
GetDocumentation(index, byRef name := "", byRef doc := "", byRef context := "", byRef helpfile := "")
{
local bool, pName, pDoc, pHelpfile
bool := this._Error(DllCall(NumGet(this.vt+09*A_PtrSize), "ptr", this.ptr, "Int", id, "ptr*", pName, "ptr*", pDoc, "UInt*", context, "ptr*", pHelpfile))
bool := this._Error(DllCall(NumGet(this.vt+09*A_PtrSize), "ptr", this.ptr, "Int", index, "ptr*", pName, "ptr*", pDoc, "UInt*", context, "ptr*", pHelpfile))
name := StrGet(pName), doc := StrGet(pDoc), helpfile := StrGet(pHelpfile)
return bool
}
Expand Down

0 comments on commit c148d5c

Please sign in to comment.