I have built a LV DLL that accepts IMAQ Image as one of its input. The C type mentioned in the Header file for the image arg is uintptr_t *. I call it from LabVIEW configuring the image arg as "Adapt to Type" and "Handles by Value". I wire a valid IMAQ image. I assume the value of this image wire as uintptr_t(I have seen in other DLLs in which image is a part of cluster). Code works fine.Passing uintptr_t to uintptr_t* works fine.
Reading the documentation for Adapt to Type mentions: "Scalars are passed by reference. A pointer to the scalar is passed to the library." My question is: is IMAQ image a scalar here?
```.h
uint32_t __cdecl CountPixels(uintptr_t *ImageIN, uint8_t Intensity);
```