Language

IBDA_WMDRMSession::TransactMessage Method

[This documentation is preliminary and is subject to change.]
Sends a Windows Media Digital Rights Management (DRM) for Network Devices message to the media transform device (MTD).

Syntax

HRESULT TransactMessage(
  [in]       ULONG ulcbRequest,
  [in]       BYTE *pbRequest,
  [in, out]  ULONG *pulcbResponse,
  [in, out]  BYTE *pbResponse
);

Parameters

  • ulcbRequest [in]
    The size, in bytes, of the pbRequest.

  • pbRequest [in]
    Pointer to a byte array that contains the input message.

  • pulcbResponse [in, out]
    On input, specifies the number of bytes in the pbResponse array. On output, receives the size of the response message, in bytes.

  • pbResponse [in, out]
    Pointer to a byte array, allocated by the caller, that receives the response message.

Return Value

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

Requirements

Client Requires Windows 7.
IDL Declared in Bdaiface.idl.

See Also

IBDA_WMDRMSession

Send comments about this topic to Microsoft

Build date: 12/4/2008