mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[VIDEOPRT] VideoPortInitialize(): Display the invalid and expected struct sizes on error
This commit is contained in:
parent
4d9f67c79b
commit
01a10da73d
1 changed files with 5 additions and 1 deletions
|
@ -794,7 +794,11 @@ VideoPortInitialize(
|
|||
break;
|
||||
|
||||
default:
|
||||
ERR_(VIDEOPRT, "Invalid HwInitializationData size.\n");
|
||||
ERR_(VIDEOPRT, "Invalid HwInitializationData size %lu (expected %lu, %lu or %lu)\n",
|
||||
HwInitializationData->HwInitDataSize,
|
||||
SIZE_OF_NT4_VIDEO_HW_INITIALIZATION_DATA,
|
||||
SIZE_OF_W2K_VIDEO_HW_INITIALIZATION_DATA,
|
||||
sizeof(VIDEO_HW_INITIALIZATION_DATA));
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue