Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 326 of file handle.c.
Referenced by ConcurrentInstallThread(), DllThread(), and ScriptThread().
{ UINT i, n=0; TRACE("\n"); EnterCriticalSection( &MSI_handle_cs ); for(i=0; i<msihandletable_size; i++) { if(msihandletable[i].dwThreadId == GetCurrentThreadId()) { LeaveCriticalSection( &MSI_handle_cs ); MsiCloseHandle( i+1 ); EnterCriticalSection( &MSI_handle_cs ); n++; } } LeaveCriticalSection( &MSI_handle_cs ); return n; }