CredWrite function Null safety
The CredWrite function creates a new credential or modifies an existing credential in the user's credential set. The new credential is associated with the logon session of the current token. The token must not have the user's security identifier (SID) disabled.
BOOL CredWriteW( PCREDENTIALW Credential, DWORD Flags );
int CredWrite(Pointer<CREDENTIAL> Credential, int Flags) => _CredWrite(Credential, Flags);