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.

40 lines
1.0 KiB

  1. /*
  2. * $Id: rlreg.h,v 1.1 1995/10/10 11:18:16 sjl Exp $
  3. *
  4. * Copyright (c) RenderMorphics Ltd. 1993, 1994
  5. * Version 2.0
  6. *
  7. * All rights reserved.
  8. *
  9. * This file contains private, unpublished information and may not be
  10. * copied in part or in whole without express permission of
  11. * RenderMorphics Ltd.
  12. *
  13. */
  14. #ifndef _RLREG_H_
  15. #define _RLREG_H_
  16. #include <objbase.h>
  17. #define RESPATH "Software\\Microsoft\\Direct3D\\Drivers"
  18. #define RESPATH_D3D "Software\\Microsoft\\Direct3D"
  19. typedef struct _RLDDIRegDriver {
  20. char name[256];
  21. char base[256];
  22. char description[512];
  23. GUID guid;
  24. } RLDDIRegDriver;
  25. typedef struct _RLDDIRegistry {
  26. char defaultDriver[256];
  27. int numDrivers;
  28. int onlySoftwareDrivers;
  29. RLDDIRegDriver* drivers;
  30. } RLDDIRegistry;
  31. extern HRESULT RLDDIBuildRegistry(RLDDIRegistry** lplpReg, BOOL bEnumMMXDevice);
  32. extern HRESULT RLDDIGetDriverName(REFIID lpGuid, char** lpBase, BOOL bEnumMMXDevice); /* get name from registry */
  33. #endif _RLREG_H_