Click here to Skip to main content
Click here to Skip to main content

Secure Function Pointer and Callbacks in Windows Programming

By , 4 May 2011
 
Securefunctionpointer_CFunctionPointer.zip
CFunctionPointer
CFunctionPointer.suo
CFunctionPointer
Securefunctionpointer_CPPFunctionPointer.zip
CPPFunctionPointer
CPPFunctionPointer.suo
CPPFunctionPointer
Securefunctionpointer_SecureFP.zip
SecureFP
SecureFP.suo
SecureFP
Securefunctionpointer_UnsafeFP.zip
UnsafeFP
UnsafeFP.suo
UnsafeFP
Securefunctionpointer_Win32DLL.zip
Win32DLL
Win32DLL.suo
Win32DLL
Win32DLL.def
Securefunctionpointer_Win32DLLClient.zip
Win32DLLClient
Win32DLLClient.suo
Win32DLLClient
#pragma once

// The following macros define the minimum required platform.  The minimum required platform
// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run 
// your application.  The macros work by enabling all features available on platform versions up to and 
// including the version specified.

// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER                          // Specifies that the minimum required platform is Windows Vista.
#define WINVER 0x0600           // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0600     // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINDOWS          // Specifies that the minimum required platform is Windows 98.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif

#ifndef _WIN32_IE                       // Specifies that the minimum required platform is Internet Explorer 7.0.
#define _WIN32_IE 0x0700        // Change this to the appropriate value to target other versions of IE.
#endif

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

R.selvam
Software Developer (Senior)
India India
Member
Selvam has worked on several technologies like Core Java, VC++, MFC, Windows API and Weblogic server. He takes a lot of interest in reading technical articles and enjoy writing them too. He has been awarded as a Microsoft Community Star in 2004, MVP in 2005-06, SCJP 5.0 in 2009, Microsoft Community Contributor(MCC) 2011.
 
Web site: http://www15.brinkster.com/selvamselvam/

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 4 May 2011
Article Copyright 2011 by R.selvam
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid