XTYP_ERROR transaction

A Dynamic Data Exchange (DDE) callback function, DdeCallback, receives the XTYP_ERROR transaction when a critical error occurs.


#define     XCLASS_NOTIFICATION      0x8000
#define     XTYPF_NOBLOCK            0x0002
#define     XTYP_ERROR              (0x0000 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK )

Parameters

uType

The transaction type.

uFmt

Not used.

hconv

A handle to the conversation associated with the error. This parameter is NULL if the error is not associated with a conversation.

hsz1

Not used.

hsz2

Not used.

hdata

Not used.

dwData1

The error code in the low-order word. Currently, only the following error code is supported.

ValueMeaning
DMLERR_LOW_MEMORY

Memory is low; advise, poke, or execute data may be lost, or the system may fail.

 

dwData2

Not used.

Remarks

An application cannot block this transaction type; the CBR_BLOCK return code is ignored. The Dynamic Data Exchange Management Library (DDEML) attempts to free memory by removing noncritical resources. An application that has blocked conversations should unblock them.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ddeml.h (include Windows.h)

See also

Dynamic Data Exchange Management Library Overview

 

 

Community Additions

ADD
Show: