Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlDbg_GetHandlesNum Function
API Debug Functions

The PrlDbg_GetHandlesNum function determines how many handles were instantiated in the API library.

Syntax
PRL_RESULT PrlDbg_GetHandlesNum(
    PRL_UINT32_PTR handles_num, 
    PRL_HANDLE_TYPE type
);
File

PrlApiCore.h

Parameters

handles_num
[out] A pointer to a variable that receives the result.
type
specifies type of handles which instances num necessary to return. If this param has value PHT_ERROR then handle type is ignored and method returns common handles num. Note: using this method in case to get num of handles instances of concrete type may suspends SDK lib functionality on a quite long time.

Returns

PRL_RESULT. Possible values: PRL_ERR_INVALID_ARG - non valid (NULL) pointer for storing result was passed PRL_ERR_SUCCESS - operation completed successfully 

 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.