Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDevDisplay_GetAvailableDisplaysCount Function
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

PrlApiVm.h

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
© 2021 Parallels International GmbH. All rights reserved.