Expand Minimize
This topic has not yet been rated - Rate this topic

SHFree function

[This function is available through Windows XP Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows. Use CoTaskMemFree instead.]

Frees the memory allocated by SHAlloc.

Syntax


void SHFree(
  _In_  void *pv
);

Parameters

pv [in]

Type: void*

A pointer to the memory allocated by SHAlloc.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.