Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlDbg_GetHandlesNum Function
PrlApi.h  API Debug Functions  Send Feedback

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
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 (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!