MLIB
Loading...
Searching...
No Matches
biosuuid.cpp File Reference

Definition of biosuuid() function. More...

#include <mlib/mlib.h>
#include <sysinfoapi.h>

Functions

bool mlib::biosuuid (unsigned char *uuid)
 Retrieve BIOS UUUID.
 

Detailed Description

Definition of biosuuid() function.

(c) Mircea Neacsu 2011. All rights reserved.

Function Documentation

◆ biosuuid()

bool mlib::biosuuid ( unsigned char * uuid)

Retrieve BIOS UUUID.

Get BIOS UUID in a 16 byte array.

Parameters
uuidarray of 16 bytes where the function returns the BIOS UUID
Returns
true if successful, false otherwise

The BIOS UUID is a unique number tied to the motherboard. This function uses the GetSystemFirmwareTable function to retrieve the UUID is in the System Information table.