Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlDevSecondaryDisplay_GetScreenSize Function
PrlApi.h  Secondary Display Capture  Send Feedback

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

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

hVm
A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine.
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
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!