ResUtilFreeEnvironment function (resapi.h)

Destroys the environment variable block created with ResUtilGetEnvironmentWithNetName. The PRESUTIL_FREE_ENVIRONMENT type defines a pointer to this function.

Syntax

DWORD ResUtilFreeEnvironment(
  [in] LPVOID lpEnvironment
);

Parameters

[in] lpEnvironment

Pointer to the environment variable block returned from ResUtilGetEnvironmentWithNetName.

Return value

This function has no return values.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header resapi.h
Library ResUtils.lib
DLL ResUtils.dll

See also

ResUtilGetEnvironmentWithNetName