FreeRDP
error.c File Reference
#include <winpr/config.h>
#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

◆ AddVectoredContinueHandler()

PVOID AddVectoredContinueHandler ( ULONG  First,
PVECTORED_EXCEPTION_HANDLER  Handler 
)

◆ AddVectoredExceptionHandler()

PVOID AddVectoredExceptionHandler ( ULONG  First,
PVECTORED_EXCEPTION_HANDLER  Handler 
)

◆ GetErrorMode()

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.

◆ GetLastError()

DWORD GetLastError ( VOID  )
Here is the call graph for this function:

◆ RaiseException()

VOID RaiseException ( DWORD  dwExceptionCode,
DWORD  dwExceptionFlags,
DWORD  nNumberOfArguments,
CONST ULONG_PTR *  lpArguments 
)

◆ RemoveVectoredContinueHandler()

ULONG RemoveVectoredContinueHandler ( PVOID  Handle)

◆ RemoveVectoredExceptionHandler()

ULONG RemoveVectoredExceptionHandler ( PVOID  Handle)

◆ RestoreLastError()

VOID RestoreLastError ( DWORD  dwErrCode)

◆ SetErrorMode()

UINT SetErrorMode ( UINT  uMode)

◆ SetLastError()

VOID SetLastError ( DWORD  dwErrCode)
Here is the call graph for this function:

◆ SetUnhandledExceptionFilter()

LPTOP_LEVEL_EXCEPTION_FILTER SetUnhandledExceptionFilter ( LPTOP_LEVEL_EXCEPTION_FILTER  lpTopLevelExceptionFilter)

◆ UnhandledExceptionFilter()

LONG UnhandledExceptionFilter ( PEXCEPTION_POINTERS  ExceptionInfo)