Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlCVSrc_GetBuffer Function
PHT_CVSRC

Returns frame buffer pointer and size.

Syntax
PRL_RESULT PrlCVSrc_GetBuffer(
    PRL_HANDLE hCVSrc, 
    PRL_VOID_PTR_PTR pPtr, 
    PRL_UINT32_PTR uSize
);
File

PrlApiVm.h

Parameters

hCVSrc
[in] A handle of type PHT_CVSRC identifying the source.
pPtr
[out] Will receive pointer on frame buffer.
uSize
[out] Will receive size of frame buffer(in bytes).

Returns

PRL_RESULT. Possible values: PRL_ERR_UNINITIALIZED - SDK was not properly initialized. PRL_ERR_INVALID_ARG - specified arguments are invalid. PRL_ERR_OUT_OF_MEMORY - not enough memory. PRL_ERR_SUCCESS - function completed successfully.

Remarks

Source IO channel must be opened with PrlCVSrc_Open() and buffer must be locked with PrlCVSrc_LockBuffer().

Links
© 2021 Parallels International GmbH. All rights reserved.