Hp NonStop G-Series Manual de usuario Pagina 117

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 149
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 116
User Hook Library
Extending the Tandem DDE Gateway
110838 Tandem Computers Incorporated 8–15
pbConvertWithOnlyHookCode Zero = Convert with built-in automatic data
conversion functions
Non-zero = Convert with User Hook Library
functions.
pstructErrMsg See “Returning Error Messages” topic.
TdmgwHookPostReplyMessage
This function may be called when your client application does a DDE Execute function
with a SEND command.
You must enable the function with TdmgwHookEnableUserHooks function by
returning a value with the TDMGW_HOOK_ENABLE_POST_REP_MSG bit set.
The function is called immediately after the reply data is returned to the Tandem DDE
Gateway from the Tandem server.
Prototype
BOOL FAR PASCAL TdmgwHookPostReplyMessage
(HWND hMainWnd, in
unsigned long ulInitializeServiceSerialNumber, in
LPSTR lpServiceName, in
char far * lpBufferStartAddress, in/out
unsigned int uBufferLength, in
struct tagTdmgwErrorMsg far * pstructErrMsg); out
Parameters
Return Value Zero = Error. Non-zero = No error.
hMainWnd Window handle of Tandem DDE Gateway main
window.
ulInitializeServiceSerialNumber Number incremented with each
INITIALIZESERVICE command. Starts at zero
when the Gateway is started. Rolls over to zero after
4,294,967,295.
lpServiceName Current ServiceName object (from
INITIALIZESERVICE command).
lpBufferStartAddress Address of start of the message buffer containing the
message data exactly as it returned from the Tandem
server.
uBufferLength Length of the message buffer as configured for the
ServiceName object (MaxReplyLength attribute).
pstructErrMsg See “Returning Error Messages”
earlier in this section.
Vista de pagina 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 148 149

Comentarios a estos manuales

Sin comentarios