Collapse All
Parallels C API Reference Guide
PrlCVSrc_GetBuffer Function
PrlApi.h 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
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
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!