Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDispCfg_GetHostId Function
PHT_DISP_CONFIG

Get mobile host id.

Syntax
PRL_RESULT PrlDispCfg_GetHostId(
    PRL_HANDLE hDispConfig, 
    PRL_STR sHostId, 
    PRL_UINT32_PTR pnHostIdBufLength
);
File

PrlApiDeprecated.h

Parameters

sHostId
[out] A pointer to a buffer that receives the result.
pnHostIdBufLength
[in] The size of the output buffer (in bytes). Set the buffer pointer to null and this parameter's value to zero to receive the required size. [out] The required output buffer size.
hHandle
A handle of type PHT_DISP_CONFIG.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or string was passed. 

PRL_ERR_BUFFER_OVERRUN - the size of the output buffer is not large enough. The parameter that is used to specify the size will contain the required size. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.