网站首页  词典首页

请输入您要查询的函数:

 

术语 freeenvironmentstrings
释义 FreeEnvironmentStrings
语法:
C++
BOOL WINAPI FreeEnvironmentStrings(
__in LPTCH lpszEnvironmentBlock
);
FreeEnvironmentStrings函数
释放的环境字串块。
参数
lpszEnvironmentBlock [in]
一个指向环境字符串块的指针。到块的指针,必须获得通过调用GetEnvironmentStrings功能。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值为零为了获得更多错误信息,调用GetLastError。
备注
If you used the ANSI version of GetEnvironmentStrings, be sure to use the ANSI version of FreeEnvironmentStrings.同样,如果您使用了GetEnvironmentStrings Unicode版本,一定要使用FreeEnvironmentStrings Unicode版本。
实例
有关示例,请参阅更改环境变量。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesFreeEnvironmentStringsW(Unicode)和FreeEnvironmentStringsA(ANSI)的
参见
环境变量
GetEnvironmentStrings
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==FreeEnvironmentStrings Function
Frees a block of environment strings.
Syntax
C++
BOOL WINAPI FreeEnvironmentStrings(
__in LPTCH lpszEnvironmentBlock
);
Parameters
lpszEnvironmentBlock [in]
A pointer to a block of environment strings. The pointer to the block must be obtained by calling the GetEnvironmentStrings function.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero To get extended error information, call GetLastError .
Remarks
If you used the ANSI version of GetEnvironmentStrings, be sure to use the ANSI version of FreeEnvironmentStrings. Similarly, if you used the Unicode version of GetEnvironmentStrings, be sure to use the Unicode version of FreeEnvironmentStrings.
Examples
For an example, see Changing Environment Variables .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesFreeEnvironmentStringsW (Unicode) and FreeEnvironmentStringsA (ANSI)
See Also
Environment Variables
GetEnvironmentStrings
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683151(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:28:32