Skip to content

Added SetupDiOpenDevRegKey(..), SetupDiEnumDeviceInfo(..) and some constants#335

Closed
ChristianSchwarz wants to merge 4 commits intojava-native-access:masterfrom
ChristianSchwarz:master
Closed

Added SetupDiOpenDevRegKey(..), SetupDiEnumDeviceInfo(..) and some constants#335
ChristianSchwarz wants to merge 4 commits intojava-native-access:masterfrom
ChristianSchwarz:master

Conversation

@ChristianSchwarz
Copy link
Copy Markdown

I added the following items to the Win32 SetupApi

  • SetupDiOpenDevRegKey(..)
  • SetupDiEnumDeviceInfo(..)
  • some constants associated with SetupDiOpenDevRegKey(..)
  • Tests both methods

The JavaDocs are copied from MSDN, is this a legal problem?

SetupDiEnumDeviceInfo(..) and some constants associated with it.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably rewrite this one as new GUID with a string as well. This is a silly optimization.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't write that line, but yeah i can be improved.

@dblock
Copy link
Copy Markdown
Member

dblock commented May 27, 2014

This is good, needs a bit of work. Please also update CHANGELOG.

@ChristianSchwarz
Copy link
Copy Markdown
Author

Are the changes okay or is there more work needed?

Comment thread CHANGES.md
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this look like all the other changelog items.

  • Period at the end.
  • No (..).
  • Write the full class name where this is added, JNA is not just Win32.

@dblock
Copy link
Copy Markdown
Member

dblock commented Jun 12, 2014

Added some more comments. This is very close. Can you also please rebase/squash these commits so that this is mergeable. Thx.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You didn't write the whole thing, right? You should remove this or fish all the names from git history and add them too.

@ChristianSchwarz
Copy link
Copy Markdown
Author

Feel free to reject this pull request, i have no time to finish it.

@dblock
Copy link
Copy Markdown
Member

dblock commented Sep 11, 2014

Lets leave it open in case someone wants to.

@ChristianSchwarz
Copy link
Copy Markdown
Author

I closed this cause made a new PR for this, see-> #419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants