* Do not include debug.h into the main header.
* Remove one time inclusions from the main header and put them back where they belong.
* Improve the GUIDs situation.
* Improve header inclusions.
CORE-7716
svn path=/trunk/; revision=61982
stubs.c
timer.c
videoprt.c
+ guid.c
videoprt.rc
${CMAKE_CURRENT_BINARY_DIR}/videoprt.def)
#include "videoprt.h"
+#define NDEBUG
+#include <debug.h>
+
/* PRIVATE FUNCTIONS **********************************************************/
NTSTATUS
return STATUS_SUCCESS;
}
-
#include "videoprt.h"
+#define NDEBUG
+#include <debug.h>
+
/* PRIVATE FUNCTIONS **********************************************************/
BOOLEAN
#include "videoprt.h"
+#define NDEBUG
+#include <debug.h>
+
#define DDC_EEPROM_ADDRESS 0xA0
/* PRIVATE FUNCTIONS **********************************************************/
INFO_(VIDEOPRT, "VideoPortDDCMonitorHelper() - SUCCESS!\n");
return TRUE;
}
-
#include "videoprt.h"
+#include <ndk/inbvfuncs.h>
+#include <ndk/psfuncs.h>
+
+#define NDEBUG
+#include <debug.h>
+
/* GLOBAL VARIABLES ***********************************************************/
PVIDEO_PORT_DEVICE_EXTENSION ResetDisplayParametersDeviceExtension = NULL;
/* INCLUDES ******************************************************************/
#include <videoprt.h>
+
#define NDEBUG
#include <debug.h>
#include "videoprt.h"
#include "../../gdi/eng/engevent.h"
+#define NDEBUG
+#include <debug.h>
+
/* PUBLIC FUNCTIONS ***********************************************************/
/*
}
/* EOF */
-
*
*/
-
#include "videoprt.h"
+#define NDEBUG
+#include <debug.h>
+
typedef struct _VIDEO_PORT_FUNCTION_TABLE {
PVOID Address;
PUCHAR Name;
--- /dev/null
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <initguid.h>
+#include <wdmguid.h>
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
#include "videoprt.h"
+#include <ndk/kefuncs.h>
+
+#define NDEBUG
+#include <debug.h>
+
/* PRIVATE FUNCTIONS **********************************************************/
#if defined(_M_IX86) || defined(_M_AMD64)
#include "videoprt.h"
+#include <ndk/halfuncs.h>
+
+#define NDEBUG
+#include <debug.h>
+
/* PRIVATE FUNCTIONS **********************************************************/
BOOLEAN NTAPI
#include "videoprt.h"
+#include <ndk/obfuncs.h>
+
+#define NDEBUG
+#include <debug.h>
+
NTSTATUS
NTAPI
IntCopyRegistryKey(
return STATUS_SUCCESS;
}
-
#include "videoprt.h"
+#define NDEBUG
+#include <debug.h>
+
/* PRIVATE FUNCTIONS **********************************************************/
NTSTATUS NTAPI
#include "videoprt.h"
+#define NDEBUG
+#include <debug.h>
+
VOID NTAPI
IntInterfaceReference(PVOID Context)
{
#include "videoprt.h"
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
*
*/
-
#include "videoprt.h"
+#define NDEBUG
+#include <debug.h>
+
VP_STATUS
NTAPI
VideoPortFlushRegistry(
#include "videoprt.h"
+#define NDEBUG
+#include <debug.h>
+
/* PRIVATE FUNCTIONS **********************************************************/
VOID NTAPI
*
*/
-
#include "videoprt.h"
+#include <stdio.h>
+#include <ndk/exfuncs.h>
+#include <ndk/rtlfuncs.h>
+
+#define NDEBUG
+#include <debug.h>
+
/* GLOBAL VARIABLES ***********************************************************/
ULONG CsrssInitialized = FALSE;
return FALSE;
}
-
#ifndef VIDEOPRT_H
#define VIDEOPRT_H
-#include <stdio.h>
-
#include <ntifs.h>
-#include <ndk/exfuncs.h>
-#include <ndk/halfuncs.h>
-#include <ndk/inbvfuncs.h>
-#include <ndk/kefuncs.h>
-#include <ndk/rtlfuncs.h>
-#include <ndk/obfuncs.h>
-#include <ndk/psfuncs.h>
#define __BROKEN__
#include <miniport.h>
#include <ntagp.h>
#include <dderror.h>
#include <windef.h>
-#include <initguid.h>
#include <wdmguid.h>
-#include <debug.h>
-
#define TAG_VIDEO_PORT 'PDIV'
#define TAG_VIDEO_PORT_BUFFER '\0mpV'
#define TAG_REQUEST_PACKET 'qRpV'