DdeUnaccessData

  BOOL DdeUnaccessData(hData)    
  HDDEDATA hData; /* handle of global memory object */

The DdeUnaccessData function frees a global memory object. An application must call this function when it is finished accessing the object.

Parameters

hData

Identifies the global memory object.

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.

Errors

Use the DdeGetLastError function to retrieve the error value, which may be one of the following:

DMLERR_DLL_NOT_INITIALIZED
DMLERR_INVALIDPARAMETER
DMLERR_NO_ERROR

See Also

DdeAccessData, DdeAddData, DdeCreateDataHandle, DdeFreeDataHandle