ImageCodecInfoPrivate.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / ImageCodecInfoPrivate.cs / 2 / ImageCodecInfoPrivate.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.Drawing.Imaging { 
    using System.Runtime.InteropServices; 
    using System.Diagnostics;
    using System; 
    using System.Drawing;

    // sdkinc\imaging.h
    [StructLayout(LayoutKind.Sequential, Pack=8)] 
    internal class ImageCodecInfoPrivate {
        [MarshalAs(UnmanagedType.Struct)] 
        public Guid Clsid; 
        [MarshalAs(UnmanagedType.Struct)]
        public Guid FormatID; 

        public IntPtr CodecName = IntPtr.Zero;
        public IntPtr DllName = IntPtr.Zero;
        public IntPtr FormatDescription = IntPtr.Zero; 
        public IntPtr FilenameExtension = IntPtr.Zero;
        public IntPtr MimeType = IntPtr.Zero; 
 
        public int Flags = 0;
        public int Version = 0; 
        public int SigCount = 0;
        public int SigSize = 0;

        public IntPtr SigPattern = IntPtr.Zero; 
        public IntPtr SigMask = IntPtr.Zero;
    } 
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.Drawing.Imaging { 
    using System.Runtime.InteropServices; 
    using System.Diagnostics;
    using System; 
    using System.Drawing;

    // sdkinc\imaging.h
    [StructLayout(LayoutKind.Sequential, Pack=8)] 
    internal class ImageCodecInfoPrivate {
        [MarshalAs(UnmanagedType.Struct)] 
        public Guid Clsid; 
        [MarshalAs(UnmanagedType.Struct)]
        public Guid FormatID; 

        public IntPtr CodecName = IntPtr.Zero;
        public IntPtr DllName = IntPtr.Zero;
        public IntPtr FormatDescription = IntPtr.Zero; 
        public IntPtr FilenameExtension = IntPtr.Zero;
        public IntPtr MimeType = IntPtr.Zero; 
 
        public int Flags = 0;
        public int Version = 0; 
        public int SigCount = 0;
        public int SigSize = 0;

        public IntPtr SigPattern = IntPtr.Zero; 
        public IntPtr SigMask = IntPtr.Zero;
    } 
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK