Trace Id is missing

Maximize the everyday with Microsoft 365

Get online protection, secure cloud storage, and innovative apps designed to fit your needs—all in one plan.
A young woman works on a Surface laptop while Microsoft 365 App icons whirl around her head.

Office 2010 Help Files: Win32API_PtrSafe with 64-bit Support

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.

Important! Selecting a language below will dynamically change the complete page content to that language.

  • Version:


    Date Published:


    File Name:


    File Size:

    688.0 KB

    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.
  • Supported 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
  • 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.
  • This package does not collect any personal information.
Follow Microsoft