search for: lpoverlapped

Displaying 6 results from an estimated 6 matches for "lpoverlapped".

2017 Jun 04
2
trying to get a minimal windows program linked with lld
Here's some C code: extern void *GetStdHandle(unsigned int nStdHandle); extern void ExitProcess(unsigned int exit_code); extern char WriteFile(void *HANDLE, const void * lpBuffer, unsigned int nNumberOfBytesToWrite, unsigned int *lpNumberOfBytesWritten, void *lpOverlapped); static const char *message_ptr = "hello\n"; static const unsigned int message_len = 6; __attribute__((stdcall)) int _start(void) { void *hStdOut = GetStdHandle(-11); WriteFile(hStdOut, message_ptr, message_len, 0, 0); ExitProcess(0); } I use mingw-w64 like this: gcc -c...
2017 Jun 04
2
trying to get a minimal windows program linked with lld
...joe30 at gmail.com> wrote: Here's some C code: extern void *GetStdHandle(unsigned int nStdHandle); extern void ExitProcess(unsigned int exit_code); extern char WriteFile(void *HANDLE, const void * lpBuffer, unsigned int nNumberOfBytesToWrite,     unsigned int *lpNumberOfBytesWritten, void *lpOverlapped); static const char *message_ptr = "hello\n"; static const unsigned int message_len = 6; __attribute__((stdcall)) int _start(void) {     void *hStdOut = GetStdHandle(-11);     WriteFile(hStdOut, message_ptr, message_len, 0, 0);     ExitProcess(0); } I use mingw-w64 like this: gcc -c...
2001 Nov 07
1
WG: Re: Wine and the serial port [LONG]
...with overlapped I/O. However, for WaitCommEvent() we do not specify an overlapped structure. This works fine on NT4 / W2K, but is contrary to the documentation, which specifys that you need to supply an overlapped structure if you do. Quote: "If hFile was opened with FILE_FLAG_OVERLAPPED, the lpOverlapped parameter must not be NULL. It must point to a valid OVERLAPPED structure. If hFile was opened with FILE_FLAG_OVERLAPPED and lpOverlapped is NULL, the function can incorrectly report that the operation is complete. " However, this has worked for years in "real life", and is in use by...
2002 May 24
0
gta3
...Will use the hard-coded setup, but this will disappear soon. Please add a WinMM section to your Wine config file. err:midi:OSS_MidiInit ioctl on midi info for device 0 failed. fixme:system:SystemParametersInfoA Unimplemented action: 8193 (SPI_SETFOREGROUNDLOCKTIMEOUT) err:file:GetOverlappedResult lpOverlapped->hEvent was null fixme:win32:DEVICE_Open Unknown/unsupported VxD DINPUT.VXD. Try --winver nt40 or win31 ! fixme:system:EnumDisplayDevicesA ((nil),0,0x4047628c,0x00000000), stub! fixme:system:EnumDisplayDevicesA ((nil),0,0x4047628c,0x00000000), stub! fixme:system:EnumDisplayDevicesA ((nil),0,0x4...
2009 Feb 13
0
Wine release 1.1.15
...them into memory. d3dxof: Make is_keyword handle end of file correctly. d3dxof: Cleanup IDirectXFileImpl_CreateEnumObject a bit. d3dxof: Add support for DXFILELOAD_FROMRESOURCE source. Christoph von Wittich (1): kernel32: DeviceIoControl: lpBytesReturned must not be NULL if lpOverlapped is NULL. David Adam (17): d3dx9_36: Fix failing tests in Windows. d3dx8: Allow output pointer to be equal to input pointer. d3dx8: Simplify some functions. d3dx8: Implement D3DXFresnelTerm. d3dx8: Implement D3DXIntersectTri. d3dx9_36: Implement D3DXIntersectTri....
2008 Jun 27
0
Wine release 1.1.0
...ct GetPrinterDataEx() instead of GetPrinterData(). dbghelp: Use dbgstr_a() in case pointer is NULL. mpr: Fix some memory leaks. gdi32: Pass correct pointer value to HeapFree(). Colin Finck (2): wininet: Always pass a variable as lpNumberOfBytesWritten on a WriteFile call if lpOverlapped is set to NULL. comctl32: Use a clip region when collapsing the treeview. Dan Hipschman (7): gdi32: Add tests for GetTextFace. riched20/tests: Add tests for OLE interface. riched20/tests: Add a test for creating ITextDocument. kernel32/tests: Add tests for TLS functio...