[ros-dev] RE: [ros-diffs] [cwittich] 19320: got a lot of crypt32stuff working

Thomas Weidenmueller w3seek at reactos.com
Fri Nov 18 20:54:04 CET 2005


Robert Shearman wrote:
> I have no problem with including ntstatus.h, even though it is not
> strictly necessary as it is just defines. However, I don't like the idea
> of including winternl.h as crypt32 (specifically high level things like
> certificate handling) shouldn't need to depend on low-level and
> undocumented structures, defines and function declarations. Can you tell
> me what errors you get without including winternl.h?
> 

The problem is it can't find the type definition of NTSTATUS. It is
defined in the PSDK in several places, but none of the files is included
by winnt.h, windows.h or friends. Basically, it's defined in lmaccess.h,
ntsecapi.h, subauth.h, wincred.h and winternl.h. I think latter makes
most sense considering that ntsecapi.h mostly contains LSA stuff.

- Thomas


More information about the Ros-dev mailing list