[Wine-devel] [1/6] winedevice: Add missing WINAPI.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Окт 3 19:55:19 MSD 2008


----------- следующая часть -----------
From a5a3accec97dcb9af4529b45c3bb5c8b7b6ab0dd Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 3 Oct 2008 12:50:50 +0400
Subject: [PATCH] winedevice: Add missing WINAPI.

---
 programs/winedevice/device.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/programs/winedevice/device.c b/programs/winedevice/device.c
index 8b77a4b..2cd0130 100644
--- a/programs/winedevice/device.c
+++ b/programs/winedevice/device.c
@@ -298,7 +298,8 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
 
         if (driver_extension.AddDevice)
         {
-            NTSTATUS (*AddDevice)( PDRIVER_OBJECT, PDEVICE_OBJECT ) = driver_extension.AddDevice;
+            NTSTATUS (WINAPI *AddDevice)( PDRIVER_OBJECT, PDEVICE_OBJECT ) =
+                    driver_extension.AddDevice;
             PDEVICE_OBJECT pdev_obj = NULL;
             UCHAR pdo_info[PATH_MAX + 3];
             data_size_t reply_size = 0;
-- 
1.5.6.5.GIT



Подробная информация о списке рассылки Wine-devel