Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I work in Near Field Comm [NFC] technology domain. I am able to setup the hardware and driver logic for the same. I am able to 'Listen' and then recognize a NFC tag which comes in the vicinity of my hardware.
But as a next step I need to demonstrate some activity on my desktop. For the same I have thought of the following:
1) I would lock the desktop(Windows + L) in the listen mode, and then if any person tries to flash his NFC tag, I would pass the credentials of the tag onto the windows to unlock the windows.
Is this possible?
If I know the correct login credentials can I call a single windows API with the "username" and "password" and then unlock it in C/C++ code?
2)Playing a music. How can I invoke the media player directly with a predefined mp3 to be started when an API is called?
3) Changing the wallpaper of the system. How can I directly change the wallpaper of the system when I call an API?
I would be extremely thankful if anyone can guide me in the above queries.
thanks,
Abhishek
Posted

1 solution

You need to know how to write a device driver.
This link might help you to get started.
Driver Development Part 1: Introduction to Drivers[^]

For asking for user name and password use this api
http://msdn.microsoft.com/en-us/library/aa375177%28v=vs.85%29.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900