Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The DMORegisterfunction 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 DMORegisterfunction, media types are specified using a DMO_PARTIAL_MEDIATYPEstructure. The function differs in this respect from the IMediaObjectinterface, 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