The DdeUnaccessData function unaccesses a dynamic data exchange (DDE) object. An application must call this function after it has finished accessing the object.
BOOL DdeUnaccessData(
HDDEDATA hData |
// handle to DDE object |
); |
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 may be one of the following values:
DMLERR_DLL_NOT_INITIALIZED
DMLERR_INVALIDPARAMETER
DMLERR_NO_ERROR
DdeAccessData, DdeAddData, DdeCreateDataHandle, DdeFreeDataHandle