InitPropVariantFromFloat - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sensorsutils.h

HRESULT InitPropVariantFromFloat(
  [in]  FLOAT       fltVal,
  [out] PROPVARIANT *ppropvar
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-sensorsutils-initpropvariantfromfloat)

InitPropVariantFromFloat function

Description

This routine initializes a PROPVARIANT with the given float.

Parameters

fltVal [in]

Float value to initialize to.

ppropvar [out]

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.

Remarks

See also