ReactOS  0.4.15-dev-4920-g5fa8403
mdevobj.h
Go to the documentation of this file.
1 #ifndef __WIN32K_MDEVOBJ_H
2 #define __WIN32K_MDEVOBJ_H
3 
4 /* Type definitions ***********************************************************/
5 
6 typedef struct _PDEVOBJ *PPDEVOBJ;
7 
8 typedef struct _MDEVDISPLAY
9 {
12 
13 typedef struct _MDEVOBJ
14 {
18 } MDEVOBJ, *PMDEVOBJ;
19 
20 /* Globals ********************************************************************/
21 
22 extern PMDEVOBJ gpmdev; /* FIXME: should be stored in gpDispInfo->pmdev */
23 
24 /* Function prototypes ********************************************************/
25 
26 VOID
28  _Inout_ PMDEVOBJ pmdev);
29 
30 BOOL
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,
42  _In_opt_ PDEVMODEW pdm);
43 
44 VOID
46  _Inout_ PMDEVOBJ pmdev);
47 
48 #endif /* !__WIN32K_MDEVOBJ_H */
#define _In_opt_
Definition: ms_sal.h:309
#define _Inout_
Definition: ms_sal.h:378
struct _MDEVOBJ MDEVOBJ
VOID MDEVOBJ_vDestroy(_Inout_ PMDEVOBJ pmdev)
Definition: mdevobj.c:164
PMDEVOBJ MDEVOBJ_Create(_In_opt_ PUNICODE_STRING pustrDeviceName, _In_opt_ PDEVMODEW pdm)
Definition: mdevobj.c:57
VOID MDEVOBJ_vEnable(_Inout_ PMDEVOBJ pmdev)
Definition: mdevobj.c:17
struct _MDEVOBJ * PMDEVOBJ
unsigned int BOOL
Definition: ntddk_ex.h:94
struct _PDEVOBJ * PPDEVOBJ
Definition: mdevobj.h:6
struct _MDEVDISPLAY * PMDEVDISPLAY
PPDEVOBJ ppdevGlobal
Definition: mdevobj.h:16
PPDEVOBJ ppdev
Definition: mdevobj.h:10
PMDEVOBJ gpmdev
Definition: mdevobj.c:14
unsigned int ULONG
Definition: retypes.h:1
struct _MDEVDISPLAY MDEVDISPLAY
BOOL MDEVOBJ_bDisable(_Inout_ PMDEVOBJ pmdev)
Definition: mdevobj.c:29
ULONG cDev
Definition: mdevobj.h:15