mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-08-12 13:25:24 +00:00
-printscreen command line
This commit is contained in:
@@ -571,7 +571,7 @@ void AppleWin_RegisterHotKeys()
|
||||
g_hFrameWindow , // HWND hWnd
|
||||
VK_SNAPSHOT , // int id (user/custom id)
|
||||
0 , // UINT fsModifiers
|
||||
VK_SNAPSHOT // UINT vk
|
||||
VK_SNAPSHOT // UINT vk = PrintScreen
|
||||
);
|
||||
|
||||
if (! bStatus)
|
||||
@@ -694,6 +694,10 @@ int APIENTRY WinMain (HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int)
|
||||
if ((g_hCustomRomF8 == INVALID_HANDLE_VALUE) || (GetFileSize(g_hCustomRomF8, NULL) != 0x800))
|
||||
g_bCustomRomF8Failed = true;
|
||||
}
|
||||
else if(strcmp(lpCmdLine, "-printscreen") == 0) // turn on dispay of the last filename print screen was saved to
|
||||
{
|
||||
g_bDisplayPrintScreenFileName = true;
|
||||
}
|
||||
|
||||
lpCmdLine = lpNextArg;
|
||||
}
|
||||
|
Reference in New Issue
Block a user