VBoxCredProvCredential.h revision f5460c92ad7bac3360afa9868da9a43b0300c1ec
/* $Id$ */
/** @file
* VBoxCredProvCredential - Class for keeping and handling the passed
* credentials.
*/
/*
* Copyright (C) 2012 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.
*/
#ifndef __VBOX_CREDPROV_CREDENTIAL_H__
#define __VBOX_CREDPROV_CREDENTIAL_H__
#include <windows.h>
#include <intsafe.h>
#include <ntsecapi.h>
#define SECURITY_WIN32
#include <security.h>
#include <shlguid.h>
#include <strsafe.h>
#include <shlwapi.h>
#include "VBoxCredentialProvider.h"
{
virtual ~VBoxCredProvCredential(void);
public: /* IUknown overrides. */
public: /* ICredentialProviderCredential overrides. */
IFACEMETHODIMP UnAdvise(void);
IFACEMETHODIMP SetDeselected(void);
IFACEMETHODIMP GetSerialization(CREDENTIAL_PROVIDER_GET_SERIALIZATION_RESPONSE *pcpGetSerializationResponse,
void Reset(void);
int RetrieveCredentials(void);
/** Pointer to parent. */
/** Internal reference count. */
/** The usage scenario for which we were enumerated. */
/** The actual credential strings. */
/** Pointer to event handler. */
};
#endif /* !__VBOX_CREDPROV_CREDENTIAL_H__ */