67 base_device_name +
strlen(
"\\Device"),
145 DPRINT(
"SetDeviceData\n");
159 DWORD bytes_returned;
163 DPRINT(
"GetDeviceData\n");
165 memset(&overlap, 0,
sizeof(overlap));
ACPI_SIZE strlen(const char *String)
BOOL WINAPI DeviceIoControl(IN HANDLE hDevice, IN DWORD dwIoControlCode, IN LPVOID lpInBuffer OPTIONAL, IN DWORD nInBufferSize OPTIONAL, OUT LPVOID lpOutBuffer OPTIONAL, IN DWORD nOutBufferSize OPTIONAL, OUT LPDWORD lpBytesReturned OPTIONAL, IN LPOVERLAPPED lpOverlapped OPTIONAL)
#define INVALID_HANDLE_VALUE
MMRESULT ErrorToMmResult(UINT error_code)
MMRESULT SetDeviceData(HANDLE device_handle, DWORD ioctl, PBYTE input_buffer, DWORD buffer_size)
MMRESULT GetDeviceData(HANDLE device_handle, DWORD ioctl, PBYTE output_buffer, DWORD buffer_size)
void CloseKernelDevice(HANDLE device_handle)
MMRESULT CobbleDeviceName(DeviceType device_type, UINT device_id, PWCHAR out_device_name)
MMRESULT OpenKernelDevice(DeviceType device_type, UINT device_id, DWORD access, HANDLE *handle)
static const WCHAR device_name[]
GLuint GLint GLboolean GLint GLenum access
BOOL WINAPI GetOverlappedResult(IN HANDLE hFile, IN LPOVERLAPPED lpOverlapped, OUT LPDWORD lpNumberOfBytesTransferred, IN BOOL bWait)
#define WAVE_OUT_DEVICE_NAME
#define MIDI_IN_DEVICE_NAME
#define MIDI_OUT_DEVICE_NAME
#define WAVE_IN_DEVICE_NAME
#define MAX_DEVICE_NAME_LENGTH
#define MMSYSERR_BADDEVICEID
#define FILE_FLAG_OVERLAPPED
static void buffer_size(GLcontext *ctx, GLuint *width, GLuint *height)
DWORD WINAPI WaitForSingleObjectEx(IN HANDLE hHandle, IN DWORD dwMilliseconds, IN BOOL bAlertable)
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
#define success(from, fromstr, to, tostr)
DWORD WINAPI GetLastError(void)
#define WAIT_IO_COMPLETION