VariantCopy
pvargDest, pvargSrc)VARIANTARG FAR* pvargDest
VARIANTARG FAR* pvargSrc Frees the destination variant and makes a copy of the source variant. Parameters pvargDest Pointer to the VARIANTARG to receive the copy. pvargSrc Pointer to the VARIANTARG to be copied. Return Value The SCODE obtained from the returned HRESULT is one of the following:
SCODE
| Meaning
|
S_OK
| Success.
|
DISP_E_ARRAYISLOCKED
| The variant contains an array that is locked.
|
DISP_E_BADVARTYPE
| The source and destination have an invalid variant type (usually
uninitialized).
|
E_OUTOFMEMORY
| Memory could not be allocated for the copy.
|
E_INVALIDARG
| The argument pvargSrc was VT_BYREF.
|
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers - More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples - Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database