C# 클래스 Dear.Files.FileUtil

파일 보기 프로젝트 열기: MrWindows/MrWindows

공개 메소드들

메소드 설명
WhoIsLocking ( string path ) : List

Find out what process(es) have a lock on the specified file.

See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa373661(v=vs.85).aspx http://wyupdate.googlecode.com/svn-history/r401/trunk/frmFilesInUse.cs (no copyright in code at time of viewing)

비공개 메소드들

메소드 설명
RmEndSession ( uint pSessionHandle ) : int
RmGetList ( uint dwSessionHandle, uint &pnProcInfoNeeded, uint &pnProcInfo, [ rgAffectedApps, uint &lpdwRebootReasons ) : int
RmRegisterResources ( uint pSessionHandle, UInt32 nFiles, string rgsFilenames, UInt32 nApplications, [ rgApplications, UInt32 nServices, string rgsServiceNames ) : int
RmStartSession ( uint &pSessionHandle, int dwSessionFlags, string strSessionKey ) : int

메소드 상세

WhoIsLocking() 정적인 공개 메소드

Find out what process(es) have a lock on the specified file.
See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa373661(v=vs.85).aspx http://wyupdate.googlecode.com/svn-history/r401/trunk/frmFilesInUse.cs (no copyright in code at time of viewing)
static public WhoIsLocking ( string path ) : List
path string Path of the file.
리턴 List