diff options
Diffstat (limited to 'win32_functions.cpp')
| -rw-r--r-- | win32_functions.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/win32_functions.cpp b/win32_functions.cpp deleted file mode 100644 index 76ca18a..0000000 --- a/win32_functions.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "win32_functions.h" - -DWORD dwVolSerial; -BOOL bIsRetrieved; - -QString get_hdid() -{ - bIsRetrieved = GetVolumeInformation(TEXT("C:\\"), NULL, NULL, &dwVolSerial, NULL, NULL, NULL, NULL); - - if (bIsRetrieved) - return QString::number(dwVolSerial, 16); - else - return "invalidhd"; //what could possibly go wrong - -} |
