Platform SDK: TAPI

CMSPAddress::IsValidSetOfMediaTypes

This method checks to see if the specified media type is non-zero and is in the specified mask. Your MSP can override this if it needs to do atypically complex checks on specific combinations of media types (e.g., can never have more than one media type on a call, can have video with audio but not video alone, etc.). The default implementation accepts any nonempty set of media types that is a subset of the set of types in the mask.

virtual BOOL IsValidSetOfMediaTypes(
  DWORD dwMediaType,
  DWORD dwMask
);

Parameters

dwMediaType
[in] Media type to check.
dwMask
[in] Media types mask indicating types that can be handled.

See Also

CMSPAddress