C# 클래스 ZForge.Win32.RemovableDriveDetector.Native

WinAPI functions
파일 보기 프로젝트 열기: zhuangyy/Motion

공개 메소드들

메소드 설명
CloseDirectoryHandle ( IntPtr handle ) : bool
OpenDirectory ( string dirPath ) : IntPtr

Opens a directory, returns it's handle or zero.

비공개 메소드들

메소드 설명
CloseHandle ( IntPtr hObject ) : bool
CreateFile ( string FileName, uint DesiredAccess, uint ShareMode, uint SecurityAttributes, uint CreationDisposition, uint FlagsAndAttributes, int hTemplateFile ) : IntPtr
RegisterDeviceNotification ( IntPtr hRecipient, IntPtr NotificationFilter, uint Flags ) : IntPtr
UnregisterDeviceNotification ( IntPtr hHandle ) : uint

메소드 상세

CloseDirectoryHandle() 공개 정적인 메소드

public static CloseDirectoryHandle ( IntPtr handle ) : bool
handle System.IntPtr
리턴 bool

OpenDirectory() 공개 정적인 메소드

Opens a directory, returns it's handle or zero.
public static OpenDirectory ( string dirPath ) : IntPtr
dirPath string path to the directory, e.g. "C:\\dir"
리턴 System.IntPtr