API browser of webstampManager400 COM module


/images/arrow_right.png IWebstampManager::SearchOptions method
Search for
  • all product types (OptionType=enOptionCatalog, lProductTypeID is ignored)
  • all products of a given product type (OptionType=enOptionProduct, lProductTypeID = id of the product type to use)
The results of the query are loaded by GetFirstOption/GetNextOption
Note that SearchOptions generates an error in Mode=enDemo, since that mode does not use the Internet.
space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT SearchOptions( OptionType
long
VARIANT_BOOL
eOptionType,
lProductTypeID,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[in] OptionType eOptionType Enumerator of the option type to use in the query
[in] long lProductTypeID Product type identification (returned by a call to SearchOptions with OptionType=enOptionCatalog)
[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.