windows_programming_notes.nbk: Home | Index | Next Page: GET_APPCOMMAND_LPARAM | Previous Page: FormatMessage


 FreeEnvironmentStrings

Frees a block of environment strings.

Syntax

    BOOL WINAPI FreeEnvironmentStrings(
      __in  LPTCH lpszEnvironmentBlock
    );

Parameters

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.

Requirements


windows_programming_notes.nbk: Home | Index | Next Page: GET_APPCOMMAND_LPARAM | Previous Page: FormatMessage


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time