IMFGetService Interface
Queries an object for a specified service interface.
Mitglieder
IMFGetServiceSchnittstelle erbt von der IUnknown-Schnittstelle. IMFGetService umfasst auch die folgenden Typen von Mitgliedern:
- Methoden
Methoden
IMFGetServiceSchnittstelle umfasst die folgenden Methoden.
Methode | Beschreibung |
---|---|
GetService | Retrieves a service interface. |
Hinweise
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.
Anforderungen
Mindestens unterstützter Client |
Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 |
Header |
Mfidl.h |
Bibliothek |
Mfuuid.lib |