13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IGetlnstanceDataParametersReturn valuehlnstance HANDLE Identifies a previous call of the application.pData NPSTR Points to a buffer in the current instance.nCount int Specifies the number of bytes to copy.The return value specifies the number of bytes actually copied.GetKBCodePageSyntaxParametersReturn valueint GetKBCodePageOfunction GetKBCodePage: Integer;This function determines which OEM/ ANSI tables are loaded byWindows.None.The return value specifies the code page currently loaded by Windows. Itcan be one of the following values:ValueMeaning437 Default (USA, used by most countries: indicates that there is noOEMANSI.BIN in the Windows directory)850 International (OEMANSI.BIN = XLAT850.BIN)860 Portugal (OEMANSI.BIN = XLAT860.BIN)861 Iceland (OEMANSLBIN = XLAT861.BIN)863 French Canadian (OEMANSI.BIN = XLAT863.BIN)865 Norway/Denmark (OEMANSI.BIN = XLAT865.BIN)3.0ICommentsIf the file OEMANSI.BIN is in the Windows directory, Windows reads itand overwrites the OEM/ ANSI translation tables in the keyboard driver.When the user selects a language within the Setup program and thelanguage does not use the default code page (437), Setup copies theappropriate file (such as XLATPO.BIN) to OEMANSI.BIN in the Windowssystem directory. If the language uses the default code page, Setup deletesOEMANSI.BIN, if it exists, from the Windows system directory.GetKeyboardStateSyntaxvoid GetKeyboardState(lpKeyState)procedure GetKeyboardState(var KeyState: TKeyboardState);This function copies the status of the 256 virtual-keyboard keys to thebuffer specified by the IpKeyState parameter. The high bit of each byte isChapter 4, Functions directory 317

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!