Win32Exception.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace AppSecInc
4 {
5  namespace Exception
6  {
8  namespace Win32Exception
9  {
11  std::string GetLastErrorString(LPCTSTR error = NULL);
13  std::string GetErrorString(DWORD dwErr, LPCTSTR error = NULL);
15  std::string GetErrorString(HRESULT hr, LPCTSTR error = NULL);
16  };
17  }
18 }
std::string GetErrorString(DWORD dwErr, LPCTSTR error=NULL)
Exception from an error code.
Definition: Win32Exception.cpp:21
std::string GetLastErrorString(LPCTSTR error=NULL)
Exception from GetLastError.
Definition: Win32Exception.cpp:26


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com