API browser of webstampManager400 COM module


/images/arrow_right.png IWebstampManager::GetInfoBalance method
Get the current balance of your Swiss Post account.
Note that GetInfoBalance always delivers a balance of 42.45 in Mode=enDemo, since that mode does not use the Internet.
space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT GetInfoBalance( double
VARIANT_BOOL
*pdBalance,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[out] double *pdBalance The balance of the account is CHF
[out, retval] VARIANT_BOOL *pbStatus Return status
 
/images/arrow_right.png C/C++ return value
S_OK This value is returned if the function call was successful or if the return value of a boolean method signalling a true value. In this case the VARIANT_BOOL is set to VARIANT_TRUE.
S_FALSE This is the return value of a boolean method signalling a false return value. In this case the VARIANT_BOOL is set to VARIANT_FALSE.
E_name This value is returned if the function call was unsuccessful and an error exception was generated. Note that if you are using SmartPointers an exception is thrown under these conditions.