ae.sys.windows.misc

Miscellaneous Windows utility code.

Members

Functions

getLastInputInfo
uint getLastInputInfo()

GetLastInputInfo wrapper.

getWineVersion
string getWineVersion()

Returns Wine version, or null if not running under Wine.

hideOwnConsoleWindow
void hideOwnConsoleWindow()

Hides the console window, but only if we are the owner.

isWin64
bool isWin64()

Returns true if the host Windows OS is 64-bit.

largeInteger
LARGE_INTEGER largeInteger(long n)

Construct a LARGE_INTEGER.

makeUlong
ulong makeUlong(DWORD dwLow, DWORD dwHigh)

Construct an ulong from two DWORDs using ULANGE_INTEGER.

messageBox
int messageBox(string message, string title, int style)

MessageBoxW wrapper.

messageLoop
void messageLoop()

Pump messages until a WM_QUIT.

processWindowsMessages
void processWindowsMessages()

Pump pending messages.

ulargeInteger
ULARGE_INTEGER ulargeInteger(ulong n)

Construct a ULARGE_INTEGER.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>