|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
LoadAccelerators
The LoadAccelerators function loads the specified accelerator table.
HACCEL LoadAccelerators(
HINSTANCE hInstance,
| // handle of application instance
| LPCTSTR lpTableName
| // address of table-name string
| );
|
|
Parameters
hInstance
Identifies an instance of the module whose executable file contains the
accelerator table to load.
lpTableName
Points to a null-terminated string that names the accelerator table to load.
Alternatively, this parameter can specify the resource identifier of an
accelerator-table resource in the low-order word and zero in the high-order word. The MAKEINTRESOURCE macro can be used to create this value.
Return Values
If the function succeeds, the return value is the handle of the loaded
accelerator table.
If the function fails, the return value is NULL.
Remarks
If the accelerator table has not yet been loaded, the function loads it from
the specified executable file.
Accelerator tables loaded from resources are freed automatically when the
application terminates.
See Also
CopyAcceleratorTable, CreateAcceleratorTable, DestroyAcceleratorTable, MAKEINTRESOURCE
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|