Changeset 999
- Timestamp:
- 5/7/2009 7:14:16 AM (4 years ago)
- Location:
- branches/eraser6/Util
- Files:
-
- 4 edited
-
KernelAPI.cs (modified) (2 diffs)
-
NetAPI.cs (modified) (1 diff)
-
ShellAPI.cs (modified) (1 diff)
-
UxThemeAPI.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Util/KernelAPI.cs
r997 r999 129 129 /// while the application is running. 130 130 /// </summary> 131 /// <param name="e sFlags">The thread's execution requirements. This parameter132 /// can be one or more of the EXECUTION_STATE values.</param>131 /// <param name="executionState">The thread's execution requirements. This 132 /// parameter can be one or more of the EXECUTION_STATE values.</param> 133 133 /// <returns>If the function succeeds, the return value is the previous 134 134 /// thread execution state. … … 178 178 /// This function does not stop the screen saver from executing. 179 179 /// </remarks> 180 public static ThreadExecutionState SetThreadExecutionState(ThreadExecutionState esFlags) 180 public static ThreadExecutionState SetThreadExecutionState( 181 ThreadExecutionState executionState) 181 182 { 182 183 return (ThreadExecutionState)NativeMethods.SetThreadExecutionState( 183 (NativeMethods.EXECUTION_STATE)e sFlags);184 (NativeMethods.EXECUTION_STATE)executionState); 184 185 } 185 186 -
branches/eraser6/Util/NetAPI.cs
r994 r999 55 55 { 56 56 IntPtr netAPIStats = IntPtr.Zero; 57 string serviceName = "Lanman" + service.ToString(); ;58 if (NativeMethods.NetStatisticsGet(server, serviceName, 0, 0, out netAPIStats) == 0)57 string serviceName = "Lanman" + service.ToString(); 58 if (NativeMethods.NetStatisticsGet(server, serviceName, level, options, out netAPIStats) == 0) 59 59 { 60 60 try -
branches/eraser6/Util/ShellAPI.cs
r998 r999 33 33 /// Empties the recycle bin for the current user. 34 34 /// </summary> 35 /// <param name=" flags">The list of flags to pass to the shell regarding35 /// <param name="options">The list of flags to pass to the shell regarding 36 36 /// the user feedback, etc.</param> 37 public static void EmptyRecycleBin(EmptyRecycleBinFlags flags)37 public static void EmptyRecycleBin(EmptyRecycleBinFlags options) 38 38 { 39 39 NativeMethods.SHEmptyRecycleBin(Form.ActiveForm.Handle, null, 40 (NativeMethods.SHEmptyRecycleBinFlags) flags);40 (NativeMethods.SHEmptyRecycleBinFlags)options); 41 41 } 42 42 -
branches/eraser6/Util/UxThemeAPI.cs
r998 r999 347 347 348 348 [DllImport("UxTheme.dll", CharSet = CharSet.Unicode)] 349 [return: MarshalAs(UnmanagedType.Bool)] 349 350 public static extern bool IsThemeBackgroundPartiallyTransparent( 350 351 SafeThemeHandle hTheme, int iPartId, int iStateId);
Note: See TracChangeset
for help on using the changeset viewer.
