Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 669319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:08:18+00:00 2026-05-14T00:08:18+00:00

I was browsing through Windows’s Platform SDK header files (what a life, right?), and

  • 0

I was browsing through Windows’s Platform SDK header files (what a life, right?), and I noticed many places contained references to the preprocessor symbol _MAC. For example:

// WinUser.h line 1568
/*
 * Message structure
 */
typedef struct tagMSG {
    HWND        hwnd;
    UINT        message;
    WPARAM      wParam;
    LPARAM      lParam;
    DWORD       time;
    POINT       pt;
#ifdef _MAC
    DWORD       lPrivate;
#endif
} MSG, *PMSG, NEAR *NPMSG, FAR *LPMSG;

Does this mean “Macintosh”, as it appears? Was there a time where Windows or a subset of Windows could be compiled for the Macintosh?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:08:18+00:00Added an answer on May 14, 2026 at 12:08 am

    At one time Microsoft was the largest developer of Macintosh software in the world. Excel and Word dominated their respective markets on the Macintosh, and later so did Office. So it’s not that surprising that the applications division at MS would want a subset of the Windows header files that worked on the MAC – to make their cross platform software easier to maintain.

    But there was never any version of the Windows OS that ran on the Macintosh.

    In any case, this fragment is from objidl.h, seems to indicate that _MAC does indeed mean Macintosh in the header files though…

    //FSSpec is Macintosh only, defined in macos\files.h
    #ifdef _MAC
        typedef struct tagSTATSTG
        {                      
            LPOLESTR pwcsName;
                FSSpec *pspec;
            DWORD type;
            ULARGE_INTEGER cbSize;
    ...
        } STATSTG;
    #else //_MAC
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone explain why ashmem was created? I'm browsing through mm/ashmem.c right now. As
I was browsing through the questions and noticed this: SELECT prodid, issue FROM Sales
I've got Vim73 on Windows, and I'm trying to move files through the file
While browsing through the source code of the java.util.concurrency package, I noticed an idiomatic
I am browsing through hundreds of xml files. When I open them in notepad++
I have been browsing through Google for various explanations but I STILL couldn't figure
As I'm browsing through a Rails source code, it contains the line: @@autoloads =
I've been browsing through all of the CSS related cross-browser questions trying to troubleshoot
I've been browsing through the web but haven't been able to find any concrete
Question says it all. I tried browsing through the latest tag but could not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.