Office 2010 Help Files: Win32API_PtrSafe with 64-bit Support
Office 365 ProPlus is being renamed to Microsoft 365 Apps for enterprise. For more information about this change, read this blog post.
The file Win32_PtrSafe.txt contains Windows API Declarations and Constants for Visual Basic (Updated for the 64-bit version of Microsoft Office 2010) provides declarations for Microsoft Visual Basic programmers who want to call Windows API routines. This file updates and replaces Win32API.txt to include calls to the 64-bit version of Microsoft Office 2010.
Versions of Microsoft® Office and Microsoft Visual Basic® for Applications (VBA) prior to Microsoft Office 2010 and Visual Basic for Applications 7.0 (VBA 7) included the file, Win32API.txt, which facilitated making calls to the Microsoft Windows API. With the addition of 64-bit support in Microsoft Office 2010, an update to this file is needed to support 64-bit API calls. Win32API_PtrSafe.txt is a new version of Win32API.txt that supports API calls on both 32-bit and 64-bit versions of Windows.
Win32API_PtrSafe.txt contains the following:
· 32-bit (x86) and 64-bit (x64) compatible Declare statements for the Windows API functions that were included in the original Win32API.txt file.
· Global constant declarations for the constants that the provided Declare statements use.
· Type declarations for the user-defined types (structures) that the provided Declare statements use.
You can download Win32API_PtrSafe.txt by accessing the file Office2010Win32API_PtrSafe.exe from the web page at Office 2010 Help Files: Win32API_PtrSafe with 64-bit Support.
The instructions of installing this download are included on the web page at the link above, or by pasting the following address in your browser:
The download "Office2010Win32API_PtrSafe.exe" installs "Win32API_PtrSafe.txt", "Using Win32API_PtrSave.xps" and "UsingWin32API_PtrSafe.docx." The latter two files contain important information about using the contents of Win32API_PtrSafe.txt when writing VBA code.
For additional information about how to download Microsoft Support files, see Receive Remote Assistance Support from Microsoft.