Queries an object for a specified service interface.
interface IMFGetService : public IUnknown
A service is an interface that is exposed by one object but might be implemented by another object. The GetService method is equivalent to QueryInterface, with the following difference: when QueryInterface retrieves a pointer to an interface, it is guaranteed that you can query the returned interface and get back the original interface. The GetService method does not make this guarantee, because the retrieved interface might be implemented by a separate object.
The MFGetService function is a helper function that queries an object for IMFGetService and calls the GetService method.
Header: Declared in mfidl.h.
Library: Use mfuuid.lib.