InitPropVariantFromFloat function (sensorsutils.h)
This routine initializes a PROPVARIANT with the given float.
Syntax
HRESULT InitPropVariantFromFloat(
[in] FLOAT fltVal,
[out] PROPVARIANT *ppropvar
);
Parameters
[in] fltVal
Float value to initialize to.
[out] ppropvar
Pointer to a PROPVARIANT to be initialized.
Return value
This function returns S_OK if the PROPVARIANT was properly initialized, and E_FAIL if ppropvar is null.
Requirements
Requirement | Value |
---|---|
Header | sensorsutils.h |