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

FreeKnownFolderDefinitionFields function

Frees the allocated fields in the result from IKnownFolder::GetFolderDefinition.

Syntax


void FreeKnownFolderDefinitionFields(
  _In_  KNOWNFOLDER_DEFINITION *pKFD
);

Parameters

pKFD [in]

Type: KNOWNFOLDER_DEFINITION*

A pointer to a KNOWNFOLDER_DEFINITION structure that contains information about the given known folder.

Return value

This function does not return a value.

Remarks

This is an inline helper function that calls CoTaskMemFree on the fields in the structure that need to be freed. Its implementation can be seen in the header file.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

 

 

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.