You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
/******************************Module*Header**********************************\
|
|
*
|
|
* *******************
|
|
* * GDI SAMPLE CODE *
|
|
* *******************
|
|
*
|
|
* Module Name: dbgext.h
|
|
*
|
|
* Common macros for debugger extensions
|
|
*
|
|
* Copyright (c) 1994-1998 3Dlabs Inc. Ltd. All rights reserved.
|
|
* Copyright (c) 1995-1999 Microsoft Corporation. All rights reserved.
|
|
\*****************************************************************************/
|
|
#ifndef __DBGEXT__H__
|
|
#define __DBGEXT__H__
|
|
|
|
#include "precomp.h"
|
|
#include "wdbgexts.h"
|
|
#include "extparse.h"
|
|
|
|
typedef LONG NTSTATUS;
|
|
|
|
typedef struct _FLAGDEF
|
|
{
|
|
char* psz; // description
|
|
FLONG fl; // flag
|
|
} FLAGDEF;
|
|
|
|
extern FLAGDEF afdSURF[];
|
|
extern FLAGDEF afdCAPS[];
|
|
extern FLAGDEF afdHOOK[];
|
|
extern FLAGDEF afdSTATUS[];
|
|
|
|
/**************************************************************************\
|
|
*
|
|
* move(dst, src ptr)
|
|
*
|
|
\**************************************************************************/
|
|
#define move(dst, src) \
|
|
ReadMemory((ULONG_PTR) (src), &(dst), sizeof(dst), NULL)
|
|
|
|
#endif
|