IWMDRMDevice::SetMeterResponse (deprecated)

banner art

This is preliminary documentation and subject to change.

This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.

The SetMeterResponse method sets the metering response.

Syntax

HRESULT SetMeterResponse(
  BYTE*  pbMeterResponse,
  DWORD  cbMeterResponse,
  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