Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is winusb descriptor string defined? #6

Closed
karelbilek opened this issue Dec 3, 2017 · 2 comments
Closed

Where is winusb descriptor string defined? #6

karelbilek opened this issue Dec 3, 2017 · 2 comments

Comments

@karelbilek
Copy link
Contributor

I see in winusb.h:

/* Arbitrary, but must be equivalent to the last character in
   the special OS descriptor string */
#define WINUSB_MS_VENDOR_CODE 0x21

But I cannot see where is the OS descriptor string defined; I sed it only being used in winusb.h

    if (req->bRequest != WINUSB_MS_VENDOR_CODE) {
        return USBD_REQ_NEXT_CALLBACK;
    }

but I don't see the actual descriptor anywhere.

@karelbilek
Copy link
Contributor Author

Oh, that's because 0x21 is actually ! and I see it in MSFT101!. I did not notice that. Closing.

@karelbilek
Copy link
Contributor Author

See #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant