<commit_before>﻿using System;
using System.Runtime.InteropServices;
using Vanara.InteropServices;
using static Vanara.PInvoke.AdvApi32;
using static Vanara.PInvoke.Secur32;

namespace Vanara.PInvoke
{
	/// <summary>Functions and definitions from CredUI.dll</summary>
	public static partial class CredUI
	{
		/// <summary>The credential is a certificate.</summary>
		public static readonly Guid SEC_WINNT_AUTH_DATA_TYPE_CERT = new Guid("{0x235f69ad, 0x73fb, 0x4dbc, 0x82, 0x3, 0x6, 0x29, 0xe7, 0x39, 0x33, 0x9b}");

		/// <summary>The credential is authentication data from a cryptographic service provider (CSP).</summary>
		public static readonly Guid SEC_WINNT_AUTH_DATA_TYPE_CSP_DATA = new Guid("{0x68fd9879, 0x79c, 0x4dfe, 0x82, 0x81, 0x57, 0x8a, 0xad, 0xc1, 0xc1, 0x0}");

		/// <summary>The credential is a password.</summary>
		public static readonly Guid SEC_WINNT_AUTH_DATA_TYPE_PASSWORD = new Guid("{0x2<PASSWORD>, 0x<PASSWORD>, 0x<PASSWORD>, 0x98, 0xd1, 0x1a, 0xc0, 0x61, 0xdf, 0x71, 0x6a}");

		/// <summary>Flags that determine the behavior of this function.</summary>
		[Flags]
		public enum SSPIPFC
		{
			/// <summary>
			/// The value of the pfSave parameter is ignored, and the credentials collected by this function are not saved.
			/// <para>
			/// Windows 7 and Windows Server 2008 R2: The value of the pfSave parameter is ignored, and the credentials collected by this
			/// function are not saved. Only the name of this possible value was SSPIPFC_SAVE_CRED_BY_CALLER.
			/// </para>
			/// </summary>
			SSPIPFC_CREDPROV_DO_NOT_SAVE = 0x00000001,

			/// <summary>
			/// The value signifies that password and smart card credential providers will not display the "Remember my credentials" checkbox
			/// to the user. The SspiPromptForCredentials function passes this flag value, SSPIPFC_NO_CHECKBOX, in the pvInAuthBuffer
			/// parameter of CredUIPromptForWindowsCredentials function.
			/// </summary>
			SSPIPFC_NO_CHECKBOX = 0x00000002,
		}

		/// <summary>Retrieves context information from a credential provider.</summary>
		/// <param name="ContextHandle">
		/// A pointer to a SEC_WINNT_CREDUI_CONTEXT structure retrieved during a previous call to the SspiUnmarshalCredUIContext function.
		/// </param><commit_msg>Fixed known GUID string format<commit_after>﻿using System;
using System.Runtime.InteropServices;
using Vanara.InteropServices;
using static Vanara.PInvoke.AdvApi32;
using static Vanara.PInvoke.Secur32;

namespace Vanara.PInvoke
{
	/// <summary>Functions and definitions from CredUI.dll</summary>
	public static partial class CredUI
	{
		/// <summary>The credential is a certificate.</summary>
		public static readonly Guid SEC_WINNT_AUTH_DATA_TYPE_CERT = new Guid("{0x235f69ad, 0x73fb, 0x4dbc, { 0x82, 0x3, 0x6, 0x29, 0xe7, 0x39, 0x33, 0x9b } }");

		/// <summary>The credential is authentication data from a cryptographic service provider (CSP).</summary>
		public static readonly Guid SEC_WINNT_AUTH_DATA_TYPE_CSP_DATA = new Guid("{0x68fd9879, 0x79c, 0x4dfe, { 0x82, 0x81, 0x57, 0x8a, 0xad, 0xc1, 0xc1, 0x0 } }");

		/// <summary>The credential is a password.</summary>
		public static readonly Guid SEC_WINNT_AUTH_DATA_TYPE_PASSWORD = new Guid("{0x28bfc32f, 0x10f6, 0x4738, { 0x98, 0xd1, 0x1a, 0xc0, 0x61, 0xdf, 0x71, 0x6a } }");

		/// <summary>Flags that determine the behavior of this function.</summary>
		[Flags]
		public enum SSPIPFC
		{
			/// <summary>
			/// The value of the pfSave parameter is ignored, and the credentials collected by this function are not saved.
			/// <para>
			/// Windows 7 and Windows Server 2008 R2: The value of the pfSave parameter is ignored, and the credentials collected by this
			/// function are not saved. Only the name of this possible value was SSPIPFC_SAVE_CRED_BY_CALLER.
			/// </para>
			/// </summary>
			SSPIPFC_CREDPROV_DO_NOT_SAVE = 0x00000001,

			/// <summary>
			/// The value signifies that password and smart card credential providers will not display the "Remember my credentials" checkbox
			/// to the user. The SspiPromptForCredentials function passes this flag value, SSPIPFC_NO_CHECKBOX, in the pvInAuthBuffer
			/// parameter of CredUIPromptForWindowsCredentials function.
			/// </summary>
			SSPIPFC_NO_CHECKBOX = 0x00000002,
		}

		/// <summary>Retrieves context information from a credential provider.</summary>
		/// <param name="ContextHandle">
		/// A pointer to a SEC_WINNT_CREDUI_CONTEXT structure retrieved during a previous call to the SspiUnmarshalCredUIContext function.
		/// </param>
{'fraction_non_alphanumeric': 0.09918087226034979, 'fraction_numerical': 0.051361523134824, 'mean_word_length': 4.122448979591836, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 46, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7210734', 'n_tokens_mistral': 1728, 'n_tokens_neox': 1464, 'n_words': 465}