Microsoft Download Center Archive

Office 2010 Help Files: Win32API_PtrSafe with 64-bit Support

  • Published:
  • Version: 0410
  • Category: Document
  • Language: English

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 is updated 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.


Status: Live

This download is still available on The downloads below will come directly from the Microsoft Download Center.

FileSHA1 HashSize
Office2010Win32API_PtrSafe.exe9146617413cf69f1e0594201e3f256cfea021532636 KB

File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.

System Requirements

Operating Systems: Windows 7, Windows Vista

    • This download containsthe Win32API.txt file for use with Office 2010. It also includes a .docx file and .xps file that describes how to work with Win32API.txt. After downloading, you will need one of the following to read the files:
      • Microsoft Word 2010 (.docx) or an XPS viewer such as any Web browser (.xps)
      • Notepad or some other text file reader

Installation Instructions

  • To install this download:
    1. Download the file by clicking the Download link (above) and saving the file to your hard disk.
    2. Double-click the Office2010Win32API_PtrSafe program file on your hard disk to start the setup program.
    3. Follow the instructions on the screen to complete the installation.

    Instructions for use:
    After you installed this download, view the files as you normally would. By default, files are installed to the following location: C:\Office 2010 Developer Resources\Documents\.

    Remove of this download:
    There is no removal feature for this download.

Related Resources