windows-nt/Source/XPSP1/NT/base/fs/utils/runas/rmtcred.h
2020-09-26 16:20:57 +08:00

33 lines
601 B
C

#ifndef _RMTCRED_
#define _RMTCRED_
#ifndef SECURITY_WIN32
#define SECURITY_WIN32
#endif
#include "sspi.h"
#include "rpc.h"
#ifdef __cplusplus
extern "C" {
#endif
BOOL
WINAPI
SetProcessDefaultCredentials(
HANDLE hProcess,
LPWSTR lpPrincipal,
LPWSTR lpPackage,
ULONG fCredentials,
PVOID LogonID, // must be NULL for this release.
PVOID pvAuthData,
SEC_GET_KEY_FN fnGetKey, // must be NULL for this release.
PVOID pvGetKeyArg // must be NULL for this release.
);
#ifdef __cplusplus
}
#endif
#endif // _RMTCRED