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.

78 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1994-1998, Microsoft Corporation All rights reserved.
  3. Module Name:
  4. drvaplet.h
  5. Abstract:
  6. This module contains the header information for the driver routines
  7. for the project.
  8. Revision History:
  9. --*/
  10. #ifndef _DRVAPLET_H
  11. #define _DRVAPLET_H
  12. //
  13. // HDAP: handle to a driver applet.
  14. //
  15. DECLARE_HANDLE(HDAP);
  16. //
  17. // GetDriverModule: gets the module.
  18. //
  19. HMODULE GetDriverModule(LPCTSTR name);
  20. //
  21. // ReleaseDriverModule: releases the module.
  22. //
  23. void ReleaseDriverModule(HMODULE module);
  24. //
  25. // OpenDriverApplet: opens a handle to the named driver applet.
  26. //
  27. HDAP OpenDriverApplet(LPCTSTR);
  28. //
  29. // CloseDriverApplet: closes a handle to a driver applet.
  30. //
  31. void CloseDriverApplet(HDAP);
  32. //
  33. // GetDriverAppletIcon: get's a driver applet's icon (if any).
  34. //
  35. HICON GetDriverAppletIcon(HDAP);
  36. //
  37. // CallDriverApplet: sends a message to the driver applet (CplApplet syntax).
  38. //
  39. LRESULT CallDriverApplet(HDAP, HWND, UINT, LPARAM, LPARAM);
  40. //
  41. // RunDriverApplet: runs the driver applet.
  42. //
  43. #define RunDriverApplet(h, w) CallDriverApplet(h, w, CPL_DBLCLK, 0L, 0L)
  44. //
  45. // "CplApplet"
  46. //
  47. extern const TCHAR *c_szCplApplet;
  48. #endif