FreeRDP
error.c File Reference
#include <winpr/error.h>
#include <stdio.h>
#include <winpr/nt.h>

Functions

UINT GetErrorMode (void)
 
UINT SetErrorMode (UINT uMode)
 
DWORD GetLastError (VOID)
 
VOID SetLastError (DWORD dwErrCode)
 
VOID RestoreLastError (DWORD dwErrCode)
 
VOID RaiseException (DWORD dwExceptionCode, DWORD dwExceptionFlags, DWORD nNumberOfArguments, CONST ULONG_PTR *lpArguments)
 
LONG UnhandledExceptionFilter (PEXCEPTION_POINTERS ExceptionInfo)
 
LPTOP_LEVEL_EXCEPTION_FILTER SetUnhandledExceptionFilter (LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter)
 
PVOID AddVectoredExceptionHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler)
 
ULONG RemoveVectoredExceptionHandler (PVOID Handle)
 
PVOID AddVectoredContinueHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler)
 
ULONG RemoveVectoredContinueHandler (PVOID Handle)
 

Function Documentation

PVOID AddVectoredContinueHandler ( ULONG  First,
PVECTORED_EXCEPTION_HANDLER  Handler 
)
PVOID AddVectoredExceptionHandler ( ULONG  First,
PVECTORED_EXCEPTION_HANDLER  Handler 
)
UINT GetErrorMode ( void  )

WinPR: Windows Portable Runtime Error Handling Functions

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

DWORD GetLastError ( VOID  )

Here is the call graph for this function:

VOID RaiseException ( DWORD  dwExceptionCode,
DWORD  dwExceptionFlags,
DWORD  nNumberOfArguments,
CONST ULONG_PTR *  lpArguments 
)
ULONG RemoveVectoredContinueHandler ( PVOID  Handle)
ULONG RemoveVectoredExceptionHandler ( PVOID  Handle)
VOID RestoreLastError ( DWORD  dwErrCode)
UINT SetErrorMode ( UINT  uMode)
VOID SetLastError ( DWORD  dwErrCode)

Here is the call graph for this function:

LPTOP_LEVEL_EXCEPTION_FILTER SetUnhandledExceptionFilter ( LPTOP_LEVEL_EXCEPTION_FILTER  lpTopLevelExceptionFilter)
LONG UnhandledExceptionFilter ( PEXCEPTION_POINTERS  ExceptionInfo)