4 messages in net.java.dev.jna.users_HIDP_PREPARSED_DATA structure defint...
FromSent OnAttachments
Alan VeaseyMar 31, 2008 10:41 am 
Timothy WallMar 31, 2008 11:22 am 
Alan VeaseyApr 3, 2008 8:24 am 
Timothy WallApr 3, 2008 8:33 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:_HIDP_PREPARSED_DATA structure defintion not availableActions...
From:Alan Veasey (avea@yahoo.com)
Date:Mar 31, 2008 10:41:47 am
List:net.java.dev.jna.users

Without taking too much time, I would like to say that this project is a God-send.

I need to call a Windows function called HidD_GetPreparsedData(). It's second argument is a structure called _HIDP_PREPARSED_DATA. The MSDN documentation for this structure says, "The internal structure of a _HIDP_PREPARSED_DATA structure is reserved for internal system use." I'm not sure where to go from here. I've tried making a new class by extended Structure and PointerType, but I keep getting an access violation. Any help with this would be greatly, greatly appreciated.

This is the API for HidD_GetPreparsedData(): BOOLEAN HidD_GetPreparsedData( IN HANDLE HidDeviceObject, OUT PHIDP_PREPARSED_DATA *PreparsedData );

This is the available struct def for PHIDP_PREPARSED_DATA: typedef struct _HIDP_PREPARSED_DATA * PHIDP_PREPARSED_DATA;

Thank you for this project and keep up the great work!

Alan