- ne2000: Don't assume stdcall is default for MSVC

- snmpapi: Define SNMP_FUNC_TYPE for MSVC too
- rasman: Compatibly define function pointer prototype
- vbe/vga/xboxvmp: Fix assumption that _MSC_VER means "compiling with Microsoft's headers"

svn path=/trunk/; revision=42563
This commit is contained in:
Stefan Ginsberg 2009-08-09 14:18:01 +00:00
parent a8fca73ae8
commit aa8b33601d
6 changed files with 13 additions and 18 deletions

View file

@ -38,7 +38,7 @@ RasSecurityDialogComplete(SECURITY_MESSAGE* pSecMsg)
DWORD WINAPI
RasSecurityDialogBegin(HPORT hPort, PBYTE pSendBuf,
DWORD SendBufSize, PBYTE pRecvBuf, DWORD RecvBufSize,
VOID (WINAPI *RasSecurityDialogComplete)())
VOID (WINAPI *RasSecurityDialogComplete)(SECURITY_MESSAGE*))
{
FIXME("(%p,%p,0x%08x,%p,0x%08x,%p),stub!\n",hPort,pSendBuf,SendBufSize,
pRecvBuf,RecvBufSize,*RasSecurityDialogComplete);

View file

@ -12,20 +12,10 @@
#include <winsock2.h>
#include <windows.h>
#ifdef __GNUC__
#define SNMP_FUNC_TYPE WINAPI
#endif
#include <snmp.h>
#include "debug.h"
#ifdef __GNUC__
#define EXPORT WINAPI
#else
#define EXPORT CALLBACK
#endif
#if DBG
/* See debug.h for debug/trace constants */

View file

@ -11,9 +11,7 @@
#include <debug.h>
NTSTATUS
#ifndef _MSC_VER
NTAPI
#endif
DriverEntry(
PDRIVER_OBJECT DriverObject,
PUNICODE_STRING RegistryPath);
@ -927,9 +925,7 @@ static NDIS_STATUS NTAPI MiniportTransferData(
NTSTATUS
#ifndef _MSC_VER
NTAPI
#endif
DriverEntry(
PDRIVER_OBJECT DriverObject,
PUNICODE_STRING RegistryPath)

View file

@ -24,7 +24,10 @@
/* INCLUDES *******************************************************************/
#ifdef _MSC_VER
#include "dderror.h"
#pragma message ("INVESTIGATE ME")
#endif
#if 0 //#ifdef _MSC_VER
#include "devioctl.h"
#else
#include <ntddk.h>

View file

@ -24,7 +24,10 @@
/* INCLUDES *******************************************************************/
#ifdef _MSC_VER
#include "dderror.h"
#pragma message ("INVESTIGATE ME")
#endif
#if 0 //#ifdef _MSC_VER
#include "devioctl.h"
#else
#include <ntddk.h>

View file

@ -26,7 +26,10 @@
/* INCLUDES *******************************************************************/
#ifdef _MSC_VER
#include "dderror.h"
#pragma message ("INVESTIGATE ME")
#endif
#if 0 //#ifdef _MSC_VER
#include "devioctl.h"
#define PAGE_SIZE 4096
#else