win32/Core.h File Reference


Detailed Description

This is the Microsoft Windows configuration header for the DWF Core library.

This header file provides default definitions for build configuration macros.

Definition in file win32/Core.h.

#include <io.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <windows.h>

Go to the source code of this file.

Namespaces

namespace  DWFCore

Defines

#define _WIN32_WINNT   0x0400
#define DWFCORE_ALLOC_MEMORY(primitive_type, bytes)   (primitive_type*) new primitive_type[bytes]
#define DWFCORE_FREE_MEMORY(pointer)   delete [] pointer; pointer = NULL;
#define DWFCORE_ALLOC_OBJECT(object_type)   new object_type
#define DWFCORE_FREE_OBJECT(pointer)   delete pointer; pointer = NULL;
#define DWFCORE_ZERO_MEMORY(pointer, bytes)   ::memset( (void*)pointer, 0, bytes )
#define DWFCORE_COPY_MEMORY(dest, src, bytes)   ::memcpy( (void*)dest, (const void*)src, bytes )
#define DWFCORE_COMPARE_MEMORY(a, b, bytes)   ::memcmp( (const void*)a, (const void*)b, bytes )
#define DWFCORE_COMPARE_ASCII_STRINGS(a, b)   ::strcmp( a, b )
#define DWFCORE_COMPARE_ASCII_STRINGS_NO_CASE(a, b)   ::stricmp( a, b )
#define DWFCORE_COMPARE_ASCII_STRINGS_NCHARS(a, b, n)   ::strncmp( a, b, n )
#define DWFCORE_COMPARE_WIDE_STRINGS(a, b)   ::wcscmp( a, b )
#define DWFCORE_COMPARE_WIDE_STRINGS_NO_CASE(a, b)   ::wcsicmp( a, b )
#define DWFCORE_COMPARE_WIDE_STRINGS_NCHARS(a, b, n)   ::wcsncmp( a, b, n )
#define DWFCORE_ASCII_STRING_LENGTH(s)   ::strlen( s )
#define DWFCORE_WIDE_STRING_LENGTH_IN_WCHARS(s)   ::wcslen( s )
#define DWFCORE_WIDE_STRING_LENGTH_IN_BYTES(s)   (::wcslen( s ) * sizeof(wchar_t))
#define DWFCORE_ASCII_STRING_COPY(a, b)   ::strcpy(a, b)
#define DWFCORE_WIDE_STRING_COPY(a, b)   ::wcscpy(a, b)
#define DWFCORE_ASCII_STRING_COPY_LENGTH(a, b, n)   ::strncpy(a, b, n)
#define DWFCORE_WIDE_STRING_COPY_LENGTH(a, b, n)   ::wcsncpy(a, b, n)
#define DWFCORE_ASCII_STRING_CONCATENATE(a, b)   ::strcat(a, b)
#define DWFCORE_WIDE_STRING_CONCATENATE(a, b)   ::wcscat(a, b)
#define DWFCORE_ASCII_STRING_TOKENIZE(str, delim, state)   (state, ::strtok(str, delim))
#define DWFCORE_WIDE_STRING_TOKENIZE(str, delim, state)   (state, ::wcstok(str, delim))
#define _DWFCORE_SWPRINTF   _snwprintf
#define _DWFCORE_SPRINTF   _snprintf
#define DWFCORE_USE_WIN32_FILE
#define _DWFCORE_LARGE_CONSTANT(x)   x

Functions

_DWFCORE_API bool DWFCore::IsWindows9x ()
 A legacy system type check for Microsoft Windows 95/98.


Generated on Tue Jan 6 22:39:29 2009 for Autodesk DWF Core Library by  doxygen 1.4.5