C# Class Disco.ClientBootstrapper.Interop.WIMInterop.WindowsImageContainer.NativeMethods

Afficher le fichier Open project: garysharp/Disco

Méthodes publiques

Méthode Description
ApplyImage ( IntPtr imageHandle, string applicationPath ) : void
CaptureImage ( IntPtr handle, string path ) : IntPtr
CloseHandle ( IntPtr handle ) : void
CreateFile ( string imageFile, uint access, uint mode ) : IntPtr
DismountImage ( string mountPath, string wimdowsImageFileName, int imageIndex, bool commitChanges ) : void
GetImageCount ( IntPtr windowsImageHandle ) : int
GetImageInformation ( IntPtr handle ) : string
LoadImage ( IntPtr handle, int imageIndex ) : IntPtr
MountImage ( string mountPath, string windowsImageFileName, int imageIndex, string temporaryPath ) : void
RegisterCallback ( MessageCallback callback ) : void
SetImageInformation ( IntPtr handle, string imageInfo ) : void
SetTemporaryPath ( IntPtr handle, string temporaryPath ) : void
UnregisterMessageCallback ( MessageCallback registeredCallback ) : void

Private Methods

Méthode Description
NativeMethods ( ) : System
WimApplyImage ( IntPtr Handle, [ Path, uint Flags ) : bool
WimCaptureImage ( IntPtr Handle, [ Path, uint CaptureFlags ) : IntPtr
WimCloseHandle ( IntPtr Handle ) : bool
WimCreateFile ( [ WimPath, uint DesiredAccess, uint CreationDisposition, uint FlagsAndAttributes, uint CompressionType, IntPtr &CreationResult ) : IntPtr
WimGetImageCount ( IntPtr Handle ) : int
WimGetImageInformation ( IntPtr Handle, IntPtr &ImageInfo, IntPtr &SizeOfImageInfo ) : bool
WimLoadImage ( IntPtr Handle, uint ImageIndex ) : IntPtr
WimMountImage ( [ MountPath, [ WimFileName, uint ImageIndex, [ TemporaryPath ) : bool
WimRegisterMessageCallback ( IntPtr hWim, MessageCallback MessageProc, IntPtr ImageInfo ) : uint
WimSetImageInformation ( IntPtr Handle, IntPtr ImageInfo, uint SizeOfImageInfo ) : bool
WimSetTemporaryPath ( IntPtr Handle, [ TemporaryPath ) : bool
WimUnmountImage ( [ MountPath, [ WimFileName, uint ImageIndex, bool CommitChanges ) : bool
WimUnregisterMessageCallback ( IntPtr hWim, MessageCallback MessageProc ) : bool

Method Details

ApplyImage() public static méthode

public static ApplyImage ( IntPtr imageHandle, string applicationPath ) : void
imageHandle System.IntPtr
applicationPath string
Résultat void

CaptureImage() public static méthode

public static CaptureImage ( IntPtr handle, string path ) : IntPtr
handle System.IntPtr
path string
Résultat System.IntPtr

CloseHandle() public static méthode

public static CloseHandle ( IntPtr handle ) : void
handle System.IntPtr
Résultat void

CreateFile() public static méthode

public static CreateFile ( string imageFile, uint access, uint mode ) : IntPtr
imageFile string
access uint
mode uint
Résultat System.IntPtr

DismountImage() public static méthode

public static DismountImage ( string mountPath, string wimdowsImageFileName, int imageIndex, bool commitChanges ) : void
mountPath string
wimdowsImageFileName string
imageIndex int
commitChanges bool
Résultat void

GetImageCount() public static méthode

public static GetImageCount ( IntPtr windowsImageHandle ) : int
windowsImageHandle System.IntPtr
Résultat int

GetImageInformation() public static méthode

public static GetImageInformation ( IntPtr handle ) : string
handle System.IntPtr
Résultat string

LoadImage() public static méthode

public static LoadImage ( IntPtr handle, int imageIndex ) : IntPtr
handle System.IntPtr
imageIndex int
Résultat System.IntPtr

MountImage() public static méthode

public static MountImage ( string mountPath, string windowsImageFileName, int imageIndex, string temporaryPath ) : void
mountPath string
windowsImageFileName string
imageIndex int
temporaryPath string
Résultat void

RegisterCallback() public static méthode

public static RegisterCallback ( MessageCallback callback ) : void
callback MessageCallback
Résultat void

SetImageInformation() public static méthode

public static SetImageInformation ( IntPtr handle, string imageInfo ) : void
handle System.IntPtr
imageInfo string
Résultat void

SetTemporaryPath() public static méthode

public static SetTemporaryPath ( IntPtr handle, string temporaryPath ) : void
handle System.IntPtr
temporaryPath string
Résultat void

UnregisterMessageCallback() public static méthode

public static UnregisterMessageCallback ( MessageCallback registeredCallback ) : void
registeredCallback MessageCallback
Résultat void