user32: Create separate FIXME() messages for each packet type in DisplayConfigGetDeviceInfo().
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a16f91ae36
commit
27ed9c95a2
|
@ -4815,7 +4815,7 @@ done:
|
||||||
*/
|
*/
|
||||||
LONG WINAPI DisplayConfigGetDeviceInfo(DISPLAYCONFIG_DEVICE_INFO_HEADER *packet)
|
LONG WINAPI DisplayConfigGetDeviceInfo(DISPLAYCONFIG_DEVICE_INFO_HEADER *packet)
|
||||||
{
|
{
|
||||||
FIXME("stub: %p\n", packet);
|
TRACE("(%p)\n", packet);
|
||||||
|
|
||||||
if (!packet || packet->size < sizeof(*packet))
|
if (!packet || packet->size < sizeof(*packet))
|
||||||
return ERROR_GEN_FAILURE;
|
return ERROR_GEN_FAILURE;
|
||||||
|
@ -4825,6 +4825,9 @@ LONG WINAPI DisplayConfigGetDeviceInfo(DISPLAYCONFIG_DEVICE_INFO_HEADER *packet)
|
||||||
case DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME:
|
case DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME:
|
||||||
{
|
{
|
||||||
DISPLAYCONFIG_SOURCE_DEVICE_NAME *source_name = (DISPLAYCONFIG_SOURCE_DEVICE_NAME *)packet;
|
DISPLAYCONFIG_SOURCE_DEVICE_NAME *source_name = (DISPLAYCONFIG_SOURCE_DEVICE_NAME *)packet;
|
||||||
|
|
||||||
|
FIXME("DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME: stub\n");
|
||||||
|
|
||||||
if (packet->size < sizeof(*source_name))
|
if (packet->size < sizeof(*source_name))
|
||||||
return ERROR_INVALID_PARAMETER;
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
@ -4833,6 +4836,9 @@ LONG WINAPI DisplayConfigGetDeviceInfo(DISPLAYCONFIG_DEVICE_INFO_HEADER *packet)
|
||||||
case DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME:
|
case DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME:
|
||||||
{
|
{
|
||||||
DISPLAYCONFIG_TARGET_DEVICE_NAME *target_name = (DISPLAYCONFIG_TARGET_DEVICE_NAME *)packet;
|
DISPLAYCONFIG_TARGET_DEVICE_NAME *target_name = (DISPLAYCONFIG_TARGET_DEVICE_NAME *)packet;
|
||||||
|
|
||||||
|
FIXME("DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME: stub\n");
|
||||||
|
|
||||||
if (packet->size < sizeof(*target_name))
|
if (packet->size < sizeof(*target_name))
|
||||||
return ERROR_INVALID_PARAMETER;
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
@ -4841,6 +4847,9 @@ LONG WINAPI DisplayConfigGetDeviceInfo(DISPLAYCONFIG_DEVICE_INFO_HEADER *packet)
|
||||||
case DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE:
|
case DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE:
|
||||||
{
|
{
|
||||||
DISPLAYCONFIG_TARGET_PREFERRED_MODE *preferred_mode = (DISPLAYCONFIG_TARGET_PREFERRED_MODE *)packet;
|
DISPLAYCONFIG_TARGET_PREFERRED_MODE *preferred_mode = (DISPLAYCONFIG_TARGET_PREFERRED_MODE *)packet;
|
||||||
|
|
||||||
|
FIXME("DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE: stub\n");
|
||||||
|
|
||||||
if (packet->size < sizeof(*preferred_mode))
|
if (packet->size < sizeof(*preferred_mode))
|
||||||
return ERROR_INVALID_PARAMETER;
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
@ -4849,6 +4858,9 @@ LONG WINAPI DisplayConfigGetDeviceInfo(DISPLAYCONFIG_DEVICE_INFO_HEADER *packet)
|
||||||
case DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME:
|
case DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME:
|
||||||
{
|
{
|
||||||
DISPLAYCONFIG_ADAPTER_NAME *adapter_name = (DISPLAYCONFIG_ADAPTER_NAME *)packet;
|
DISPLAYCONFIG_ADAPTER_NAME *adapter_name = (DISPLAYCONFIG_ADAPTER_NAME *)packet;
|
||||||
|
|
||||||
|
FIXME("DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME: stub\n");
|
||||||
|
|
||||||
if (packet->size < sizeof(*adapter_name))
|
if (packet->size < sizeof(*adapter_name))
|
||||||
return ERROR_INVALID_PARAMETER;
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue