DVARIANT.PutDecmethod
Initializes DVARIANT with the contents of a DECIMAL structure.
Syntax
FUNCTION PutDec (BYCAL dec AS DECIMAL) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
dec | A DECIMAL structure. |
Return value
If this function succeeds, it returns S_OK (0). Otherwise, it returns an HRESULT error code.
Description
Initializes DVARIANT with the contents of a DECIMAL structure.
Remarks
Creates a VT_DECIMAL OR VT_BYREF variant.
Reference
- Include file
DVARIANT.INC - Defined in AfxNova/DVARIANT.inc:1413
- Documented in COM/DVARIANT Class.md
- Topic: DVARIANT Class