API browser of webstampManager400 COM module


/images/arrow_right.png IWebstampManager::InfoStamp method
Retrieve all needed information about a previously generated stamp given by an order id.
One can use this information to reprint a previously generated stamp without using the StornoStamp method. But keep in mind, that the Swiss Post keeping track of already used stamps.
Note that the storno container is NOT included in the search.
space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT InfoStamp( long
long
LocationType
double
DATE
long
long
BSTR
VARIANT_BOOL
lOrderID,
*plProductID,
*peLocation,
*pdPrice,
*pdValidityDate,
*plWidth_mm,
*plHeight_mm,
*pbstrBMPFile,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[in] long lOrderID The order id of the stamp that should be loaded
[out] long *plProductID The product id of the loaded stamp
[out] LocationType *peLocation The location type of the loaded stamp
[out] double *pdPrice The price of the loaded stamp
[out] DATE *pdValidityDate The date of the loaded stamp until which the stamp is valid
[out] long *plWidth_mm The width in mm of the loaded stamp
[out] long *plHeight_mm The height in mm of the loaded stamp
[out] BSTR *pbstrBMPFile Absolute path of a BMP stamp file that holds the requested 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.