winlogon.cpp revision 45c94fd5bc3ee64a3577f858c7eca5a566601c6f
/** @file
*
* VirtualBox External Authentication Library:
* Windows Logon Authentication.
*/
/*
* Copyright (C) 2006-2011 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
/* If defined, debug messages will be written to the specified file. */
// #define AUTH_DEBUG_FILE_NAME "\\VBoxAuth.log"
#include <stdio.h>
#include <string.h>
#include <Windows.h>
#include <VBox/VBoxAuth.h>
{
#ifdef AUTH_DEBUG_FILE_NAME
char buffer[1024];
if (f)
{
fclose (f);
}
#endif
}
extern "C"
#if defined(_MSC_VER)
#endif
const char *szUser,
const char *szPassword,
const char *szDomain,
int fLogon,
unsigned clientId)
{
/* LOGON32_LOGON_INTERACTIVE is intended for users who will be interactively using the computer,
* such as a user being logged on by a terminal server, remote shell, or similar process.
*/
&hToken);
if (fSuccess)
{
}
else
{
}
return result;
}
/* Verify the function prototype. */