FreeRDP
nt.c File Reference
#include <winpr/assert.h>
#include <winpr/config.h>
#include <winpr/crt.h>
#include <winpr/library.h>
#include <winpr/wlog.h>
#include <winpr/nt.h>
#include <winpr/endian.h>
#include "../log.h"
#include <pthread.h>
#include "../handle/handle.h"

Macros

#define TAG   WINPR_TAG("nt")
 

Functions

static void sTebDestruct (void *teb)
 
static void sTebInitOnce (void)
 
PTEB NtCurrentTeb (void)
 

Variables

static pthread_once_t sTebOnceControl = PTHREAD_ONCE_INIT
 
static pthread_key_t sTebKey
 

Macro Definition Documentation

◆ TAG

#define TAG   WINPR_TAG("nt")

WinPR: Windows Portable Runtime Windows Native System Services

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.

Function Documentation

◆ NtCurrentTeb()

PTEB NtCurrentTeb ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sTebDestruct()

static void sTebDestruct ( void *  teb)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sTebInitOnce()

static void sTebInitOnce ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ sTebKey

pthread_key_t sTebKey
static

◆ sTebOnceControl

pthread_once_t sTebOnceControl = PTHREAD_ONCE_INIT
static