Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlApi_IsGuestOs Function
System Functions

Client can use this method to understand where it executed: on HostOS or on GuestOS (inside VM ).

Syntax
PRL_RESULT PrlApi_IsGuestOs(
    PRL_BOOL_PTR result
);
File

PrlApiDeprecated.h

Remarks

 

@param bool result: 1 - on GuestOS (inside VM) / 0 - on HostOS @return PRL_RESULT. Possible values: PRL_ERR_INVALID_ARG - non valid (NULL) pointer to result PRL_ERR_SUCCESS - operation successfully completed

Links
© 2021 Parallels International GmbH. All rights reserved.