Microsoft DirectX 8.0 (C++)

IDirectMusicPerformance8::ClonePMsg

Makes a copy of a performance message.

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 following error values.

E_OUTOFMEMORY
E_POINTER

Requirements

  Header: Declared in dmusici.h.