Displaying 20 results from an estimated 30 matches for "lpvoid".
Did you mean:
  pvoid
  
2010 Sep 20
1
Dynamic forking in Win32
...I thought Wine might need the memory protections changed... No dice.  A call to VirtualProtectEx then fails after adding it in...
Any ideas on why this won't work in Wine?
Here is some code where I added a lot of extra output for debugging...
Code:
static void doFork(
    EXE_FILE *exe,
    LPVOID ptrLoc,
    DWORD imageSize,
    char *target)
{
    PROCESS_INFORMATION pi;
    CONTEXT ctx;
    PROCINFO childInfo;
    if (createChild(&pi, &ctx, &childInfo, target)) {
        LPVOID v = (LPVOID)NULL;
        DWORD r, old_protection = 0;
        MEMORY_BASIC_INFORMATION basic_info;...
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
2011 Mar 15
4
HUNK #N Problems When Applying A Patch For Wine 1.3.15
...I 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 mouse_state_prev;...
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
2013 Sep 13
0
Wine release 1.7.2
...9: Avoid LPCVOID.
      wined3d: Use clamp() instead of max() for calculating the clamped cosine in the ffp lighting calculations.
      wined3d: Avoid a couple of useless glGetUniformLocationARB() calls.
      wined3d: Don't set WINED3DUSAGE_RENDERTARGET on the front buffer.
      d3dx9: Avoid LPVOID.
      d3dcompiler: Get rid of a couple of redundant casts.
      ddraw: Don't imply WINED3DUSAGE_RENDERTARGET on primary surfaces.
      wined3d: Enforce WINED3DUSAGE_RENDERTARGET format restrictions on resource creation.
      wined3d: Enforce WINED3DUSAGE_DEPTHSTENCIL format restrictions on...
2019 Apr 26
2
[ASan][Windows] Interceptor function type not compatible with intercepted function
...e the case for the following 2 functions:
CreateThread “no conversion”:
From: 'DWORD  (__cdecl *)(void *               , __sanitizer::uptr, DWORD (__cdecl *)(void *), void *, DWORD, void * )'
To  : 'HANDLE (__cdecl *)(LPSECURITY_ATTRIBUTES, SIZE_T           , LPTHREAD_START_ROUTINE   , LPVOID, DWORD, LPDWORD)'
__C_specific_handler:
From: 'int                   (__cdecl *)(void *             , void *, void *    , void *               )'
To:   'EXCEPTION_DISPOSITION (__cdecl *)(_EXCEPTION_RECORD *, void *, _CONTEXT *, _DISPATCHER_CONTEXT *)'
Can someone on the Windo...
2004 Nov 07
2
Problems with DeviceIoControl()
...UM2INT(rb_funcall(self,rb_intern("fileno"),0,0));
   h = (HANDLE)_get_osfhandle(fn); // Get HANDLE based
on fileno
   
   if(h == INVALID_HANDLE_VALUE){
     
rb_raise(cFileError,ErrorDescription(GetLastError()));
   }
   rv = DeviceIoControl(
      h,
      FSCTL_SET_COMPRESSION,
      (LPVOID)inBuf,
      sizeof(inBuf),
      NULL,
      0,
      &dwBytesReturned,
      NULL
   );
   
   if(!rv){   
  
rb_raise(cFileError,ErrorDescription(GetLastError()));
   }
   return self; 
}
// Inside Init_file()
rb_define_method(rb_cFile,"compressed=",file_set_compressed,1);
# Sam...
2009 Jan 07
3
[LLVMdev] LLVM optmization
...amd  ) 
{
  int varx=0,vary=0;
  int nI =0;
    if( parami > 0  ) 
	{
   varx = parami;
   vary = 0;
	}
  else
  {
   varx = 0;
   vary = paraml;
  }
  for( nI = 1 ;   nI <=  paraml; nI++)
  {
    varx =  varx + parami + 1 ;
	vary =  varx + nI;
  }
return varx ;
}
unsigned long thread_call( LPVOID c ) 
{
	int num = 1;
	int (*fp)(int, int, double) = (int (*)(int, int,double)) c;
	//printf("\n(1)threadid =  %ld seqt=%ld inum=%d",GetCurrentThreadId(),num,inum);
	int ret = fp(num,1000000000,1);
	printf("\n(2)leu %ld threadid =  %ld seqt=%ld ",ret , GetCurrentThreadId(),num);...
2003 Oct 27
3
(PR#4806)
...y<-2:10
test(x,y)
The C++ code is below
#include <windows.h>
#include <R.h>
#include <Rinternals.h>
HWND      hWndMain;   
HINSTANCE hInst;    
HGLOBAL   hXloperArray;
//32 bit Entry point
#define CLASS_NAME_BUFFER  50
BOOL WINAPI DllMain(HINSTANCE hDLL, DWORD dwReason, LPVOID lpReserved)
   {					
   extern HWND      hWndMain;
   extern HINSTANCE hInst;    
   
   hInst = hDLL; 
    
   return TRUE;
   }
extern "C" int FAR PASCAL WEP (int nArgument)
   {
   return 1;
   } 
     
extern "C" __declspec(dllexport) SEXP __stdcall out(SEXP x, SEXP y)...
2013 Sep 27
0
Wine release 1.7.3
...Henri Verbeet (49):
      wined3d: Pass a resource to wined3d_resource_allocate_sysmem().
      wined3d: Pass a resource to wined3d_resource_free_sysmem().
      ddraw: Take surface usage into account when checking format capabilities in CreateSurface().
      dxgi: Avoid LPCSTR.
      dxgi: Avoid LPVOID.
      ddraw: Fix render target refcount handling.
      ddraw: Don't set render target / depth stencil usage on sysmem surfaces.
      ddraw: Verify that the surface is a render target in d3d_device_create().
      d3d10core: Avoid LPSTR.
      d3d10core: Avoid LPVOID.
      ddraw: Verify that...
2009 Feb 04
12
Detecting a programm runs using Wine
Is there absolutelu no (unofficial) way to detect whether a programm is running using Wine?
In this way a programm could decide to use other routines for those features that do not work fine using Wine.
2009 Apr 25
2
patches mentioned in bug report comments
Where are the patches mentioned in the bug report comments? The specific one I'm refering to is http://bugs.winehq.org/show_bug.cgi?id=15323#c12. The comment mentions that it's attached, but I can't seem to access the attachment.
2010 Sep 18
1
find bug:syslinux.exe
...t.install_mbr,
opt.activate_partition)) {
==========================
function:
==========================
BOOL GetStorageDeviceNumberByHandle(HANDLE handle,
const STORAGE_DEVICE_NUMBER * sdn)
{
BOOL result = FALSE;
DWORD count;
if (DeviceIoControl(handle, IOCTL_STORAGE_GET_DEVICE_NUMBER, NULL,
0, (LPVOID) sdn, sizeof(*sdn), &count, NULL)) {
result = TRUE;
} else {
error("GetDriveNumber: DeviceIoControl failed");
}
return (result);
}
==========================
DeviceNumber!!
On my Thinkpad T400 machine, it have Intel turbo memory. DeviceNumber is
error value!!!
in MSDN, it said "...
2010 Jun 21
1
Question about wine qcap v4l's MediaSampleTime
...IMediaSample_SetTime(*ppSample, tStart, tStop);
in wine/dlls/quartz/memallocator.c:
StdMediaSample2_GetTime(IMediaSample2 * iface, REFERENCE_TIME * pStart, REFERENCE_TIME * pEnd)
--> if tstart/stop is NULL, leave pStart/pEnd not setted.
in wine/dlls/quartz/videorenderer.c:
VideoRenderer_Sample(LPVOID iface, IMediaSample * pSample)
--> IMediaSample_GetTime(pSample, &tStart, &tStop)
--> use tStart/tStop and current time to judge when to show the sample
--> VideoRenderer_SendSampleData(This, pbSrcStream, cbSrcStream);
why does OutputPin_GetDeliveryBuffer() set the MediaSample'...
2005 Feb 04
1
Microsoft RTC Client SDK with Asterisk
I'm using the the Microsoft Real-Time Communications Client API SDK 
using Visual Studio 6 and . NET 2003 SE to make SIP calls. Using the 
examples provided I can make unregistered SIP calls fine, however I am 
having trouble registering with Asterisk.
I have to produce an XML Profile to use when registering with a 
registrar. The one I use is...
<provision
2008 Sep 10
1
peimg /inf running on wine
...es most of the extra parameters passed-in into
 * the "ex" version of the method and calls the CopyFile method.
 * It will have to be fixed eventually.
 */
BOOL WINAPI PrivCopyFileExW(LPCWSTR sourceFilename, LPCWSTR destFilename,
                        LPPROGRESS_ROUTINE progressRoutine, LPVOID appData,
                        LPBOOL cancelFlagPointer, DWORD copyFlags)
{
    /*
     * Interpret the only flag that CopyFile can interpret.
     */
    FIXME("src=%s dest=%s prg=0x%08x data=0x%08x flags=0x%08x\n", debugstr_w(sourceFilename), debugstr_w(destFilename), progressRoutine,...
2005 Feb 09
1
Trying to do windows encoding dll
...__declspec (dllexport) void stopdec()
{
  theora_clear(&dec_state);
  ogg_stream_clear(&dec_stream);
}
BOOL APIENTRY DllMain (HINSTANCE hInst     /* Library instance handle. */ ,
                       DWORD reason        /* Reason this function is being
called. */ ,
                       LPVOID reserved     /* Not used. */ )
{
  return TRUE;
}
2009 Jan 08
0
[LLVMdev] LLVMdev Digest, Vol 55, Issue 16
...> >   varx = 0;
> >   vary = paraml;
> >  }
> >  for( nI = 1 ;   nI <=  paraml; nI++)
> >  {
> >    varx =  varx + parami + 1 ;
> >        vary =  varx + nI;
> >  }
> >
> > return varx ;
> > }
> > unsigned long thread_call( LPVOID c )
> > {
> >        int num = 1;
> >        int (*fp)(int, int, double) = (int (*)(int, int,double)) c;
> >        //printf("\n(1)threadid =  %ld seqt=%ld inum=%d",GetCurrentThreadId(),num,inum);
> >        int ret = fp(num,1000000000,1);
> >        pr...
2002 Jun 27
1
Building from a source-code library under windows
...;******************************************
LIBRARY  ZOTCIlag
EXPORTS
  DllMain
  nlme_two_comp_zero_CI_lag
#=======
#if defined(DLL_LOAD)
#include <windows.h>
#include <Math.h>
/* Standard DLL entry/exit procedure */
BOOL __stdcall
DllMain(HINSTANCE hDllInstance, DWORD dwReason, LPVOID
lpReserved)
{
        switch (dwReason) {
        case DLL_PROCESS_ATTACH:
                /* initialization code here */
                break;
        case DLL_PROCESS_DETACH:
                /* clean-up code here */
                break;
        }
        return(TRUE);
}
#endif
void
nlme_two_...
2019 Sep 13
0
Wine release 4.16
...for username/password when using cached credentials.
Andrew Eikum (3):
      ntoskrnl.exe: Add -norelay flag for _vsnprintf.
      mmdevapi: Avoid reporting odd numbers of channels.
      winebus.sys: Don't WARN about backends we didn't build.
Andrey Gusev (3):
      wininet/tests: Remove LPVOID cast.
      winhttp/tests: Remove LPVOID casts.
      dxgi: Add IDXGIDevice3 stub.
Daniel Lehman (3):
      wininet: Return error from HttpQueryInfo if number argument is invalid.
      wininet: Support large downloads.
      ntdll/tests: Adjust timing on RtlWaitOnAddress tests.
Dmitry Timoshkov...