windows-nt/Source/XPSP1/NT/base/fs/utils/runas/rmtcred.h

33 lines
601 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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