FreeRDP
TestErrorSetLastError.c File Reference
#include <winpr/crt.h>
#include <winpr/wlog.h>
#include <winpr/synch.h>
#include <winpr/thread.h>
#include <winpr/interlocked.h>
#include <winpr/error.h>

Functions

static DWORD WINAPI test_error_thread (LPVOID arg)
 
int TestErrorSetLastError (int argc, char *argv[])
 

Variables

static int status = 0
 
static LONG * pLoopCount = NULL
 
static BOOL bStopTest = FALSE
 

Function Documentation

◆ test_error_thread()

static DWORD WINAPI test_error_thread ( LPVOID  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestErrorSetLastError()

int TestErrorSetLastError ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

Variable Documentation

◆ bStopTest

BOOL bStopTest = FALSE
static

◆ pLoopCount

LONG* pLoopCount = NULL
static

◆ status

int status = 0
static

CTest for winpr's SetLastError/GetLastError

Copyright 2013 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2013 Thincast Technologies GmbH Copyright 2013 Norbert Federa norbe.nosp@m.rt.f.nosp@m.edera.nosp@m.@thi.nosp@m.ncast.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.