Source code of Windows XP (NT5)
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.

32 lines
601 B

  1. #ifndef _RMTCRED_
  2. #define _RMTCRED_
  3. #ifndef SECURITY_WIN32
  4. #define SECURITY_WIN32
  5. #endif
  6. #include "sspi.h"
  7. #include "rpc.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. BOOL
  12. WINAPI
  13. SetProcessDefaultCredentials(
  14. HANDLE hProcess,
  15. LPWSTR lpPrincipal,
  16. LPWSTR lpPackage,
  17. ULONG fCredentials,
  18. PVOID LogonID, // must be NULL for this release.
  19. PVOID pvAuthData,
  20. SEC_GET_KEY_FN fnGetKey, // must be NULL for this release.
  21. PVOID pvGetKeyArg // must be NULL for this release.
  22. );
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif // _RMTCRED