To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example code first listens for button presses on the keyboard. If the correct key is pressed, the program executes a Windows API call through user32.dll to increase, decrease, or mute the volume.
Description
This example code first listens for button presses on the keyboard. If the correct key is pressed, the program executes a Windows API call through user32.dll to increase, decrease, or mute the volume.
Requirements
Software:
Steps to Implement or Execute Code
Additional Information or References
NI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.