18 Haziran 2007 Pazartesi

GetSystemVersion();

apiGetInfoFromVersion = Win32API.new("version", "VerQueryValue",
['p','p','p','p'], 'v')
msgp = DL.malloc(DL.sizeof('P'))
infoBufferLength = DL.malloc(DL.sizeof('P'))
apiGetInfoFromVersion.call(infoVersion, "\\", msgp, infoBufferLength)

Hiç yorum yok: