Results 1 to 4 of 4

Thread: What do 'w', 'dw', 'lpsz', etc stand for?

  1. #1

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    43

    What do 'w', 'dw', 'lpsz', etc stand for?

    Code:
    Private Type SYSTEMTIME
         wYear As Integer
         dwLowDateTime As Long
         lpszSourceName As Long
         pDest as Any
         lpFile
    Ttime as FILETIME
    End Type
    Pls advise what do 'w', 'dw', 'lpsz', 'p', and 'lp' mean? Thanks.

  2. #2
    Fanatic Member demotivater's Avatar
    Join Date
    Jun 2002
    Location
    is everything
    Posts
    627

    Re: What do 'w', 'dw', 'lpsz', etc stand for?

    Just variable names. The letters may be in reference to another part of the program or something, but it looks like they are just the names given to the variables.
    Here's to us!
    Who's like us?
    Darned few, and they're all dead!

  3. #3

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    43

    Re: What do 'w', 'dw', 'lpsz', etc stand for?

    I think 'w', 'dw', and etc are used to differentiate the type of variable, e.g. 'w' -> WORD. So, can you guest what 'dw', 'lpsz', 'pDest' and 'lp' stand for? Thanks.

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: What do 'w', 'dw', 'lpsz', etc stand for?

    w= Word (2 byte short integer)
    dw = DWord (4 byte integer)
    p = untyped pointer
    lp = generic long pointer
    lpsz = long pointer to a null-terminated string

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width