CredDelete function advapi32

int CredDelete(
  1. Pointer<Utf16> TargetName,
  2. int Type,
  3. int Flags
)

The CredDelete function deletes a credential from the user's credential set. The credential set used is the one associated with the logon session of the current token. The token must not have the user's SID disabled.

BOOL CredDeleteW(
  LPCWSTR TargetName,
  DWORD   Type,
  DWORD   Flags
);

Implementation

int CredDelete(Pointer<Utf16> TargetName, int Type, int Flags) =>
    _CredDelete(TargetName, Type, Flags);