Click here to Skip to main content
15,746,107 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a function:

SaveImages(IntPtr Images)

To use it, i have to get Images data.

In C++ Images is got like this:

Images = (ImagesStruct *)lParam;

ImagesStruct is a structure like:

typedef struct _ImagesStruct
  DWORD DocNumber;
  CompressedImage *Images;
  BOOL SnippetFront;

my question is how to get lParam in C# WPF app to handle an usb connected device (a scaner panini vision x in my case).

i've already created the image struct in c#

What I have tried:

I have found nothing to help until now
Updated 14-May-23 5:28am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900