mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:52:59 +00:00
[KS]
- resource size parameter is optional according to documentation CORE-6555 svn path=/trunk/; revision=57979
This commit is contained in:
parent
52e8d95c40
commit
730e837148
1 changed files with 6 additions and 1 deletions
|
@ -52,7 +52,12 @@ KsLoadResource(
|
||||||
RtlMoveMemory(Result, Data, Size);
|
RtlMoveMemory(Result, Data, Size);
|
||||||
/* store result */
|
/* store result */
|
||||||
*Resource = Result;
|
*Resource = Result;
|
||||||
*ResourceSize = Size;
|
|
||||||
|
if (ResourceSize)
|
||||||
|
{
|
||||||
|
/* resource size is optional */
|
||||||
|
*ResourceSize = Size;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue