Esempio 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]));
     }
 }
Esempio 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]);
 }
Esempio 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");
 }
Esempio 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]);
     }
 }
Esempio n. 5
0
 internal static unsafe int CalliMethodPtr(void *_basePtr, MFSampleFlags flags, void *p)
 {
     throw new NotImplementedException();
 }
Esempio n. 6
0
 internal static unsafe int CalliMethodPtr(void* _basePtr, MFSampleFlags flags, void* p)
 {
     throw new NotImplementedException();
 }
Esempio 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");
 }
Esempio 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]));
 }