Ping Rudy: lpSecurityAttributes

Giganews Newsgroups
Subject: Ping Rudy: lpSecurityAttributes
Posted by:  T (T@invalid.invalid)
Date: Thu, 2 Apr 2020

Hi Rudy,

How would you assembly code?


      A pointer to a SECURITY_ATTRIBUTES structure that
      determines whether the returned handle can be
      inherited by child processes. If lpSecurityAttributes
      is NULL, the handle cannot be inherited.


      typedef struct _SECURITY_ATTRIBUTES {
          DWORD  nLength;
          LPVOID lpSecurityDescriptor;
          BOOL  bInheritHandle;

Currently, randomly, when I make the above call,
my program just exists without an error code and
I don't get my new key.  I am suspicious that
sending lpSecurityAttributes a 0x0000 is not the
right thing to do.

Many thanks,