Botan  2.1.0
Crypto and TLS for C++11
Namespaces | Macros
es_win32.cpp File Reference
#include <botan/internal/es_win32.h>
#include <windows.h>
#include <tlhelp32.h>

Go to the source code of this file.

Namespaces

 Botan
 

Macros

#define NOMINMAX   1
 
#define TOOLHELP32_ITER(DATA_TYPE, FUNC_FIRST, FUNC_NEXT)
 

Macro Definition Documentation

#define NOMINMAX   1

Definition at line 9 of file es_win32.cpp.

#define TOOLHELP32_ITER (   DATA_TYPE,
  FUNC_FIRST,
  FUNC_NEXT 
)
Value:
if(bits < 256) \
{ \
DATA_TYPE info; \
info.dwSize = sizeof(DATA_TYPE); \
if(FUNC_FIRST(snapshot, &info)) \
{ \
do \
{ \
rng.add_entropy_T(info); \
bits += 4; \
} while(FUNC_NEXT(snapshot, &info)); \
} \
}

Referenced by Botan::Win32_EntropySource::poll().