¡@

Home 

c# Programming Glossary: iphandlepointer

Using C#, how does one figure out what process locked a file?

http://stackoverflow.com/questions/860656/using-c-how-does-one-figure-out-what-process-locked-a-file

Process process var nHandleInfoSize 0x10000 var ipHandlePointer Marshal.AllocHGlobal nHandleInfoSize var nLength 0 IntPtr ipHandle.. CNST_SYSTEM_HANDLE_INFORMATION ipHandlePointer nHandleInfoSize ref nLength Win32API.STATUS_INFO_LENGTH_MISMATCH.. nHandleInfoSize nLength Marshal.FreeHGlobal ipHandlePointer ipHandlePointer Marshal.AllocHGlobal nLength var baTemp new..