Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
struct | FlashInfo |
struct | SHFILEOPSTRUCT |
Public Types | |
enum | StdHandleType { Input = -10 , Output = -11 , Error = -12 } |
enum | ConsoleMode { ProcessedInput = 1 , LineInput = 2 , EchoInput = 4 , WindowInput = 8 , MouseInput = 0x10 , InsertMode = 0x20 , QuickEditMode = 0x40 , ExtendedFlags = 0x80 , AutoPosition = 0x100 , VirtualTerminalInput = 0x200 } |
enum | FlashFlags : uint { Stop = 0u , Caption = 1u , Tray = 2u , CaptionAndTray = 3u , Timer = 4u , UntilFocused = 0xCu } |
enum | DeviceCap { VertRes = 10 , DesktopVertRes = 117 } |
Public Member Functions | |
delegate IntPtr | WndProcCallback (IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam) |
static IntPtr | CallWindowProc (IntPtr lpPrevWndFunc, IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam) |
static IntPtr | SetWindowLongPtr (IntPtr hWnd, int nIndex, IntPtr dwNewLong) |
static IntPtr | DefWindowProc (IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam) |
static IntPtr | GetDC (IntPtr hWnd) |
static bool | TranslateMessage (ref Message message) |
static IntPtr | GetForegroundWindow () |
static bool | GetConsoleMode (IntPtr hConsoleHandle, out ConsoleMode lpMode) |
static bool | SetConsoleMode (IntPtr hConsoleHandle, ConsoleMode dwMode) |
static IntPtr | GetStdHandle (StdHandleType nStdHandle) |
static bool | FlashWindowEx (ref FlashInfo flashInfo) |
static int | GetDeviceCaps (IntPtr hdc, DeviceCap nIndex) |
Static Public Member Functions | |
static bool | MoveToRecycleBin (string path) |
static void | HideConsole () |
Private Types | |
enum | FileOperationFlags : ushort { FOF_SILENT = 4 , FOF_NOCONFIRMATION = 0x10 , FOF_ALLOWUNDO = 0x40 , FOF_SIMPLEPROGRESS = 0x100 , FOF_NOERRORUI = 0x400 , FOF_WANTNUKEWARNING = 0x4000 } |
enum | FileOperationType : uint { FO_MOVE = 1u , FO_COPY , FO_DELETE , FO_RENAME } |
Private Member Functions | |
static int | SHFileOperation (ref SHFILEOPSTRUCT FileOp) |
static IntPtr | GetConsoleWindow () |
static bool | ShowWindow (IntPtr hWnd, int nCmdShow) |
Static Private Member Functions | |
static bool | Send (string path, FileOperationFlags flags) |
static bool | Send (string path) |
static bool | DeleteFile (string path, FileOperationFlags flags) |
static bool | DeleteCompletelySilent (string path) |
Definition at line 6 of file NativeMethods.cs.