IWDTFTarget2::GetValueNumber method (wdtf.h)

Returns a number value from the target that is associated with a specified attribute.

Syntax

HRESULT GetValueNumber(
  [in]          BSTR SDEL,
  [out, retval] LONG *pValue
);

Parameters

[in] SDEL

An SDEL statement that specifies the attribute value to retrieve.

[out, retval] pValue

The address of a variable that receives the result of this method.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

You specify the field that the GetValueNumber method retrieves by using a regular SDEL statement. Typically, an SDEL statement can contain comparison operators and value specifiers to perform matches. However, you do not need these items for GetValueNumber to work properly.

Requirements

Requirement Value
Minimum supported client Windows XP Professional
Minimum supported server Windows Server 2008
Target Platform Desktop
Header wdtf.h

See also

IWDTFTarget2