public int CreateSession2(MF_MEDIAKEYSESSION_TYPE eSessionType, IMFMediaKeySessionNotify2 *pMFMediaKeySessionNotify2, IMFMediaKeySession2 **ppSession) { return(((delegate * unmanaged <IMFMediaKeys2 *, MF_MEDIAKEYSESSION_TYPE, IMFMediaKeySessionNotify2 *, IMFMediaKeySession2 **, int>)(lpVtbl[7]))((IMFMediaKeys2 *)Unsafe.AsPointer(ref this), eSessionType, pMFMediaKeySessionNotify2, ppSession)); }
public int CreateSession(MF_MEDIAKEYSESSION_TYPE sessionType, IMFContentDecryptionModuleSessionCallbacks *callbacks, IMFContentDecryptionModuleSession **session) { return(((delegate * unmanaged <IMFContentDecryptionModule *, MF_MEDIAKEYSESSION_TYPE, IMFContentDecryptionModuleSessionCallbacks *, IMFContentDecryptionModuleSession **, int>)(lpVtbl[6]))((IMFContentDecryptionModule *)Unsafe.AsPointer(ref this), sessionType, callbacks, session)); }