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>


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


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)
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

◆ pLoopCount

LONG* pLoopCount = NULL

◆ status

int status = 0

CTest for winpr's SetLastError/GetLastError

Copyright 2013 Marc-Andre Moreau Copyright 2013 Thincast Technologies GmbH Copyright 2013 Norbert Federa

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

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.