mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
* check parameters
svn path=/trunk/; revision=23143
This commit is contained in:
@@ -344,6 +344,11 @@ NtUserCreateAcceleratorTable(
|
||||
Entries, EntriesCount);
|
||||
UserEnterExclusive();
|
||||
|
||||
if (!Entries || !EntriesCount)
|
||||
{
|
||||
RETURN( (HACCEL) 0 );
|
||||
}
|
||||
|
||||
Accel = ObmCreateObject(gHandleTable, (PHANDLE)&hAccel, otAccel, sizeof(ACCELERATOR_TABLE));
|
||||
|
||||
if (Accel == NULL)
|
||||
|
||||
Reference in New Issue
Block a user