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.

57 lines
1.6 KiB

  1. //--------------------------------------------------------------
  2. // Copyright (C) Microsoft Corporation, 1996 - 1999
  3. //
  4. // File: selca.h
  5. //
  6. // Contents: The private include file for select a CA
  7. //
  8. // History: 01-12-1997 xiaohs created
  9. //
  10. //--------------------------------------------------------------
  11. #ifndef SELCA_H
  12. #define SELCA_H
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. //**************************************************************************
  17. //
  18. // The private data used for the CA selection dialogue
  19. //
  20. //**************************************************************************
  21. //-----------------------------------------------------------------------
  22. // SELECT_CA_INFO
  23. //
  24. //
  25. // This struct contains everything you will ever need to call
  26. // the CA selection dialogue. This struct is private to the dll
  27. //------------------------------------------------------------------------
  28. typedef struct _SELECT_CA_INFO
  29. {
  30. PCCRYPTUI_SELECT_CA_STRUCT pCAStruct;
  31. UINT idsMsg;
  32. BOOL fUseInitSelect;
  33. DWORD dwInitSelect;
  34. DWORD dwCACount;
  35. PCRYPTUI_CA_CONTEXT *prgCAContext;
  36. PCRYPTUI_CA_CONTEXT pSelectedCAContext;
  37. int iOrgCA;
  38. DWORD rgdwSortParam[2];
  39. }SELECT_CA_INFO;
  40. #define SORT_COLUMN_CA_NAME 0x0001
  41. #define SORT_COLUMN_CA_LOCATION 0x0002
  42. #ifdef __cplusplus
  43. } // Balance extern "C" above
  44. #endif
  45. #endif //SIGNING_H