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.

80 lines
2.8 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include <windows.h>
  4. #include <cspdk.h>
  5. #include <ntverp.h>
  6. #include <commctrl.h>
  7. #include <cspdk.h>
  8. #define VER_FILETYPE VFT_DLL
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Microsoft Windows for Smart Cards CSP"
  11. #define VER_INTERNALNAME_STR "basecsp.dll"
  12. #include "common.ver"
  13. #include "resource.h"
  14. //
  15. // We still need to include these old-style CSP signing resources,
  16. // since xenroll looks for this signature resource during enrollment.
  17. //
  18. CRYPT_SIG_RESOURCE_NUMBER RCDATA DISCARDABLE "basecsp.sig"
  19. CRYPT_MAC_RESOURCE_NUMBER RCDATA DISCARDABLE "basecsp.mac"
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // String Table
  23. //
  24. STRINGTABLE DISCARDABLE
  25. BEGIN
  26. IDS_BASECSP "Microsoft Windows for Smart Cards CSP"
  27. IDS_PINDIALOG_NEWPIN_MISMATCH "The two New Pin fields don't match"
  28. IDS_PINDIALOG_MSGBOX_TITLE "Microsoft Smart Card Provider"
  29. IDS_PINDIALOG_WRONG_PIN "You entered an incorrect pin"
  30. IDS_PINDIALOG_PIN_RETRIES "Number of retries"
  31. IDS_APP_TITLE "TestPINDlg"
  32. IDS_HELLO "Hello World!"
  33. IDC_TESTPINDLG "TESTPINDLG"
  34. END
  35. /////////////////////////////////////////////////////////////////////////////
  36. //
  37. // Icon
  38. //
  39. // Icon with lowest ID value placed first to ensure application icon
  40. // remains consistent on all systems.
  41. IDI_SMALL ICON DISCARDABLE "SMALL.ICO"
  42. /////////////////////////////////////////////////////////////////////////////
  43. //
  44. // Dialog
  45. //
  46. IDD_PINDIALOG DIALOG DISCARDABLE 0, 0, 267, 236
  47. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  48. CAPTION "User Authentication"
  49. FONT 8, "MS Shell Dlg"
  50. BEGIN
  51. EDITTEXT IDC_EDITPIN,51,73,198,15,ES_PASSWORD | ES_AUTOHSCROLL
  52. DEFPUSHBUTTON "OK",IDOK,14,169,50,14,WS_GROUP
  53. PUSHBUTTON "Cancel",IDCANCEL,76,169,50,14
  54. PUSHBUTTON "&Options >>",IDC_BUTTONOPTIONS,138,169,50,14
  55. EDITTEXT IDC_EDITNEWPIN,51,191,198,15,ES_PASSWORD |
  56. ES_AUTOHSCROLL
  57. EDITTEXT IDC_EDITNEWPIN2,51,209,198,15,ES_PASSWORD |
  58. ES_AUTOHSCROLL
  59. LTEXT "&PIN:",IDC_STATIC,17,76,15,8
  60. LTEXT "&New PIN:",IDC_STATIC,16,194,33,8
  61. LTEXT "&Confirm:",IDC_STATIC,15,212,31,8
  62. CONTROL 134,IDC_STATIC,"Static",SS_BITMAP,7,7,253,55
  63. END
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Bitmap
  67. //
  68. IDB_BITMAP1 BITMAP DISCARDABLE "logo.bmp"