Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDevSecondaryDisplay_GetScreenSize Function
Secondary Display Capture

Returns the primary display screen size of the specified virtual machine.

Syntax
PRL_RESULT PrlDevSecondaryDisplay_GetScreenSize(
    PRL_HANDLE hObj, 
    PRL_UINT32 display, 
    PRL_IO_DISPLAY_SCREEN_SIZE_PTR size
);
File

PrlApiVm.h

Parameters

hObj
display
Display ID (0 for primary display, 1, 2, 3, etc.)
size
[out] A pointer to a structure containing the screen size properties.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.