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.

185 lines
7.3 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "res.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "winnt.h"
  10. #include "winres.h"
  11. #include "prsht.h"
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14. /////////////////////////////////////////////////////////////////////////////
  15. // English (U.S.) resources
  16. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  17. #ifdef _WIN32
  18. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  19. #pragma code_page(1252)
  20. #endif //_WIN32
  21. #ifndef _MAC
  22. /////////////////////////////////////////////////////////////////////////////
  23. //
  24. // Version
  25. //
  26. #include "ntverp.h"
  27. #define VER_FILETYPE VFT_APP
  28. #define VER_FILESUBTYPE VFT_UNKNOWN
  29. #define VER_FILEDESCRIPTION_STR "ITG Pin Tool Application"
  30. #define VER_INTERNALNAME_STR "PinTool\0"
  31. #define VER_ORIGINALFILENAME_STR "pintool.exe"
  32. #include "common.ver"
  33. #endif // !_MAC
  34. /////////////////////////////////////////////////////////////////////////////
  35. //
  36. // Dialog
  37. //
  38. // Property sheet pages are encouraged to use standard sizes as found in prsht.h
  39. // These use the "SM" size. Also available are MED and LG.
  40. // small is 212 high by 188 wide
  41. // med is 227 high by 215 wide
  42. // large is 252 high by 218 wide
  43. #define xdim PROP_SM_CXDLG
  44. #define ydim PROP_SM_CYDLG
  45. #define interx 4
  46. #define intery 4
  47. #define buttonwidth 50
  48. #define buttonheight 14
  49. #define button1x (xdim - buttonwidth - interx - buttonwidth - interx)
  50. #define button1y (ydim - buttonheight - intery)
  51. #define button2x (xdim - buttonwidth - intery)
  52. #define button2y (button1y)
  53. #define textheight 40
  54. #define textx (interx)
  55. #define texty (intery + 15)
  56. #define line1 (texty + textheight + 20)
  57. #define spacing (20)
  58. #define line2 (line1 + spacing)
  59. #define line3 (line2 + spacing)
  60. #define labelx (interx + 25 - 10)
  61. #define labelw (60 + 10)
  62. #define editx (labelx + labelw)
  63. #define editw (80 + 10)
  64. #define centerx (xdim / 2)
  65. IDD_PAGE1 DIALOG DISCARDABLE 0, 0, xdim, ydim
  66. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
  67. CAPTION "Change PIN"
  68. FONT 8, "MS Shell Dlg"
  69. BEGIN
  70. LTEXT "To change your Smart Card PIN, enter the old PIN and the desired new PIN and press OK.",
  71. IDC_STATIC,
  72. textx,texty,xdim - interx - interx,textheight
  73. LTEXT "&Old PIN",IDC_OLDPINLABEL,
  74. labelx,line1,labelw,8,NOT WS_GROUP
  75. EDITTEXT IDC_OLDPIN,
  76. editx,line1,editw,12,ES_PASSWORD | ES_AUTOHSCROLL
  77. LTEXT "&New PIN",IDC_NEWPIN1LABEL,
  78. labelx,line2,labelw,8,NOT WS_GROUP
  79. EDITTEXT IDC_NEWPIN1,
  80. editx,line2,editw,12,ES_PASSWORD | ES_AUTOHSCROLL
  81. LTEXT "New PIN &Again",IDC_NEWPIN2LABEL,
  82. labelx,line3,labelw,8,NOT WS_GROUP
  83. EDITTEXT IDC_NEWPIN2,
  84. editx,line3,editw,12,ES_PASSWORD | ES_AUTOHSCROLL
  85. // PUSHBUTTON "&Cancel",IDBUTTON2,
  86. // button2x,button2y,
  87. // buttonwidth,buttonheight, BS_PUSHBUTTON
  88. END
  89. IDD_PAGE2 DIALOG DISCARDABLE 0, 0, xdim, ydim
  90. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
  91. CAPTION "UnBlock"
  92. FONT 8, "MS Shell Dlg"
  93. BEGIN
  94. LTEXT "text",
  95. IDC_TOPTEXT,
  96. textx,texty,xdim - interx - interx,textheight + 20
  97. LTEXT "Card ID",IDC_SCARDIDLABEL,
  98. labelx - 5,line1 , 40, 8,NOT WS_GROUP
  99. LTEXT "<Smart card ID>",IDC_SCARDID,
  100. editx - 35, line1 ,editw + 65, 12,NOT WS_GROUP
  101. LTEXT "&New PIN",IDC_NEWPIN1LABEL,
  102. labelx,line2,labelw,8,NOT WS_GROUP
  103. LTEXT "C&hallenge",IDC_CHALLENGELABEL,
  104. labelx,line2 ,labelw,8,NOT WS_GROUP
  105. EDITTEXT IDC_CHALLENGE,
  106. editx,line2 ,editw,12,ES_AUTOHSCROLL
  107. LTEXT "New PIN &Again",IDC_NEWPIN2LABEL,
  108. labelx,line3,labelw,8,NOT WS_GROUP
  109. LTEXT "&Response",IDC_RESPONSELABEL,
  110. labelx,line3 ,labelw,8,NOT WS_GROUP
  111. EDITTEXT IDC_RESPONSE,
  112. editx,line3 ,editw,12,ES_AUTOHSCROLL
  113. PUSHBUTTON "&Unblock",IDBUTTON1,
  114. 106 - 25,line3 + 40,
  115. buttonwidth,buttonheight, BS_PUSHBUTTON
  116. END
  117. /////////////////////////////////////////////////////////////////////////////
  118. //
  119. // String Table
  120. //
  121. STRINGTABLE DISCARDABLE
  122. BEGIN
  123. IDS_APP_NAME "ITG Smart Card PIN Tool"
  124. IDS_APP_DESCRIPTION "PIN Management Application"
  125. IDS_UNBLOCK1 "To unblock your card, you will need to call Helpdesk and read the information in this dialog box to the technician. You will be given data to type into the 'Response' box below before pressing 'Unblock'. Do not remove your card until you are told that you may do so."
  126. IDS_UNBLOCK2 "You need to choose a new PIN for your card. Enter it in both boxes below, and press OK."
  127. IDS_ITGTITLE "ITG PIN Tool"
  128. IDS_SCERROR "A smart card error occurred. Please remove and reinsert the card."
  129. IDS_NEEDPIN "You must enter a PIN value before proceeding."
  130. IDS_NOTSAME "You must enter the same PIN twice. Please try again."
  131. IDS_UNBLOCKOK "Unblock succeeded."
  132. IDS_UNBLOCKFAIL "Unblock failed."
  133. IDS_BADRESPONSE "The response string was mistyped. Please try again."
  134. IDS_NEEDRESPONSE "For unblock to succeed, you must type the correct data into the 'Response' box."
  135. IDS_WRONGBUTTON "For unblock to succeed, you must type the correct data into the 'Response' box and press 'Unblock'."
  136. IDS_WRONGPIN "The old PIN that you entered was incorrect."
  137. IDS_BADPIN "The new PIN that you entered is invalid. Please type in a different new PIN and try again."
  138. IDS_PINCHANGEOK "PIN change succeeded."
  139. IDS_PINCHANGEFAIL "PIN change failed."
  140. IDS_NOCARD "There is no smart card inserted. Please insert your card and try again."
  141. IDS_INTERROR "The operation failed due to an internal error."
  142. IDS_CANCELLED "The operation was cancelled."
  143. IDS_STOPPED "The operation failed because the smart card resource manager has shut down."
  144. IDS_NOSERVICE "The operation failed because the smart card resource manager is not running."
  145. IDS_UNSUPPORTED "The operation failed because the smart card does not support this feature."
  146. IDS_NOTFOUND "The operation failed because a necessary file does not exist on the card."
  147. IDS_TOOMANY "The operation failed because the smart card is out of space."
  148. IDS_INVALIDCHV "The operation failed because the new PIN value is invalid."
  149. IDS_WRONGCHV "The operation failed because the PIN presented was incorrect."
  150. IDS_BLOCKEDCHV "The operation failed because the PIN is blocked."
  151. IDS_UNRESP "The operation failed because the smart card is failing to respond."
  152. IDS_REMOVED "The operation failed because the smart card was removed."
  153. IDS_BADCHV "The operation failed because the response to the challenge was incorrect."
  154. IDS_BADMODULE "The version of the smart card module installed on the system is incorrect for use with this program."
  155. END
  156. #endif // English (U.S.) resources
  157. /////////////////////////////////////////////////////////////////////////////