C# Class KinectDaemon.UserInterface.InteropBitmapHelper

显示文件 Open project: Jerdak/KinectDaemon Class Usage Examples

Public Methods

Method Description
InteropBitmapHelper ( int width, int height, byte imageBits ) : System
InteropBitmapHelper ( int width, int height, byte imageBits, System.Windows.Media.PixelFormat pixelFormat ) : System
UpdateBits ( byte imageBits ) : void

Private Methods

Method Description
CreateFileMapping ( IntPtr hFile, IntPtr lpFileMappingAttributes, uint flProtect, uint dwMaximumSizeHigh, uint dwMaximumSizeLow, string lpName ) : IntPtr
MapViewOfFile ( IntPtr hFileMappingObject, uint dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow, uint dwNumberOfBytesToMap ) : IntPtr

Method Details

InteropBitmapHelper() public method

public InteropBitmapHelper ( int width, int height, byte imageBits ) : System
width int
height int
imageBits byte
return System

InteropBitmapHelper() public method

public InteropBitmapHelper ( int width, int height, byte imageBits, System.Windows.Media.PixelFormat pixelFormat ) : System
width int
height int
imageBits byte
pixelFormat System.Windows.Media.PixelFormat
return System

UpdateBits() public method

public UpdateBits ( byte imageBits ) : void
imageBits byte
return void