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. Anyone used the CShareLockNH Methods documented in MSDN

Anyone used the CShareLockNH Methods documented in MSDN

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiodebuggingjsonquestion
3 Posts 2 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.
  • B Offline
    B Offline
    Blake Miller
    wrote on last edited by
    #1

    Has anyone used this API in light of the scant MSDN documentation? CShareLockNH Methods: A group of methods that is used to manipulate locks. Methods:The following are methods exported by Rwnh.dll. ... I could not find a header file, and the API does not make much sense. Is it a single lock for the entire application? I see the descriptions of API functions are not accepting much as input or output. No trace of the object 'CShareLockNH' in the VS 2003 header files.

    M 1 Reply Last reply
    0
    • B Blake Miller

      Has anyone used this API in light of the scant MSDN documentation? CShareLockNH Methods: A group of methods that is used to manipulate locks. Methods:The following are methods exported by Rwnh.dll. ... I could not find a header file, and the API does not make much sense. Is it a single lock for the entire application? I see the descriptions of API functions are not accepting much as input or output. No trace of the object 'CShareLockNH' in the VS 2003 header files.

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Interesting! I've never heard of those functions. There's not any documentation I can find...is it some kernel mode stuff maybe part of the DDK?

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      B 1 Reply Last reply
      0
      • M Mark Salsbery

        Interesting! I've never heard of those functions. There's not any documentation I can find...is it some kernel mode stuff maybe part of the DDK?

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        B Offline
        B Offline
        Blake Miller
        wrote on last edited by
        #3

        It seems to be related to IIS being installed, and so many people have not tried to use them, at least as my Google search revealed. I did not find anything claiming to know how to use them, only where they came from - IIS - and that they are largely undocumented. I was searching for a reader/writer lock that was C/C++ and fairly performant - hoped one was at some point part of the SDK - that is how I stumbled upon it in the MSDN.

        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