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. ATL / WTL / STL
  4. STDMETHOD

STDMETHOD

Scheduled Pinned Locked Moved ATL / WTL / STL
question
3 Posts 3 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.
  • A Offline
    A Offline
    Anand for every one
    wrote on last edited by
    #1

    what is STDMETHOD ?

    A M 2 Replies Last reply
    0
    • A Anand for every one

      what is STDMETHOD ?

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      It's just a simple macro #define STDMETHOD(method) virtual HRESULT STDMETHODCALLTYPE method What do you not understand about it?

      1 Reply Last reply
      0
      • A Anand for every one

        what is STDMETHOD ?

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        If you're asking what is it used for, it's used for most methods when you write a COM interface definition. The "standard" methods have a return type of HRESULT and a calling convention of __stdcall. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD

        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