![background image](http://html1.mh-extra.com/html/advantech/uno-1019/uno-1019_user-manual_2858277074.webp)
UNO-1019 User Manual
66
10. IOCTL_PLAY_BUZZER:
Make the buzzer start beeping.
lpInBuffer : The DWORD pointer to the number of mini-seconds to play.
nInBufferSize: User provided input buffer size.
lpOutBuffer: unsed.
nOutBufferSize: unsed.
11. IOCTL_STOP_BUZZER:
Stop the buzzer that is playing.
lpInBuffer :unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
DeviceIOControl
This function sends a control code directly to a specified device driver,
causing the corresponding device to perform the specified operation.
BOOL DeviceIoControl(
HANDLE hDevice,
DWORD dwIoControlCode,
LPVOID lpInBuffer,
DWORD nInBufferSize,
LPVOID lpOutBuffer,
DWORD nOutBufferSize,
LPDWORD lpBytesReturned,
LPOVERLAPPED lpOverlapped );