API browser of webstampManager400 COM module


/images/arrow_right.png IWebstampManager::OrderStamp method
Order one new electronic stamp defined by the given product id. Use the SearchOptions method to retrieve all possible product ids of a given product type. Before requesting a stamp over the Internet the storno container is searched first (cf. StornoStamp).

Note that a test stamp is delivered in enDemo mode dependent only on the given location (productID is not checked) without doing an Internet request!

space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT OrderStamp( long
LocationType
long
long
long
BSTR
VARIANT_BOOL
lProductID,
eLocation,
*plOrderID,
*plWidth_mm,
*plHeight_mm,
*pbstrBMPFile,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[in] long lProductID The product id of the stamp to generate
[in] LocationType eLocation The location type of the stamp to generate
[out] long *plOrderID The order id of the generated stamp
[out] long *plWidth_mm The width in mm of the generated stamp
[out] long *plHeight_mm The height in mm of the generated stamp
[out] BSTR *pbstrBMPFile Absolute path of a BMP stamp file that holds the generated electronic stamp
[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.