Leaked source code of windows server 2003
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.
 
 
 
 
 
 

47 lines
878 B

/**************************************************************************\
*
* Copyright (c) 1998 Microsoft Corporation
*
* Module Name:
*
* Driver-specific data
*
* Abstract:
*
* This module gives drivers a way to attach private data to GDI+
* objects.
*
* Created:
*
* 3/18/1999 agodfrey
*
\**************************************************************************/
#ifndef _DPDRIVERDATA_HPP
#define _DPDRIVERDATA_HPP
class DpDriverData
{
public:
virtual ~DpDriverData()=0;
private:
DpDriverData *next;
DpDriver *owner;
friend class DpDriverDataList;
};
class DpDriverDataList
{
public:
DpDriverDataList() { head = NULL; }
~DpDriverDataList();
void Add(DpDriverData *dd, DpDriver *owner);
DpDriverData *GetData(DpDriver *owner);
private:
DpDriverData *head;
};
#endif