Jump to content
Sign in to follow this  

DLLCALL problem

Recommended Posts


GetKeyboardLayoutList Function

The GetKeyboardLayoutList function retrieves the input locale identifiers (formerly called keyboard layout handles) corresponding to the current set of input locales in the system. The function copies the identifiers to the specified buffer.


UINT GetKeyboardLayoutList(   

    int nBuff,
    HKL *lpList

[in] Specifies the maximum number of handles that the buffer can hold. 
[out] Pointer to the buffer that receives the array of input locale identifiers.

According to MSDN, GetKeyboardLayoutList function have 2 parameters, but the second one is an array, how can I "dllcall" it successfully? Basically I need to get the locale identifiers list.

Edited by somh

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this