Beispiel #1
0
 public void QueueEvent(MediaEventTypes met, ref Guid guidExtendedType, int hrStatus, /*ref Variant*/ IntPtr pvValue)
 {
     CheckShutdown();
     _eventGenerator.QueueEvent(met, ref guidExtendedType, hrStatus, pvValue);
 }
Beispiel #2
0
 public void QueueEventParamNone(MediaEventTypes met)
 {
     _eventQueue.QueueEventParamVar((int)met, Guid.Empty, Result.Ok, VariantNull);
 }
Beispiel #3
0
 public void QueueEventParamVar(MediaEventTypes met, Guid guidExtendedType, Result hrStatus, Variant vValueRef)
 {
     _eventQueue.QueueEventParamVar((int)met, guidExtendedType, hrStatus, vValueRef);
 }
Beispiel #4
0
 public void QueueEventParamUnk(MediaEventTypes met, Guid guidExtendedType, Result hrStatus, ComObject unkRef)
 {
     _eventQueue.QueueEventParamUnk((int)met, guidExtendedType, hrStatus, unkRef);
 }
Beispiel #5
0
 public void QueueEvent(MediaEventTypes met, ref Guid guidExtendedType, int hrStatus, /*ref Variant*/ IntPtr pvValue)
 {
     _eventQueue.QueueEventParamVar((int)met, guidExtendedType, hrStatus,
                                    pvValue == IntPtr.Zero ? VariantNull : Marshal.PtrToStructure <Variant>(pvValue));
 }