Collapse All
Parallels C API Reference Guide
PrlDevDisplay_GetAvailableDisplaysCount Function
PrlApi.h Primary Display Capture

Returns available displays count of a remote virtual machine desktop.

Syntax
PRL_RESULT PrlDevDisplay_GetAvailableDisplaysCount(
    PRL_HANDLE hVm, 
    PRL_UINT32_PTR pDisplaysCount
);
File
Parameters

hVm
A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine.
pDisplaysCount
Refrence to variable that will receive available display count. 0 will be returned if information about displays is not available or Parallels Tools is not started.
Returns

PRL_RESULT . Possible values: PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. PRL_ERR_UNINITIALIZED - the library was not initialized. PRL_ERR_SUCCESS - function completed successfully.

Remarks

Parallells Tools must be installed for retreive real displays count.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!