winlogon.cpp revision 9c0076729ec8138e89ce8a6af9a772b68f1f8dc7
/** @file
*
* VBox Remote Desktop Protocol:
* External Authentication Library:
* Windows Logon Authentication.
*/
/*
* Copyright (C) 2006-2010 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 VRDPAUTH_DEBUG_FILE_NAME "\\VRDPAuth.log"
#include <stdio.h>
#include <string.h>
#include <Windows.h>
#include <VBox/VRDPAuth.h>
{
char buffer[1024];
#ifdef VRDPAUTH_DEBUG_FILE_NAME
fclose (f);
#endif
}
extern "C"
#if defined(_MSC_VER)
#endif
const char *szUser,
const char *szPassword,
const char *szDomain)
{
/* 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. */