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.

92 lines
2.9 KiB

  1. /**********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1990 **/
  4. /**********************************************************************/
  5. #ifndef _WNINTRN_H_
  6. #define _WNINTRN_H_
  7. /*
  8. wnintrn.h
  9. LANMAN.DRV APIs for internal use only
  10. LANMAN.DRV implements a set of APIs defined in winnet.h, and exports
  11. these for use by the Windows Shell (File Manager, Print Manager
  12. etc.) These APIs are standard between all network drivers. However,
  13. there is also a range of ordinals reserved for internal use.
  14. These ordinals provide entry points to LANMAN.DRV which are used
  15. by other LanMan programs such as the logon application,
  16. the administrative tools, etc. This header file provides
  17. prototypes for these internal APIs.
  18. I_AutoLogon
  19. Offers the user an opportunity to log on if not already logged on.
  20. Does nothing if user is already logged on.
  21. PARAMETERS:
  22. HWND hParent -- Parent window handle for the parent to the
  23. logon dialog. NULL is acceptable if none is available.
  24. const char FAR *pszAppName -- Name of the application requesting
  25. the logon dialog, for use in constructing the dialog caption.
  26. NULL is acceptable here.
  27. BOOL fPrompt -- If TRUE and user is not logged on, logon dialog
  28. is preceded by a popup asking if the user wishes to log on.
  29. If FALSE and user is not logged on, we proceed straight to
  30. the logon dialog.
  31. BOOL FAR *pfLoggedOn -- TRUE is returned here if the user was logged on
  32. by I_AutoLogon. This may be different from the return value,
  33. since *pfLoggedOn is FALSE if the user was already logged on.
  34. Pass pfLoggedOn==NULL if the caller doesn't care.
  35. RETURN VALUES:
  36. TRUE -- user is logged on when call completes, either because
  37. the user was already logged on, or because the user was
  38. logged on by this call.
  39. FALSE -- user is not logged on when call completes.
  40. I_ChangePassword
  41. Offers the user an "Change Password" dialog box, with which the user
  42. can change his/her own password, or someone else's.
  43. PARAMETERS:
  44. HWND hParent -- Parent window handle.
  45. FILE HISTORY:
  46. jonn 11-Feb-1991 Renamed from autolgon.hxx
  47. Merged in chpass.h
  48. jonn 30-Apr-1991 Added pszAppName parameter
  49. terryk 18-Nov-1991 Added I_SystemFocusDialog
  50. terryk 26-Nov-1991 Added comment
  51. JohnL 22-Apr-1992 Moved the system focus dialog out to uiexport.h
  52. */
  53. #ifdef __cplusplus
  54. extern "C" {
  55. #endif
  56. BOOL FAR PASCAL I_AutoLogon(
  57. HWND hParent,
  58. const TCHAR FAR *pszAppName,
  59. BOOL fPrompt,
  60. BOOL FAR *pfLoggedOn
  61. );
  62. APIERR FAR PASCAL I_ChangePassword ( HWND hParent );
  63. #ifdef __cplusplus
  64. }
  65. #endif
  66. /* Include the I_SystemFocusDialog definition
  67. */
  68. #include <uiexport.h>
  69. #endif // _WNINTRN_H_