WMIHelper.cpp File Reference

Implementation of WMI helper routines. More...

#include <windows.h>
#include <comdef.h>
#include <wbemidl.h>
#include "WMIHelper.h"
#include "../Common/UnicodeString.h"

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< Stringhwdet::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.


Detailed Description

Implementation of WMI helper routines.

Author:
Branislav Repcek
Date:
10. 12. 2005

Generated on Tue Dec 19 17:43:52 2006 for Detector for Windows by  doxygen 1.4.7