Collapse All
Parallels C API Reference Guide
PrlDevDisplay_SetScreenSurface Function
PrlApi.h Primary Display Capture Send Feedback

Sets CoreGraphics surface for fast server-side display updates.

Syntax
PRL_RESULT PrlDevDisplay_SetScreenSurface(
    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
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 Mac OS X local clients only.

Links
Copyright (c) 1999-2008 Parallels Software International Inc.
What do you think about this topic? Send feedback!