Windows C++ Library
Functions
VariantBool.hpp File Reference

Helper functions for dealing with the COM VARIANT_BOOL type. More...

Functions

VARIANT_BOOL ToVariantBool (bool bValue)
 Convert a C++ bool to a VARIANT_BOOL.
bool IsTrue (VARIANT_BOOL bValue)
 Query if a VARIANT_BOOL is equivalent to 'true'.
bool IsFalse (VARIANT_BOOL bValue)
 Query if a VARIANT_BOOL is equivalent to 'false'.

Detailed Description

Helper functions for dealing with the COM VARIANT_BOOL type.

Author:
Chris Oldwood

Function Documentation

VARIANT_BOOL ToVariantBool ( bool  bValue) [inline]

Convert a C++ bool to a VARIANT_BOOL.

bool IsTrue ( VARIANT_BOOL  bValue) [inline]

Query if a VARIANT_BOOL is equivalent to 'true'.

bool IsFalse ( VARIANT_BOOL  bValue) [inline]

Query if a VARIANT_BOOL is equivalent to 'false'.