I want information from KEYBOARD_EXTENDED_ATTRIBUTES structure. How can I get
this? For some IOCTL_ my function is called but not for all.
I read about the Ioctl but can not find what must be configured that my function
is called with IOCTL_KEYBOARD_QUERY_EXTENDED_ATTRIBUTES.

Message 2 of 3

09 Feb 18 05:11

makrurisan makkeln

xxxxxx@x-publisher.com

Join Date: 12 Jan 2018

Posts To This List: 55

extended attributes in kmdf filter driver

I played more with keyboard IOCTL. If the user press the indicator keys,
IOCTL_KEYBOARD_SET_INDICATORS is triggered and I want to tell that I have
interest in this request and therefore I call
WdfRequestRetrieveOutputMemory(Request, &outputMemory); but this function
returns with error code STATUS_BUFFER_TOO_SMALL How can I extend the buffer for
this request?
By the way the InputBufferLength is 4 and this match exactly the
KEYBOARD_INDICATOR_PARAMETERS structure.
Should I call WdfRequestRetrieveInputBuffer?

Message 3 of 3

09 Feb 18 09:06

makrurisan makkeln

xxxxxx@x-publisher.com

Join Date: 12 Jan 2018

Posts To This List: 55

extended attributes in kmdf filter driver

I have it. I must use WdfRequestRetrieveInputMemory for the 'SET' IOCTL IRP.

Posting Rules

You may not post new threads

You may not post replies

You may not post attachments

You must login to OSR Online AND be a member of the ntdev list to be able to post.