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

  • SEARCH
  • Home
  • 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 8335203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:36:02+00:00 2026-06-09T03:36:02+00:00

I know that wParam and lParam are (32 bit I belive) bits of information

  • 0

I know that wParam and lParam are (32 bit I belive) bits of information specific to the message being passed at the time, but is there any way to tell what each message puts into the two?

I read somewhere that wParam is 16 bit and lParam is 32 bit, but it still doesn’t really explain what I should expect to see, or at least which variable I should expect to see something in. I’ve seen some examples of messages using lParam, and other examples of messages using wParam, and yet other examples of both being used.

For instance, I saw keydown uses wParam for receiving a specific key, but lParam is used in LButtondown, with the upper 16 being the y, and the lower 16 being the x. The reason that one specifically should be in lParam makes sense (because it takes 32 bits), but how can I find out which one other messages send, and what is in them?

(sorry, I think I may have repeated my question a couple times in that slight rant)

  • 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-06-09T03:36:05+00:00Added an answer on June 9, 2026 at 3:36 am

    I’m sorry. But the reliable way to know what is being passed in the wParam and lParam of each message is to refer to the documentation.

    I read somewhere that wParam is 16 bit and lParam is 32 bit

    According to this, WPARAM is an unsigned (32-bit) int, while LPARAM is a signed long.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that there's something fishy about the malloc part, but I'm having trouble
I know that this may be common knowledge, but is there a way to
I know that Phonegap has an event for back button, but it's only available
I know that this sort of question has been asked here before, but still
I know that Java have its own garbage collection, but sometimes I want to
I know you are gonna hate me for that kind of question. But could
We know that IPhone has a push notification function. But I have different kinds
I know that question was discussed plenty of times, but i tried all suggestions
I know that I can use ubuntu server to host a website, but what
I know that if port 443 is open that means the remote host supports

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.