DdeUnaccessData function (ddeml.h)

Unaccesses a Dynamic Data Exchange (DDE) object. An application must call this function after it has finished accessing the object.

Syntax

BOOL DdeUnaccessData(
  [in] HDDEDATA hData
);

Parameters

[in] hData

Type: HDDEDATA

A handle to the DDE object.

Return value

Type: BOOL

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

The DdeGetLastError function can be used to get the error code, which can be one of the following values:

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ddeml.h (include Windows.h)
Library User32.lib
DLL User32.dll

See also

Conceptual

DdeAccessData

DdeAddData

DdeCreateDataHandle

DdeFreeDataHandle

Dynamic Data Exchange Management Library

Reference