public static extern BOOL CredWriteDomainCredentialsA([NativeTypeName("PCREDENTIAL_TARGET_INFORMATIONA")] CREDENTIAL_TARGET_INFORMATIONA *TargetInfo, [NativeTypeName("PCREDENTIALA")] CREDENTIALA *Credential, [NativeTypeName("DWORD")] uint Flags);
public static extern BOOL CredWriteA([NativeTypeName("PCREDENTIALA")] CREDENTIALA *Credential, [NativeTypeName("DWORD")] uint Flags);