mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
74ef03da5c
svn path=/branches/reactos-yarotows/; revision=45355
70 lines
1.3 KiB
C
70 lines
1.3 KiB
C
|
|
//#define _PDEVOBJ _PDEVOBJ2
|
|
//#define PDEVOBJ PDEVOBJ2
|
|
//#define PPDEVOBJ PPDEVOBJ2
|
|
|
|
//typedef struct _PDEVOBJ *PPDEVOBJ;
|
|
|
|
#define TAG_GDEV 'gdev'
|
|
|
|
VOID
|
|
APIENTRY
|
|
EngFileWrite(
|
|
IN PFILE_OBJECT pFileObject,
|
|
IN PVOID lpBuffer,
|
|
IN SIZE_T nLength,
|
|
IN PSIZE_T lpBytesWritten);
|
|
|
|
PGRAPHICS_DEVICE
|
|
NTAPI
|
|
EngpFindGraphicsDevice(
|
|
PUNICODE_STRING pustrDevice,
|
|
DWORD iDevNum,
|
|
DWORD dwFlags);
|
|
|
|
PGRAPHICS_DEVICE
|
|
NTAPI
|
|
EngpRegisterGraphicsDevice(
|
|
PUNICODE_STRING pustrDeviceName,
|
|
PUNICODE_STRING pustrDiplayDrivers,
|
|
PUNICODE_STRING pustrDescription,
|
|
PDEVMODEW pdmDefault);
|
|
|
|
BOOL
|
|
NTAPI
|
|
InitDeviceImpl();
|
|
|
|
BOOL
|
|
FASTCALL
|
|
DC_AllocDcAttr(PDC pdc);
|
|
|
|
//#define KeRosDumpStackFrames(Frames, Count) KdSystemDebugControl(TAG('R', 'o', 's', 'D'), (PVOID)Frames, Count, NULL, 0, NULL, KernelMode)
|
|
NTSYSAPI ULONG APIENTRY RtlWalkFrameChain(OUT PVOID *Callers, IN ULONG Count, IN ULONG Flags);
|
|
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
RegOpenKey(
|
|
LPCWSTR pwszKeyName,
|
|
PHKEY phkey);
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
RegQueryValue(
|
|
IN HKEY hkey,
|
|
IN PCWSTR pwszValueName,
|
|
IN ULONG ulType,
|
|
OUT PVOID pvData,
|
|
IN OUT PULONG pcbValue);
|
|
|
|
BOOL
|
|
NTAPI
|
|
PDEVOBJ_bSwitchMode(
|
|
PPDEVOBJ ppdev,
|
|
PDEVMODEW pdm);
|
|
|
|
PDEVMODEW
|
|
NTAPI
|
|
PDEVOBJ_pdmMatchDevMode(
|
|
PPDEVOBJ ppdev,
|
|
PDEVMODEW pdm);
|