VBoxCertUtil.cpp revision a86d2b9aa8f3f9bacc5e6fcd6ac7c3babd54450d
/*******************************************************************************
* Header Files *
*******************************************************************************/
#include <Windows.h>
#include <Wincrypt.h>
#include <iprt/initterm.h>
{
switch (dwErr)
{
default:
{
static char s_szErr[32];
return s_szErr;
}
}
}
{
/*
* Open the source.
*/
void *pvFile;
if (RT_FAILURE(rc))
if (pCertCtx)
{
/*
* Open the destination.
*/
NULL /* hCryptProv = default */,
{
#if 0
0 /* dwFlags (reserved) */,
NULL))
{
RTMsgInfo("Successfully added '%s' to the '%ls' store (ctx type %u)", pszFilename, pwszStore, dwContextType);
}
else
#else
{
}
else
#endif
}
else
}
else
return rcExit;
#if 0
#endif
}
{
if (RT_FAILURE(rc))
return RTMsgInitFailure(rc);
return rcExit;
}