Source code of Windows XP (NT5)
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.

52 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. C2DLL.H
  5. Abstract:
  6. definitions used by C2 Configuration & Query DLL's
  7. Author:
  8. Bob Watson (a-robw)
  9. Revision History:
  10. 12 Dec 94
  11. --*/
  12. #ifndef _C2DLL_H_
  13. #define _C2DLL_H_
  14. // Data structures used by dll
  15. typedef LONG (C2DLL_FUNC) (LPARAM);
  16. typedef LONG (* PC2DLL_FUNC) (LPARAM);
  17. #define MAX_ITEMNAME_LEN 64
  18. #define MAX_STATUSTEXT_LEN 64
  19. typedef struct _C2DLL_DATA {
  20. LONG lActionCode; // DLL specific id of action function is to perform
  21. LONG lActionValue; // DLL specific value to use with action code
  22. HWND hWnd; // owning window handle (for instance & dlg info)
  23. LONG lC2Compliance; // See Compliance values below
  24. TCHAR szItemName[MAX_ITEMNAME_LEN + 1]; // name of security item
  25. TCHAR szStatusName[MAX_STATUSTEXT_LEN + 1]; // status string of item
  26. TCHAR szHelpFileName[MAX_PATH]; // name of help file containing help topic
  27. ULONG ulHelpContext; // help context ID for this item
  28. } C2DLL_DATA, *PC2DLL_DATA;
  29. // lC2Compliance values
  30. #define C2DLL_UNKNOWN 0
  31. #define C2DLL_C2 1
  32. #define C2DLL_SECURE 2
  33. #define C2DLL_NOT_SECURE 3
  34. #define UM_SHOW_CONTEXT_HELP (WM_USER+222)
  35. #endif // _C2DLL_H_