mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[VIDEOPRT]
* 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
This commit is contained in:
parent
f4d3adab51
commit
031ae1c1d2
19 changed files with 66 additions and 20 deletions
|
@ -22,6 +22,7 @@ list(APPEND SOURCE
|
|||
stubs.c
|
||||
timer.c
|
||||
videoprt.c
|
||||
guid.c
|
||||
videoprt.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/videoprt.def)
|
||||
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
NTSTATUS
|
||||
|
@ -566,4 +569,3 @@ IntAgpGetInterface(
|
|||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
BOOLEAN
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#define DDC_EEPROM_ADDRESS 0xA0
|
||||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
@ -222,4 +225,3 @@ VideoPortDDCMonitorHelper(
|
|||
INFO_(VIDEOPRT, "VideoPortDDCMonitorHelper() - SUCCESS!\n");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#include <ndk/inbvfuncs.h>
|
||||
#include <ndk/psfuncs.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBAL VARIABLES ***********************************************************/
|
||||
|
||||
PVIDEO_PORT_DEVICE_EXTENSION ResetDisplayParametersDeviceExtension = NULL;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <videoprt.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
#include "videoprt.h"
|
||||
#include "../../gdi/eng/engevent.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* PUBLIC FUNCTIONS ***********************************************************/
|
||||
|
||||
/*
|
||||
|
@ -137,4 +140,3 @@ VideoPortWaitForSingleObject(IN PVOID HwDeviceExtension,
|
|||
}
|
||||
|
||||
/* EOF */
|
||||
|
||||
|
|
|
@ -19,9 +19,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
|
||||
#include "videoprt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
typedef struct _VIDEO_PORT_FUNCTION_TABLE {
|
||||
PVOID Address;
|
||||
PUCHAR Name;
|
||||
|
|
6
reactos/win32ss/drivers/videoprt/guid.c
Normal file
6
reactos/win32ss/drivers/videoprt/guid.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* 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 */
|
|
@ -21,6 +21,11 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#include <ndk/kefuncs.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
#if defined(_M_IX86) || defined(_M_AMD64)
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#include <ndk/halfuncs.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
BOOLEAN NTAPI
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#include <ndk/obfuncs.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
IntCopyRegistryKey(
|
||||
|
@ -633,4 +638,3 @@ IntCreateRegistryPath(
|
|||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
NTSTATUS NTAPI
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
VOID NTAPI
|
||||
IntInterfaceReference(PVOID Context)
|
||||
{
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -19,9 +19,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
|
||||
#include "videoprt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
VP_STATUS
|
||||
NTAPI
|
||||
VideoPortFlushRegistry(
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
#include "videoprt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
VOID NTAPI
|
||||
|
|
|
@ -19,9 +19,15 @@
|
|||
*
|
||||
*/
|
||||
|
||||
|
||||
#include "videoprt.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ndk/exfuncs.h>
|
||||
#include <ndk/rtlfuncs.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBAL VARIABLES ***********************************************************/
|
||||
|
||||
ULONG CsrssInitialized = FALSE;
|
||||
|
@ -1473,4 +1479,3 @@ VideoPortIsNoVesa(VOID)
|
|||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -22,16 +22,7 @@
|
|||
#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>
|
||||
|
@ -39,11 +30,8 @@
|
|||
#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'
|
||||
|
|
Loading…
Reference in a new issue