PropVariantGetInformation function (sensorsutils.h)

This routine gets offset, size, location pointer and DEVPROPTYPE, of a PROPVARIANT.

Syntax

NTSTATUS PropVariantGetInformation(
  [in]  const PROPVARIANT *PropVariantValue,
  [out] ULONG             *PropVariantOffset,
  [out] ULONG             *PropVariantSize,
  [out] PVOID             *PropVariantPointer,
  [out] DEVPROPTYPE       *RemappedType
);

Parameters

[in] PropVariantValue

Pointer to a PROPVARIANT.

[out] PropVariantOffset

The offset of the location pointer in PROPVARIANT.

[out] PropVariantSize

Size of data.

[out] PropVariantPointer

C The location of data.

[out] RemappedType

The DEVPROPTYPE.

Return value

This function returns STATUS_NOT_SUPPORTED if the PROPVARIANT is not a supported type, STATUS_SUCCESS otherwise.

Requirements

Requirement Value
Header sensorsutils.h