Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDevDisplay_SyncSetScreenSurface Function
Primary Display Capture

Sets CoreGraphics surface for fast server-side display updates.

Syntax
PRL_RESULT PrlDevDisplay_SyncSetScreenSurface(
    PRL_HANDLE hVm, 
    PRL_UINT32 display, 
    PRL_UINT32 windowId, 
    PRL_UINT32 surfaceId, 
    PRL_INT32 scrollX, 
    PRL_INT32 scrollY, 
    PRL_UINT32 width, 
    PRL_UINT32 height
);
File

PrlApiDeprecated.h

Parameters

hVm
A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine.
display
Display ID.
windowId
Window ID.
surfaceId
Surface ID.
scrollX
X coordinate value.
scrollY
Y coordinate value.
width
Width.
height
Height.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

This function applies to OS X local clients only.

Links
© 2021 Parallels International GmbH. All rights reserved.