⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 passwordapi.h

📁 很好用的ftp源码
💻 H
字号:
/*****************************************************************************\
    FILE: passwordapi.h
    
    DESCRIPTION:
        We want to store FTP passwords in a secure API.  We will use the
    PStore APIs on WinNT and the PWL APIs on Win9x.  This code was taken
    from wininet.

    Copyright (c) 1998  Microsoft Corporation
\*****************************************************************************/

#ifndef _PASSWORDAPI_H
#define _PASSWORDAPI_H

#include "priv.h"
#include "util.h"


// ----------------Public function prototypes----------------------

// Determines availability of credential cache.
HRESULT InitCredentialPersist(void);

// Persist credentials (username/password).
HRESULT SetCachedCredentials(LPCWSTR pszKey, LPCWSTR pszValue);

// Get persisted credentials (username/password).
HRESULT GetCachedCredentials(LPCWSTR pszKey, LPWSTR pszValue, DWORD cchSize);

// Remove persisted credentials (username/password).
HRESULT RemoveCachedCredentials(LPCWSTR pszKey);

HRESULT InitCredentialPersist(void);


#endif // _PASSWORDAPI_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -