In vb I can
in order to get the hard disk's serial.
How can I implement this in b4j. I understand that perhaps it's just a call, yet, didn't check how to do it.
B4X:
Private Declare Function GetVolumeInformation Lib "Kernel32" Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long
How can I implement this in b4j. I understand that perhaps it's just a call, yet, didn't check how to do it.