Changeset 1363


Ignore:
Timestamp:
11/29/2009 9:05:36 AM (5 years ago)
Author:
lowjoel
Message:

ERROR_ACCESS_DENIED is 0x5 not 0x6 (ERROR_INVALID_HANDLE).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.Manager/EntropySource.cs

    r1360 r1363  
    344344                catch (System.ComponentModel.Win32Exception e) 
    345345                { 
    346                     if (e.NativeErrorCode != 6) //ERROR_ACCESS_DENIED 
     346                    if (e.NativeErrorCode != 5) //ERROR_ACCESS_DENIED 
    347347                        throw; 
    348348                } 
Note: See TracChangeset for help on using the changeset viewer.