VSSClient::VSSClient()
{
m_bCoInitializeCalled = false;
+ m_bCoInitializeSecurityCalled = false;
m_dwContext = 0; // VSS_CTX_BACKUP;
m_bDuringRestore = false;
m_bBackupIsInitialized = false;
m_pVectorWriterStates = new vector<int>;
m_pVectorWriterInfo = new vector<string>;
m_uidCurrentSnapshotSet = GUID_NULL;
- memset (m_wszUniqueVolumeName,0,sizeof (m_wszUniqueVolumeName));
- memset (m_szShadowCopyName,0,sizeof (m_szShadowCopyName));
+ memset(m_wszUniqueVolumeName,0, sizeof(m_wszUniqueVolumeName));
+ memset(m_szShadowCopyName,0, sizeof(m_szShadowCopyName));
}
// Destructor
BOOL VSSClient::InitializeForBackup()
{
//return Initialize (VSS_CTX_BACKUP);
- return Initialize (0);
+ return Initialize(0);
}
}
strncpy(szShadowPath, szFilePath, nBuflen);
+ errno = EINVAL;
return FALSE;
}