#include <windows.h>
#include <comdef.h>
#include <wbemidl.h>
#include "../Common/UnicodeString.h"
#include "../Common/CheckedResult.h"
Go to the source code of this file.
Namespaces | |
namespace | hwdet |
Functions | |
String | hwdet::VariantToString (const VARIANT &var) |
Convert variant to string. | |
unsigned __int64 | hwdet::VariantToUInt (const VARIANT &var) |
Convert variant to 64-bit unsigned int. | |
CheckedResult< String > | hwdet::GetValueAsString (IWbemClassObject *object, const LPCWSTR property_name) |
Retrieve value as string. | |
CheckedResult< unsigned __int64 > | hwdet::GetValueAsUInt (IWbemClassObject *object, const LPCWSTR property_name) |
Retrieve value as integer. |