| Home > Function descriptions > | History back Previous chapter Next chapter Print |
InquireImageMem |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG InquireImageMem (LONG* nWidth, LONG* nHeight, LONG* nBits, LONG* nPitch)
Description
InquireImageMem() reads the properties of the allocated image memory. The function returns the properties of the actual image buffer, as returned by GetImageMem().
|
|
Parameters
nWidth |
Receives the width of the allocated image memory. |
nHeight |
Receives the height of the allocated image memory. |
nBits |
Receives the bits per pixel of the allocated image memory. |
nPitch |
Receives the pitch of the allocated image memory. The pitch is the number of bytes from the start of a line to the start of the next line. |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Example:
ret = InquireImageMem(&nWidth, &nHeight, &nBits, &nPitch);
Related functions