Share via


IDirectMusicObject::GetDescriptor

This method retrieves the object's internal description.

The method takes a DMUS_OBJECTDESC structure and fills in everything the object knows about itself.

HRESULT GetDescriptor(
LPDMUS_OBJECTDESC pDesc
);

Parameters

  • pDesc
    Address of a DMUS_OBJECTDESC structure to be filled with data about the object. Depending on the implementation of the object and how it was loaded from a file, some or all of the standard parameters are filled by GetDescriptor. Check the flags in the dwValidData member to know which other members are valid.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

Remarks

For an example, see Getting Object Descriptors.

Requirements

OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusici.h.
Link Library: Dmusic.lib.

See Also

IDirectMusicObject::SetDescriptor | DMUS_OBJECTDESC

 Last updated on Monday, April 12, 2004

© 1992-2002 Microsoft Corporation. All rights reserved.