Skip to content

Latest commit

 

History

History
119 lines (73 loc) · 3.49 KB

nf-ddeml-ddefreestringhandle.md

File metadata and controls

119 lines (73 loc) · 3.49 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:ddeml.DdeFreeStringHandle
DdeFreeStringHandle function (ddeml.h)
Frees a string handle in the calling application.
DdeFreeStringHandle
DdeFreeStringHandle function [Data Exchange]
_win32_DdeFreeStringHandle
_win32_ddefreestringhandle_cpp
dataxchg.ddefreestringhandle
ddeml/DdeFreeStringHandle
winui._win32_ddefreestringhandle
dataxchg\ddefreestringhandle.htm
dataxchg
VS|winui|~\winui\windowsuserinterface\dataexchange\dynamicdataexchangemanagementlibrary\dynamicdataexchangemanagementreference\dynamicdataexchangemanagementfunctions\ddefreestringhandle.htm
12/05/2018
DdeFreeStringHandle, DdeFreeStringHandle function [Data Exchange], _win32_DdeFreeStringHandle, _win32_ddefreestringhandle_cpp, dataxchg.ddefreestringhandle, ddeml/DdeFreeStringHandle, winui._win32_ddefreestringhandle
ddeml.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
User32.lib
User32.dll
Windows
19H1
DdeFreeStringHandle
ddeml/DdeFreeStringHandle
c++
APIRef
kbSyntax
DllExport
User32.dll
DdeFreeStringHandle

DdeFreeStringHandle function

-description

Frees a string handle in the calling application.

-parameters

-param idInst [in]

Type: DWORD

The application instance identifier obtained by a previous call to the DdeInitialize function.

-param hsz [in]

Type: HSZ

A handle to the string handle to be freed. This handle must have been created by a previous call to the DdeCreateStringHandle function.

-returns

Type: BOOL

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

-remarks

An application can free string handles it creates with DdeCreateStringHandle but should not free those that the system passed to the application's Dynamic Data Exchange (DDE) callback function or those returned in the CONVINFO structure by the DdeQueryConvInfo function.

-see-also

CONVINFO

Conceptual

DdeCmpStringHandles

DdeCreateStringHandle

DdeInitialize

DdeKeepStringHandle

DdeQueryConvInfo

DdeQueryString

Dynamic Data Exchange Management Library

Reference