init.c File Reference
#include <winpr/config.h>
#include <winpr/synch.h>
#include <winpr/interlocked.h>
#include "../log.h"


#define TAG   WINPR_TAG("sync")


BOOL winpr_InitOnceBeginInitialize (LPINIT_ONCE lpInitOnce, DWORD dwFlags, PBOOL fPending, LPVOID *lpContext)
BOOL winpr_InitOnceComplete (LPINIT_ONCE lpInitOnce, DWORD dwFlags, LPVOID lpContext)
VOID winpr_InitOnceInitialize (PINIT_ONCE InitOnce)
BOOL winpr_InitOnceExecuteOnce (PINIT_ONCE InitOnce, PINIT_ONCE_FN InitFn, PVOID Parameter, LPVOID *Context)

Macro Definition Documentation


#define TAG   WINPR_TAG("sync")

WinPR: Windows Portable Runtime Synchronization Functions

Copyright 2012 Marc-Andre Moreau Copyright 2014 Thincast Technologies GmbH Copyright 2014 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.

Function Documentation

◆ winpr_InitOnceBeginInitialize()

BOOL winpr_InitOnceBeginInitialize ( LPINIT_ONCE  lpInitOnce,
DWORD  dwFlags,
PBOOL  fPending,
LPVOID *  lpContext 

◆ winpr_InitOnceComplete()

BOOL winpr_InitOnceComplete ( LPINIT_ONCE  lpInitOnce,
DWORD  dwFlags,
LPVOID  lpContext 

◆ winpr_InitOnceExecuteOnce()

BOOL winpr_InitOnceExecuteOnce ( PINIT_ONCE  InitOnce,
PVOID  Parameter,
LPVOID *  Context 
Here is the call graph for this function:

◆ winpr_InitOnceInitialize()

VOID winpr_InitOnceInitialize ( PINIT_ONCE  InitOnce)