Hostname: Difference between revisions
Content added Content deleted
({{omit from|PARI/GP}}) |
|||
Line 197: | Line 197: | ||
calldll #kernel32, "GetComputerNameA",lpBuffer$ as ptr, SIZE as struct, result as Long |
calldll #kernel32, "GetComputerNameA",lpBuffer$ as ptr, SIZE as struct, result as Long |
||
nSize=SIZE.sz.struct |
|||
CurrentComputerName$=Trim$(Left$(lpBuffer$, SIZE.sz.struct)) |
CurrentComputerName$=Trim$(Left$(lpBuffer$, SIZE.sz.struct)) |
||