IDeviceSpecificProperty::GetType

Previous Next

IDeviceSpecificProperty::GetType

The GetType method gets the data type of the device-specific property value.

HRESULT GetType(
  VARTYPE  *pVType
);

Parameters

pVType

[out]  Pointer to a VARTYPE variable into which the method writes a VARENUM enumeration value that indicates the data type of the device-specific property value. For more information about VARTYPE and VARENUM, see the Windows SDK documentation.

Return Value

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
E_POINTER Pointer pVType is NULL.

Requirements

Client: Windows Vista

Header: Include Devicetopology.h.

See Also

Previous Next