ReactOS 0.4.16-dev-336-gb667d82
mdevobj.h
Go to the documentation of this file.
1#ifndef __WIN32K_MDEVOBJ_H
2#define __WIN32K_MDEVOBJ_H
3
4/* Type definitions ***********************************************************/
5
6typedef struct _PDEVOBJ *PPDEVOBJ;
7
8typedef struct _MDEVDISPLAY
9{
12
13typedef struct _MDEVOBJ
14{
19
20/* Globals ********************************************************************/
21
22extern PMDEVOBJ gpmdev; /* FIXME: should be stored in gpDispInfo->pmdev */
23
24/* Function prototypes ********************************************************/
25
26VOID
28 _Inout_ PMDEVOBJ pmdev);
29
30BOOL
32 _Inout_ PMDEVOBJ pmdev);
33
34/* Create a new MDEV:
35 * - pustrDeviceName: name of the device to put in MDEV. If NULL, will put all graphics devices in MDEV
36 * - pdm: settings associated to pustrDeviceName. Unused if pustrDeviceName is NULL.
37 * Return value: the new MDEV (or NULL in case of error)
38 */
41 _In_opt_ PUNICODE_STRING pustrDeviceName,
43
44VOID
46 _Inout_ PMDEVOBJ pmdev);
47
48#endif /* !__WIN32K_MDEVOBJ_H */
unsigned int BOOL
Definition: ntddk_ex.h:94
struct _MDEVOBJ MDEVOBJ
struct _MDEVDISPLAY * PMDEVDISPLAY
VOID MDEVOBJ_vDestroy(_Inout_ PMDEVOBJ pmdev)
Definition: mdevobj.c:164
PMDEVOBJ gpmdev
Definition: mdevobj.c:14
struct _MDEVDISPLAY MDEVDISPLAY
struct _MDEVOBJ * PMDEVOBJ
PMDEVOBJ MDEVOBJ_Create(_In_opt_ PUNICODE_STRING pustrDeviceName, _In_opt_ PDEVMODEW pdm)
Definition: mdevobj.c:57
BOOL MDEVOBJ_bDisable(_Inout_ PMDEVOBJ pmdev)
Definition: mdevobj.c:29
VOID MDEVOBJ_vEnable(_Inout_ PMDEVOBJ pmdev)
Definition: mdevobj.c:17
struct _PDEVOBJ * PPDEVOBJ
Definition: mdevobj.h:6
#define _Inout_
Definition: no_sal2.h:162
#define _In_opt_
Definition: no_sal2.h:212
PPDEVOBJ ppdev
Definition: mdevobj.h:10
PPDEVOBJ ppdevGlobal
Definition: mdevobj.h:16
ULONG cDev
Definition: mdevobj.h:15
uint32_t ULONG
Definition: typedefs.h:59