search for: winapi

Displaying 20 results from an estimated 159 matches for "winapi".

2001 Aug 15
1
WineLib Warning?
When compiling the following line of code using WineLib 20010731 you get a warning message. // generates a warning CompareString(LOCALE_USER_DEFAULT, dwFlags, s1, -1, s2, -1); These warning relates to the defines found in include/winbase.h file where we have: UINT WINAPI CompareStringA(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD); UINT WINAPI CompareStringW(DWORD,DWORD,LPCWSTR,DWORD,LPCWSTR,DWORD); In the Borland 5.2 include file these API's are defined as: int WINAPI CompareStringA(LCID, DWORD, LPCSTR, int, LPCSTR, int); int WINAPI CompareStringW(LCID, DWORD, L...
1999 Mar 02
0
DLL's and WINAPI
The reason i had problems running C++ DLL's in R was that i had defined my functions using the WINAPI command, e.g. void __export WINAPI fname ( int x[10][2], int y[10] ) { .... .... } I thought i could use WINAPI so that the name of the function ("fname") would remain unchanged when called in R which it does, but it also implements the standard calling convention, (as opposed to...
2008 Dec 05
0
Wine release 1.1.10
The Wine development release 1.1.10 is now available. What's new in this release (see below for details): - Support for virtual memory write watches. - Workarounds for the WINAPI compiler bug on Mac OS. - Several fixes for the 64-bit build. - Some more GdiPlus functions. - Various bug fixes. The source is available from the following locations: http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.1.10.tar.bz2 http://prdownloads.sourceforge.net/wine/wine-1.1...
2015 Aug 30
3
Compilation error with MinGW
...] thread. I use release_37 >> branch on 64-bit Windows 7. >> The problem is here: >> >> #ifdef __MINGW32__ >> #include <imagehlp.h> >> #else >> #include <dbghelp.h> >> #endif >> >> <skip> >> >> typedef BOOL (WINAPI >> *fpEnumerateLoadedModules)(HANDLE,PENUMLOADED_MODULES_CALLBACK64,PVOID); >> >> imagehlp.h doesn't define PENUMLOADED_MODULES_CALLBACK64 type. >> I fixed it on my side by the patch in the bottom of this email, but I >> don't know if it's the right approac...
2015 Aug 29
2
Compilation error with MinGW
Hi all, I'm hitting the same problem as in this[1] thread. I use release_37 branch on 64-bit Windows 7. The problem is here: #ifdef __MINGW32__ #include <imagehlp.h> #else #include <dbghelp.h> #endif <skip> typedef BOOL (WINAPI *fpEnumerateLoadedModules)(HANDLE,PENUMLOADED_MODULES_CALLBACK64,PVOID); imagehlp.h doesn't define PENUMLOADED_MODULES_CALLBACK64 type. I fixed it on my side by the patch in the bottom of this email, but I don't know if it's the right approach in general. [1] http://comments.gmane.org...
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...right (C) 2010 Red Hat Inc. @@ -42,82 +41,82 @@ #define SVCNAME TEXT("RHSrvAny") -SERVICE_STATUS gSvcStatus; +SERVICE_STATUS gSvcStatus; HANDLE ghSvcStopEvent = NULL; -SERVICE_STATUS_HANDLE gSvcStatusHandle; +SERVICE_STATUS_HANDLE gSvcStatusHandle; VOID SvcInstall (void); -VOID WINAPI SvcCtrlHandler (DWORD); -VOID WINAPI SvcMain (DWORD, LPTSTR *); +VOID WINAPI SvcCtrlHandler (DWORD); +VOID WINAPI SvcMain (DWORD, LPTSTR *); VOID SvcReportEvent (LPTSTR); -VOID SvcInit (DWORD, LPTSTR *); +VOID SvcInit (DWORD, LPTSTR *); VOID ReportSvcStatus (DWORD, DWORD, DWORD); int mai...
2011 Mar 15
4
HUNK #N Problems When Applying A Patch For Wine 1.3.15
...Windows 2000 XP API Wrapper Pack + * Released under LGPL + */ + #include "config.h" #include "wine/port.h" @@ -48,12 +56,46 @@ #include "wine/server.h" #include "wine/debug.h" #include "wine/unicode.h" +#include "dinput.h" +DWORD WINAPI __pollInput(LPVOID) ; WINE_DEFAULT_DEBUG_CHANNEL(win); WINE_DECLARE_DEBUG_CHANNEL(keyboard); static DWORD last_mouse_event; +BOOL mouse_init = FALSE; +LPDIRECTINPUT8A lpdi; +LPDIRECTINPUTDEVICE8A m_mouse; + +static DIMOUSESTATE2 mouse_state; +static DIMOUSESTATE2...
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...right (C) 2010 Red Hat Inc. @@ -42,82 +41,82 @@ #define SVCNAME TEXT("RHSrvAny") -SERVICE_STATUS gSvcStatus; +SERVICE_STATUS gSvcStatus; HANDLE ghSvcStopEvent = NULL; -SERVICE_STATUS_HANDLE gSvcStatusHandle; +SERVICE_STATUS_HANDLE gSvcStatusHandle; VOID SvcInstall (void); -VOID WINAPI SvcCtrlHandler (DWORD); -VOID WINAPI SvcMain (DWORD, LPTSTR *); +VOID WINAPI SvcCtrlHandler (DWORD); +VOID WINAPI SvcMain (DWORD, LPTSTR *); VOID SvcReportEvent (LPTSTR); -VOID SvcInit (DWORD, LPTSTR *); +VOID SvcInit (DWORD, LPTSTR *); VOID ReportSvcStatus (DWORD, DWORD, DWORD); int mai...
2011 Sep 01
5
Another TAPI issue (Microkey Millennium)
Everything appears to install properly under wine when I'm setting up Millennium, but when I try to launch it, I get the following error: "The procedure entry point phoneInitializeExA could not be located in the dynamic link library tapi32.dll" I know tapi support in wine is woefully underdeveloped, but does anyone know if there's some kind of work-around for this kind of
2009 Sep 13
1
[LLVMdev] I am suspicious on the setting of _WIN32_WINNT
That's because when I am using Mingw to compile llvm. It's report can't find the API DWORD WINAPI GetProcessId( __in HANDLE Process ); In Mingw it's defined as #if (_WIN32_WINNT >= 0x0501) WINBASEAPI DWORD WINAPI GetProcessId(HANDLE); #endif but IN Wnidows SDK, there is nothing around GetProcessId. But from MSDN GetProcessId Function Retrieves the process identifier of the specif...
2012 Jul 19
2
[LLVMdev] how to stop a llvm thread
Hi, how can I safely stop a llvm thread, so that the thread can clean up. Using the WINAPI TerminateThread() is therefore not an alternative. I work with vs2010. Thanks Duc -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the c...
2006 Jun 28
3
[Fwd: [ruby] win32-service : RegisterServiceCtrlHandlerEx]
Thoughts? -------------- next part -------------- An embedded message was scrubbed... From: "Romuald du Song" <rdusong at gmail.com> Subject: [ruby] win32-service : RegisterServiceCtrlHandlerEx Date: Mon, 26 Jun 2006 00:02:10 +0200 Size: 2587 Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060628/8f12e8f1/attachment-0001.mht
2009 Jul 27
5
Problems with Pass4Sure's Network+ Demo
All: My employer has required me to pass a computer security certification exam. The folks at Pass4Sure have what I consider the best program. However, it does not want to play nice under Wine. I installed the Demo version of the Network+ test program. It is a native Windows Java application. It wanted to install GDIPLUS and msxml6. I used Winetricks to install them and then tried to run
2007 Mar 26
16
mongrel_service fails to get "service.exe" from ppid?
Konnichiwa Mongrel users, mongrel_service cannot run as a windows service under my environment, with the windows message : "error 1053 : The service did not respond to the start or control request in a timely fashion." >From a part of "ServiceFB.log" at c:/ruby/bin, mongrel_service failed to get the process name of "service.exe".
2012 Jul 19
0
[LLVMdev] how to stop a llvm thread
Hi Duc, > how can I safely stop a llvm thread, so that the thread can clean up. Using the > WINAPI TerminateThread() is therefore not an alternative. I work with vs2010. LLVM doesn't have any threads. Ciao, Duncan.
2014 Mar 21
1
PATCH for cpu.c
Explanation of changes in this patch: 1) 'CALLBACK' was changed to 'WINAPI' because the signature of an unhandled exception filter is LONG (WINAPI *unhandled_func)(struct _EXCEPTION_POINTERS); 2) The code if(info->ia32.fxsr || info->ia32.sse || info->ia32.sse2) { [...] } was replaced by if(info->ia32.sse) { [...] } el...
2008 Apr 22
1
HeapAlloc vs. malloc. How does HeapAlloc work?
Hi, I am little bit interested in Wine source code. There is one thing I don't understand. How does HeapAlloc() work? Is it the same behavior as Winapi HeapAlloc()? If so then I have to check NULL value after each calling of this function, don't I? I have found this code in Wine 0.9.57: In dlls/dbghelp/stabs.c function 'static int stabs_new_include(const char* file, unsigned long val)' line 163: ??????? if (!include_defs) ??????????...
2008 Jun 13
2
WineLib child Window to X11 Window
Is there a way to create child winapi window to x11 window with winelib? I need it to port a piece of window application to linux. I need a HWND equivalent of X11 Window handle to pass it to CreateWindow as parent.
2009 Jul 09
3
Re: Install LiveZilla In wine
...d contain. I have tried the below patch but the compile barfs: > > diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c > index 547b666..d19bff7 100644 > --- a/dlls/iphlpapi/iphlpapi_main.c > +++ b/dlls/iphlpapi/iphlpapi_main.c > @@ -434,6 +434,31 @@ DWORD WINAPI GetAdapterIndex(LPWSTR AdapterName, PULONG IfIndex) > > > /****************************************************************** > + * GetAdaptersAddresses (IPHLPAPI.@) > + * > + * Get addresses associated with adapters. > + * > + * PARAMS > + * Family [In] address family...
2010 Jul 31
2
getElementsByName
static HRESULT WINAPI HTMLDocument3_getElementsByName(IHTMLDocument3 *iface, BSTR v, IHTMLElementCollection **ppelColl) { HTMLDocument *This = HTMLDOC3_THIS(iface); FIXME("(%p)->(%s %p)\n", This, debugstr_w(v), ppelColl); return E_NOTIMPL; }...