Share via


IWMDRMDevice::SetMeterResponse

banner art

The SetMeterResponse method sets the metering response.

Syntax

HRESULT SetMeterResponse(BYTE*pbMeterResponse,DWORDcbMeterResponse,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 Values

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

Header: Defined in WMDDRMSP.idl.

Library: mssachlp.lib

See Also