RasFreeEapUserIdentityA 函式 (ras.h)

使用 RasFreeEapUserIdentity 函式釋放 RasGetEapUserIdentity 傳回的記憶體緩衝區。

語法

void RasFreeEapUserIdentityA(
  [in] LPRASEAPUSERIDENTITYA pRasEapUserIdentity
);

參數

[in] pRasEapUserIdentity

RasGetEapUserIdentity 函式所傳回之 RASEAPUSERIDENTITY 結構的指標。 RasFreeEapUserIdentity 釋放此結構所佔用的記憶體。

傳回值

備註

您可以使用 pRasEapUserIdentity 參數等於 NULL 來呼叫 RasFreeEapUserIdentity

注意

ras.h 標頭會根據 UNICODE 預處理器常數的定義,將 RasFreeEapUserIdentity 定義為別名,自動選取此函式的 ANSI 或 Unicode 版本。 混合使用編碼中性別名與非編碼中性的程序代碼,可能會導致編譯或運行時間錯誤不符。 如需詳細資訊,請參閱 函式原型的慣例

規格需求

需求
最低支援的用戶端 Windows 2000 專業版 [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限傳統型應用程式]
目標平台 Windows
標頭 ras.h
程式庫 Rasapi32.lib
Dll Rasapi32.dll

另請參閱

RASEAPUSERIDENTITY

RasGetEapUserIdentity