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