Jump to content

DLLCALL problem


somh
 Share

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.

Syntax

UINT GetKeyboardLayoutList(   


    int nBuff,
    HKL *lpList
);

Parameters
nBuff
[in] Specifies the maximum number of handles that the buffer can hold. 
lpList
[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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...