CMSPAddress::IsValidSetOfMediaTypes method (mspaddr.h)

The IsValidSetOfMediaTypes method checks to see if the specified media type is nonzero 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 (for example, can never have more than one media type on a call, can have video with audio but not video alone, and so on). The default implementation accepts any nonempty set of media types that is a subset of the set of types in the mask.

Syntax

BOOL IsValidSetOfMediaTypes(
  [in] DWORD dwMediaType,
  [in] DWORD dwMask
);

Parameters

[in] dwMediaType

Media type to check.

[in] dwMask

Media types mask indicating types that can be handled.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header mspaddr.h

See also

CMSPAddress