Microsoft DirectX 9.0 SDK Update (October 2004)

IDirectMusicPerformance8::ClonePMsg

The ClonePMsg method makes a copy of a performance message.

Syntax

HRESULT ClonePMsg(
  DMUS_PMSG* pSourcePMSG,
  DMUS_PMSG** ppCopyPMSG
);

Parameters

pSourcePMSG

Message to copy.

ppCopyPMSG

Address of a variable that receives a pointer to the copied message.

Return Values

If it succeeds, the method returns S_OK.

If it fails, the method can return one of the error values shown in the following table.

Return code
E_OUTOFMEMORY
E_POINTER

Requirements

  Header: Dmusici.h
  Library: Dmime.dll, Dmimed.dll

See Also


© 2004 Microsoft Corporation. All rights reserved.