Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Overview of a Handle

Overview of a Handle

Scheduled Pinned Locked Moved C / C++ / MFC
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kotesh N
    wrote on last edited by
    #1

    Hi, I have a small query regarding HANDLE. What exactly it means. what type of data it will stores. Is there an specific structure ot the HANDLE Chinna.

    P S T 3 Replies Last reply
    0
    • K Kotesh N

      Hi, I have a small query regarding HANDLE. What exactly it means. what type of data it will stores. Is there an specific structure ot the HANDLE Chinna.

      P Offline
      P Offline
      Paresh Chitte
      wrote on last edited by
      #2

      A number assigned to a window that is used by the operating system to keep track of the attributes of the window. In a C or C++ library, a handle is a pointer. For more information please go through the MSDN. Regards, Paresh.

      1 Reply Last reply
      0
      • K Kotesh N

        Hi, I have a small query regarding HANDLE. What exactly it means. what type of data it will stores. Is there an specific structure ot the HANDLE Chinna.

        S Offline
        S Offline
        Stephen Hewitt
        wrote on last edited by
        #3

        I could be many things. It could be one thing in one OS version and an entirely different beast in another OS version. Possible implementations are indexes into arrays, keys into hash tables, a pointer to a data structure… The important thing is that all operations go through APIs so the OS is free to change the implementation and the code will still run without needing to be altered; as long as the size of the HANDLE doesn't change.

        Steve

        1 Reply Last reply
        0
        • K Kotesh N

          Hi, I have a small query regarding HANDLE. What exactly it means. what type of data it will stores. Is there an specific structure ot the HANDLE Chinna.

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          Kotesh.N wrote:

          Is there an specific structure

          you can see it as memeory location!

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups