[DEVENUM]

* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61717
This commit is contained in:
Amine Khaldi 2014-01-20 11:22:40 +00:00
parent 8099d7d465
commit 739e2b1e2b
5 changed files with 12 additions and 8 deletions

View file

@ -24,8 +24,11 @@
*/ */
#include "devenum_private.h" #include "devenum_private.h"
#include <vfw.h> #include <vfw.h>
#include "resource.h"
extern HINSTANCE DEVENUM_hInstance; extern HINSTANCE DEVENUM_hInstance;
const WCHAR wszInstanceKeyName[] ={'I','n','s','t','a','n','c','e',0}; const WCHAR wszInstanceKeyName[] ={'I','n','s','t','a','n','c','e',0};

View file

@ -18,11 +18,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#pragma code_page(65001)
#include <windef.h> #include <windef.h>
#include "resource.h" #include "resource.h"
#pragma code_page(65001)
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE STRINGTABLE

View file

@ -20,6 +20,7 @@
*/ */
#include "devenum_private.h" #include "devenum_private.h"
#include <rpcproxy.h> #include <rpcproxy.h>
DECLSPEC_HIDDEN LONG dll_refs; DECLSPEC_HIDDEN LONG dll_refs;

View file

@ -30,6 +30,7 @@
#define _INC_WINDOWS #define _INC_WINDOWS
#define COM_NO_WINDOWS_H #define COM_NO_WINDOWS_H
#define COBJMACROS
#define NONAMELESSSTRUCT #define NONAMELESSSTRUCT
#define NONAMELESSUNION #define NONAMELESSUNION
@ -37,10 +38,8 @@
#include <winbase.h> #include <winbase.h>
#include <wingdi.h> #include <wingdi.h>
#include <winreg.h> #include <winreg.h>
#include <objbase.h>
#define COBJMACROS #include <oleidl.h>
#include <ole2.h>
#include <strmif.h> #include <strmif.h>
#include <uuids.h> #include <uuids.h>
@ -51,8 +50,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(devenum);
#include <wine/unicode.h> #include <wine/unicode.h>
#endif #endif
#include "resource.h"
/********************************************************************** /**********************************************************************
* Dll lifetime tracking declaration for devenum.dll * Dll lifetime tracking declaration for devenum.dll
*/ */

View file

@ -23,7 +23,9 @@
*/ */
#include "devenum_private.h" #include "devenum_private.h"
#include <ocidl.h> #include <ocidl.h>
#include <oleauto.h>
typedef struct typedef struct
{ {