Namespace: Rx – Class: CRxImage – Header: Rx.Core.Ex/RxImage.h

CRxImage::CreateMoniker Method

C++
void CreateMoniker(const CRxImageFormat& xFormat, void* pvImgData, double dTimestamp, unsigned uID)

Creates an image of the given format. This copies only the image data pointer. Does not allocate memory.

An images created with this method does never free the memory behind the pointer. The pointer responsibility stays with the caller.

Parameters

[const CRxImageFormat&] xFormat

The image format.

[void*] pvImgData

The image data pointer.

[double] dTimestamp

(Optional) The timestamp of the image capture.

[unsigned] uID

(Optional) The image ID.