Exemple #1
0
        internal bool InsertBlockAfter(NativeMetadataBlockHandle metadataBlock)
        {
            Contract.Requires(metadataBlock != null);
            Contract.Requires(!metadataBlock.IsClosed);

            return(SafeNativeMethods.MetadataIteratorInsertBlockAfter(_handle, metadataBlock));
        }
Exemple #2
0
        internal NativeMetadataBlock(MetadataType metadataType)
        {
            Contract.Ensures(Handle != null);
            Contract.Ensures(!Handle.IsClosed);

            Handle = SafeNativeMethods.MetadataBlockNew(metadataType);
        }
Exemple #3
0
 internal static extern bool PictureSetData(NativeMetadataBlockHandle handle, byte[] data, uint length, [MarshalAs(UnmanagedType.Bool)] bool copy);
Exemple #4
0
 internal static extern bool PictureSetMimeType(NativeMetadataBlockHandle handle, [MarshalAs(UnmanagedType.LPStr)] string mimeType, [MarshalAs(UnmanagedType.Bool)] bool copy);
Exemple #5
0
 internal static extern bool SeekTableTemplateSort(NativeMetadataBlockHandle handle, [MarshalAs(UnmanagedType.Bool)] bool compact);
Exemple #6
0
 internal static extern bool SeekTableTemplateAppend(NativeMetadataBlockHandle handle, uint count, ulong totalSamples);
Exemple #7
0
 internal static extern bool VorbisCommentAppend(NativeMetadataBlockHandle handle, VorbisCommentEntry vorbisComment, [MarshalAs(UnmanagedType.Bool)] bool copy);
Exemple #8
0
 internal static extern bool MetadataIteratorInsertBlockAfter(NativeMetadataIteratorHandle handle, NativeMetadataBlockHandle metadatahandle);