The method I am clalling is given in the API as follows:
Syntax:
PXL_RETURN_CODE PimMegaStartPreview(
obligatory,
IN HANDLE hImager (this is an U32)
Optional
Parameters,
IN LPSTR title
="PL1394 Camera Preview",
IN U32 style
=WS_OVERLAPPEDWINDOW|WS_VISIBLE,
IN U32 x=0,
IN U32 y=0,
IN U32 width=-1,
IN U32 height=-1,
IN HWND parent=NULL,
IN U32 nId=0,
IN int PreviewDataThreadPriority
=THREAD_PRIORITY_BELOW_NORMAL,
IN int PreviewDrawThreadPriority
=THREAD_PRIORITY_BELOW_NORMAL);
There i
s only one parameter which is obligatory and the remainin are optional. I tried calling the method with the first parameter only but it didn't work and the same problem occured.
Do you know how can represent a HWND variable using LabView and how can I set it to NULL value.
Thanks very much