mirror of https://github.com/tongzx/nt5src
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
32 lines
601 B
#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
|