Compartir a través de


Media Types in the Registry (Windows CE 5.0)

Send Feedback

The DMORegister function adds information about a DMO to the registry, including a list of media types for input and output. An application uses this information to find DMOs that match its requirements. The information is not meant to be comprehensive. Typically, you include only the main types that the DMO supports.

Although the registry information lists input and output types, it does not distinguish among individual streams. For example, if a DMO has separate input streams for audio and video, the registry information would list them both under input types.

For the DMORegister function, media types are specified using a DMO_PARTIAL_MEDIATYPE structure. The function differs in this respect from the IMediaObject interface, which uses DMO_MEDIA_TYPE.

The DMO_PARTIAL_MEDIATYPE structure contains only two fields, for the major type and the subtype. It does not have fields for the format block. Typically, the format contains information that is too granular to include in the registry, such as the height and width of a video image.

See Also

DMOs and Media Types

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.