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.

29 lines
911 B

  1. // ===========================================================================
  2. // UAMPswdField.c � 2001 Microsoft Corp. All rights reserved.
  3. // ===========================================================================
  4. #ifdef UAM_TARGET_CARBON
  5. #include <Carbon/Carbon.h>
  6. #endif
  7. void UAM_SetMaximumPasswordLength(
  8. Boolean inChangingPassword
  9. );
  10. Boolean UAM_InitializeDialogPasswordItem(
  11. DialogRef inDialog,
  12. SInt16 inItem
  13. );
  14. void UAM_CleanupPasswordFieldItems(void);
  15. ControlKeyFilterResult UAM_PasswordKeyFilterProc(
  16. ControlRef inControl,
  17. SInt16* inKeyCode,
  18. SInt16* inCharCode,
  19. EventModifiers* inModifiers
  20. );
  21. void UAM_GetPasswordText(DialogRef inDialog, short item, Str255 theText);
  22. void UAM_SetPasswordText(DialogRef inDialog, short item, const Str255 theText);
  23. void UAM_MakePasswordItemFocusItem(DialogRef inDialog, SInt16 inPasswordItemID);