ReactOS  0.4.15-dev-3175-g222acf5
device.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #define TAG_GDEV 'gdev'
5 
6 VOID
7 NTAPI
9  PPDEVOBJ ppdev);
10 
13 
14 VOID
17  _In_ PFILE_OBJECT pFileObject,
20  _Out_ PSIZE_T lpBytesWritten);
21 
23 NTAPI
25  _In_opt_ PUNICODE_STRING pustrDevice,
26  _In_ ULONG iDevNum,
28 
30 NTAPI
32  _In_ PUNICODE_STRING pustrDeviceName,
33  _In_ PUNICODE_STRING pustrDiplayDrivers,
34  _In_ PUNICODE_STRING pustrDescription,
35  _In_ PDEVMODEW pdmDefault);
36 
37 BOOLEAN
39  _Inout_ PGRAPHICS_DEVICE pGraphicsDevice,
40  _In_ PDEVMODEW pdmDefault);
41 
44 
45 CODE_SEG("INIT")
47 NTAPI
49 
#define _In_opt_
Definition: ms_sal.h:309
#define _Inout_
Definition: ms_sal.h:378
#define _Out_
Definition: ms_sal.h:345
LONG NTSTATUS
Definition: precomp.h:26
_In_ DWORD nLength
Definition: wincon.h:473
PGRAPHICS_DEVICE gpPrimaryGraphicsDevice
Definition: device.c:15
VOID APIENTRY EngFileWrite(_In_ PFILE_OBJECT pFileObject, _In_reads_(nLength) PVOID lpBuffer, _In_ SIZE_T nLength, _Out_ PSIZE_T lpBytesWritten)
Definition: device.c:572
ULONG_PTR * PSIZE_T
Definition: typedefs.h:80
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
PGRAPHICS_DEVICE NTAPI EngpRegisterGraphicsDevice(_In_ PUNICODE_STRING pustrDeviceName, _In_ PUNICODE_STRING pustrDiplayDrivers, _In_ PUNICODE_STRING pustrDescription, _In_ PDEVMODEW pdmDefault)
Definition: device.c:316
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
Definition: db.cpp:175
unsigned char BOOLEAN
#define _In_
Definition: ms_sal.h:308
unsigned long DWORD
Definition: ntddk_ex.h:95
* PFILE_OBJECT
Definition: iotypes.h:1998
PGRAPHICS_DEVICE gpVgaGraphicsDevice
Definition: device.c:16
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define _In_reads_(size)
Definition: ms_sal.h:319
ULONG_PTR SIZE_T
Definition: typedefs.h:80
NTSTATUS EngpUpdateGraphicsDeviceList(VOID)
Definition: device.c:36
BOOLEAN EngpPopulateDeviceModeList(_Inout_ PGRAPHICS_DEVICE pGraphicsDevice, _In_ PDEVMODEW pdmDefault)
Definition: device.c:125
NTSTATUS NTAPI InitDeviceImpl(VOID)
Definition: device.c:26
unsigned int ULONG
Definition: retypes.h:1
VOID NTAPI PDEVOBJ_vRefreshModeList(PPDEVOBJ ppdev)
Definition: pdevobj.c:264
PGRAPHICS_DEVICE NTAPI EngpFindGraphicsDevice(_In_opt_ PUNICODE_STRING pustrDevice, _In_ ULONG iDevNum, _In_ DWORD dwFlags)
Definition: device.c:469
static CODE_SEG("PAGE")
Definition: isapnp.c:1482
#define APIENTRY
Definition: api.h:79