Exemplo n.º 1
0
 /// <summary>
 /// Currently no flags are defined. Instead, metadata for samples is defined using
 /// attributes. To get attibutes from a sample, use the <see cref="MFAttributes"/> object, which
 /// <see cref="MFSample"/> inherits.
 /// </summary>
 /// <param name="sampleFlags">Receives the value <see cref="MFSampleFlags.None"/>.</param>
 /// <returns>HRESULT</returns>
 public unsafe int GetSampleFlagsNative(out MFSampleFlags sampleFlags)
 {
     fixed(void *ptr = &sampleFlags)
     {
         return(InteropCalls.CalliMethodPtr(UnsafeBasePtr, ptr, ((void **)(*(void **)UnsafeBasePtr))[33]));
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Currently no flags are defined. Instead, metadata for samples is defined using
 /// attributes. To set attibutes on a sample, use the IMFAttributes interface, which
 /// IMFSample inherits.
 /// </summary>
 /// <param name="flags">must be zero</param>
 /// <returns>HRESULT</returns>
 public unsafe int SetSampleFlagsNative(MFSampleFlags flags)
 {
     return InteropCalls.CalliMethodPtr(_basePtr, flags, ((void**)(*(void**)_basePtr))[34]);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Currently no flags are defined. Instead, metadata for samples is defined using
 /// attributes. To set attibutes on a sample, use the IMFAttributes interface, which
 /// IMFSample inherits.
 /// </summary>
 /// <param name="flags">must be zero</param>
 public void SetSampleFlags(MFSampleFlags flags)
 {
     MediaFoundationException.Try(SetSampleFlagsNative(flags), c, "SetSampleFlags");
 }
Exemplo n.º 4
0
 /// <summary>
 /// Currently no flags are defined. Instead, metadata for samples is defined using
 /// attributes. To get attibutes from a sample, use the IMFAttributes interface, which
 /// IMFSample inherits.
 /// </summary>
 /// <returns>HRESULT</returns>
 public unsafe int GetSampleFlagsNative(out MFSampleFlags sampleFlags)
 {
     fixed (void* ptr = &sampleFlags)
     {
         return InteropCalls.CalliMethodPtr(_basePtr, ptr, ((void**)(*(void**)_basePtr))[33]);
     }
 }
Exemplo n.º 5
0
 internal static unsafe int CalliMethodPtr(void *_basePtr, MFSampleFlags flags, void *p)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 6
0
 internal static unsafe int CalliMethodPtr(void* _basePtr, MFSampleFlags flags, void* p)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 7
0
 /// <summary>
 /// Currently no flags are defined. Instead, metadata for samples is defined using
 /// attributes. To set attibutes on a sample, use the <see cref="MFAttributes"/> object, which
 /// IMFSample inherits.
 /// </summary>
 /// <param name="flags">Must be <see cref="MFSampleFlags.None"/>.</param>
 public void SetSampleFlags(MFSampleFlags flags)
 {
     MediaFoundationException.Try(SetSampleFlagsNative(flags), InterfaceName, "SetSampleFlags");
 }
Exemplo n.º 8
0
 /// <summary>
 /// Currently no flags are defined. Instead, metadata for samples is defined using
 /// attributes. To set attibutes on a sample, use the <see cref="MFAttributes"/> object, which
 /// IMFSample inherits.
 /// </summary>
 /// <param name="flags">Must be <see cref="MFSampleFlags.None"/>.</param>
 /// <returns>HRESULT</returns>
 public unsafe int SetSampleFlagsNative(MFSampleFlags flags)
 {
     return(InteropCalls.CalliMethodPtr(UnsafeBasePtr, flags, ((void **)(*(void **)UnsafeBasePtr))[34]));
 }