Rediger

Del via


IWMDRMDevice::SetMeterResponse method

The SetMeterResponse method sets the metering response.

Syntax

HRESULT SetMeterResponse(
  [in]  BYTE  *pbMeterResponse,
  [in]  DWORD cbMeterResponse,
  [out] DWORD *pdwFlags
);

Parameters

pbMeterResponse [in]

The metering response to be set.

cbMeterResponse [in]

Size of the metering response, in bytes.

pdwFlags [out]

Response flags. This value must be one of the following flags.

Flag Description
WMDRM_METER_RESPONSE_ALL All meter responses.
WMDRM_METER_RESPONSE_PARTIAL Partial meter responses.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Header
WMDDRMSP.idl
Library
Mssachlp.lib

See also

IWMDRMDevice Interface