How to get access to windows driver parameter - windows

I have the usb to com converter, whith have own driver with graphic interface. I need to change some parameter by c# .net code. Driver allows changing only by window interface, I asked tech support. Is it possible to intersept command to hardware? View of drivers window.
Device : Moxa UPort 1250

Related

Mac OS sees usb dongle as keyboard

I am trying to connect controller from xkeys.com to my mbp (10.11.5) the manual suggests me using controllermate.app and I have installed. When I plugin the interface, mac always sees the interface as a keyboard.
From controllermate it says. Controllermate driver is not being used, The driver at /System/Library/Extensions/IOHIDFamily.kext is likely being used.
So is that possible reset this usb settings on macos and use controllermate's driver instead of IOHIDFamily.kext
Finally got problem solved! Here is the answer: I used to use my xkey dongle on an Android table and the dongle has been assigned "Support text, mouse, multimedia macros". So I resetted the dongle and assigned "Supports game controller, mouse, multimedia macros". Now when plugin to mac, controllermate's driver still cannot be used but mac os sees xkey dongle as a game controller. Then all the buttons connected to the dongle are working.

Setting driver group / icon

I'm writing a Windows driver. So far everything looks OK and the driver installs / works as desired. I can't figure out how to set driver group to one of the existing groups and icon-sets.
By driver group I mean the group that you see in Device Manager (Monitors, Network Adapters, Processors, Ports (COM & LPT), etc.)
Even if I write the same name, Device manager will create a new group:
[Strings]
ClassName="Keyboards"
Also, I found no way of setting the icon for my device. I tried setting Class to Keyboard, HIDClass, System, whatever, but the icon shown is always that of Network adapters.
[Version]
Class=SCSIAdapter ;System
How can I properly set the desired group and icon?
I know this post is a year old, but figured I would drop my thoughts for the benefit of future needs.
To achieve what you are trying to do, you need to specify both a Class and a ClassGuid for an inbox class within the Version section.
[Version]
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Note that you can not change name or the icon for inbox classes.
For the device icon you can easily set it using AddProperty directive within a DDInstall section. MSDN AddProperty Directive
The following is a quote from a post over on osronline.com from Doron Holan from Microsoft:
download.microsoft.com/download/a/f/7/af7777e5-7dcd-4800-8a0a-b18336565f5b/CustomIcon.doc
Abstract
{ This paper summarizes the steps device vendors take to customize device icons in My Computer, Autoplay, Device Manager, and New Hardware dialogs in the Microsoft Windows family of operating systems.
Specifying a per driver package icon
technet.microsoft.com/en-us/evalcenter/ff543520(v3Dvs.100).aspx
The DEVPKEY_DrvPkg_Icon device property represents a list of device icons that Windows uses to visually represent a device instance.

How can i receive the hardware key button event On Windows phone 8?

How can i receive the hardware key button event On Windows phone 8 App?
I have many problem,
The WP 8 is available features are very limited.
The Windows CE / WM is a very different behavior.
I want to access the OS Layer by the API (Function)
Back button : Success. I found this key event.
Home button : ??? (I don't know)
Search button : ??? (I don't know)
Volume Up / Down : Just working volume.
Camera Key : Can i change the default camera app?
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202963(v=vs.105).aspx
Power Key : Can i optionally lock the power key?
OEM Key (Barcode Key) : Push the button, I want to execute the My App?
[Additional]
Sorry. My Project information was too little provided.
I developed the WP8 App in the WP Device OEM Manufacturers.
So I can access to "OS, Device Driver, App".
But there are various MS documents, By First Time, The developement is too hard.
Have you ever used these methods can I?
- Named Event
- SendMessage / PostMessage
- Other Communication
I guess the Key-Point "How can i communicate Device driver <-> App"
I am studying now the following Function.
- Service Agent
- IPC
You cannot access the majority of those buttons, by design. By not allowing applications access, it means the end user has a consistent experience with the standard platform.
You can create a new "lens" to act as a replacement for the default camera application.
That's not to say though as an OEM, that Microsoft would not provide additional access that is not available to a standard "Store" application. That type of access is often protected by a non-disclosure statement however.

What Device Class is a TV or Projector?

I am trying to figure out what class and GUID a TV or Projector belongs to in Windows OS?
Theres over 20 of them and I'm not sure which one a TV or Projector is part of. Here is the complete list
I suspect its one of the following HIDClass, Monitor, Media, etc.
DONT CLOSE THIS: I need to know this because knowing what class a TV is will tell me what GUID I need to use for the function SetupDiGetClassDevs(). This a relevant programming question!!
Here are the differences between HID and USB device APIs:
API Namespace Access type
USB Windows.Devices.Usb exclusive read & exclusive write
HID Windows.Devices.HumanInterfaceDevice shared read & exclusive write
Here are some CLSIDs for Device specific toolbars:
CLSID Device
{29c93b94-45ef-44b3-8ad5-5ec104e0f9c6} NEC LCD Projectors Toolbar
{b686afa8-7ca2-4c19-b9a8-ed364f126907} AOL Television Toolbar
References
Windows Store device apps for internal devices
Windows Media SDK, How to determine a device is a media center device?
Multimedia Streaming on Microsoft Windows CE 3.0
CLSID List: Television

WMI Class for wireless mouse

What is the WMI class to get information about Wireless mouse?
EDIT: How do I distinguish USB mouse from Wireless mouse(Connected via USB Doggle). DeviceInterface value from Win32_PointingDevice class shows as 162 for both because both are connected via USB. But I want to distinguish between these mouses.
As long as it is registered as a mouse, it should be in the Win32_PointingDevice class, which is under the CIMV2 WMI namespace.
Get the free Microsoft WMI Code Creator tool to browse the classes and their properties, you can also generate code and execute methods on the classes, really useful for any kind of WMI stuff.

Resources