search for: lpbuffer

Displaying 9 results from an estimated 9 matches for "lpbuffer".

Did you mean: pbuffer
2004 Nov 21
3
win32-file, overlapped added
Hi all, I''ve got overlapped and offset support in both nread and nwrite. The only thing left before I want to release this (as 0.4.0) is to get NO_BUFFERING to work. Unfortunately, I can''t get it to work. Park, I looked at that site you sent (and borrowed some code from it), but I don''t see anything special happening for NO_BUFFERING. I thought it required
2004 Nov 16
2
win32-file: nread and nwrite
Hi all, I''ve got alpha versions of nread and nwrite now added to the win32-file class in CVS. They seem to work fine, although I''ve noticed one bug in the File#read method. Let''s say we have a text file with "hello world" in it. If I call nread with no arguments, it works fine: fh = File.nopen("C:\\test.txt") p fh.nread -> "hello
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(hSt...
2017 Jun 04
2
trying to get a minimal windows program linked with lld
...'s still a problem to solve here. On Sun, Jun 4, 2017 at 3: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(hSt...
2005 Aug 30
0
No subject
...mos/Professional Memo.dot' as 'PROG~FBU' does not match 'Program Files' <CODE> Option Explicit Private Declare Function GetFullPathName Lib "kernel32" _ Alias "GetFullPathNameA" (ByVal lpFileName As String, _ ByVal nBufferLength As Long, ByVal lpBuffer As String, _ ByVal lpFilePart As String) As Long Sub test() Dim buff As String Dim ret As Long Dim pth As String pth = "/home/justin/.cxoffice/dotwine/fake_windows/pretest/GEM01494/GEM01494.rtf" buff = Space$(1024) ret = GetFullPathName(pth, 1024, buff, "") buff = Left$(...
2005 Jan 20
1
ChangeNotify help wanted
Hi all, I''ve checked in some code to win32-changenotify. Unfortunately, it doesn''t work right. I need some help. I don''t understand what, exactly, I''m supposed to pass to ReadDirectoryChangesW() for the 2nd argument, nor how to read the data back out. There''s also a WCHAR issue that needs to be worked out with regards to the FileName
2003 Nov 23
2
Ogg Vorbis use in the Visual Basic .net environment
Heya everyone, I'm planning on putting functionality into a Visual Basic program to be able to play back Ogg Vorbis encoded multimedia files and I'm having difficulty finding out how. Would anyone have any ideas on how I could do this? Perhaps if I were able to use the Ogg Vorbis libraries as a .dll file and call its functions from within the VB program - that might work. So does anyone
2001 Nov 07
1
WG: Re: Wine and the serial port [LONG]
...ns, but WaitForSingleObject(overlappedIO) times out). This is what happens in our trace: ------------------------------------- [07.11.2001 14:04.30,739 Thread 0x08085e28 Process 0x080673b0 Module 1127] SerialDevice(PHYSICAL_SERVICES\Devices\TWINSAFE)::Write() HDEVICE hDevice = 0x4040ee00 LPBYTE lpBuffer = 0x42c75cfc DWORD dwSize = 26 Bytes ULONG ulTimeout = 2000 Milliseconds [07.11.2001 14:04.30,741 Thread 0x08085e28 Process 0x080673b0 Module 1127] SerialDevice(PHYSICAL_SERVICES\Devices\TWINSAFE)::PortWrite [07.11.2001 14:04.30,742 Thread 0x08085e28 Process 0x080673b0 Module 1127] About to cal...
2007 Aug 24
0
Wine release 0.9.44
...Allocate global memory with execute permission. winedos: Make UMB executable. kernel32: Return error code if WOWCallback16Ex of a real-mode function failed. wininet: Support HTTP_QUERY_RAW_HEADER_CRLF|HTTP_QUERY_FLAG_REQUEST_HEADERS. wininet: Make HttpQueryInfo[AW] work for lpBuffer == NULL and len > 0. wininet: A small test for HttpQueryInfoA. Misha Koshelev (13): wininet: Don't peek data in InternetQueryDataAvailable if there is no more to be expected. wininet: InternetQueryDataAvailable does not return ERROR_NO_MORE_FILES when no more HTTP data is...