search for: lpnumberofbyteswritten

Displaying 4 results from an estimated 4 matches for "lpnumberofbyteswritten".

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...
2017 Jun 04
2
trying to get a minimal windows program linked with lld
...33 PM, Andrew Kelley <superjoe30 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...
2012 Jun 22
0
Wine release 1.5.7
...: Use the correct struct in a sizeof. port.h: Add INFINITY macro. wined3d: Use INFINITY. include: Make IMAGE_COR20_HEADER declaration compatible with PSDK headers. wininet: Use the correct type for sock_namelen in FTP_Connect. imagehlp: Do not pass NULL to WriteFile as lpNumberOfBytesWritten. include/httprequest.idl: Use widl-specific attributes only with widl. wintrust/tests: Fix build with MSVC. Ulrik Dickow (1): msxml3/tests: Test namespace change for all document versions. Vincent Povirk (18): include: Add IWICPixelFormatInfo definition. windowscodec...
2008 Jun 27
0
Wine release 1.1.0
...e variables. wineps.drv: Use const-correct 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. kerne...