SalDDE

PPJ.Runtime.DDE.SalDDE

Namespace: PPJ.Runtime.DDE

Assembly: PPJ.Runtime.DDE.49 (4.9.0.0)

Summary description for SalDDE.

public class SalDDE

Methods

AddAtom(stringToAdd)

Adds a string to the global atom table and creates a new atom to identify the string.

Parameter
Type
Description

stringToAdd

Returns: SalNumber.

Alloc()

Allocates a memory handle for WM_DDE_Data or WM_DDE_Poke message.

Returns: SalNumber.

DeleteAtom(atomToDelete)

Decrements an atom's reference count.

Parameter
Type
Description

atomToDelete

The atom to delete.

Returns: SalNumber.

Extract(msg, wParam, lParam, sender, lowlParam, highlParam)

Parameter
Type
Description

Returns: SalBoolean.

ExtractCmd(handle, command, commandSize)

Parameter
Type
Description

handle

command

commandSize

Returns: SalBoolean.

ExtractDataText(handle, status, data, dataSize)

Parameter
Type
Description

Returns: SalBoolean.

ExtractOptions(options, flags, format)

Parameter
Type
Description

Returns: SalBoolean.

FindAtom(topicString)

Searches the global atom table and returns the atom associated with the given string.

Parameter
Type
Description

topicString

The string to search for.

Returns: SalNumber. nAtom

Free(memory)

Frees a memory handle allocated by SalDDEAlloc for WM_DDE_Data or WM_DDE_Poke messages.

Parameter
Type
Description

memory

The memory handle to free.

Returns: SalNumber. nHandle

GetAtomName(atom, atomName, stringLength)

Parameter
Type
Description

atomName

stringLength

Returns: SalNumber.

GetExecuteString(msglParam)

Converts the lParam of the SAM_DDE_ClientExecute message to a command string.

Parameter
Type
Description

msglParam

Returns: SalString. sCommand

Post(wndReceiver, message, wndSender, lowlParam, hnighlParam)

Posts a WM_DDE_* messages except: WM_DDE_Initiate and WM_DDE_Ack.

Parameter
Type
Description

wndReceiver

message

lowlParam

hnighlParam

Returns: SalNumber.

Request(ctrl, service, serverTopic, serverItem, timeout, data)

Parameter
Type
Description

service

serverTopic

serverItem

timeout

Returns: SalBoolean.

Send(receiver, message, sender, lowlParam, highlParam)

Sends a WM_DDE_* message.

Parameter
Type
Description

message

lowlParam

highlParam

Returns: SalNumber.

SendAll(message, sender, lowlParam, highlParam)

Broadcasts a WM_DDE_* message.

Parameter
Type
Description

message

lowlParam

highlParam

Returns: SalNumber.

SendAll(message, sender, lowlParam, highlParam, timeout)

Broadcasts a WM_DDE_* message with a given Timeout

Parameter
Type
Description

message

lowlParam

highlParam

timeout

Returns: SalNumber.

SendExecute(ctrl, service, topic, item, timeout, command)

Executes a DDE command on the server.

Parameter
Type
Description

ctrl

Target control on which to execute the call.

service

timeout

command

Returns: SalBoolean.

SendToClient(ctrl, data, clientID, timeout)

Sends data to the client.

Parameter
Type
Description

ctrl

Target control on which to execute the call.

clientID

timeout

Returns: SalBoolean.

SetCmd(highlParam, command)

Assigns a command string to the data referenced by the high-order word of the lParam in a WM_DDE_Execute message.

Parameter
Type
Description

highlParam

The handle to the command block that contains the command string.

command

The command to execute.

Returns: SalBoolean. bOk

SetData(handle, status, data, format)

Sets DDEdata from a byte array with given format

Parameter
Type
Description

handle

The handle to the memory object that contains the data and other information.

status

The status word.

data

The data to assign.

format

The format

Returns: SalBoolean. bOk

SetDataText(numData, status, strData)

Assigns a value to the data referenced by the low-order word of the lParam in a WM_DDE_Data or WM_DDE_Poke message.

Parameter
Type
Description

numData

The handle to the memory object that contains the data and other information.

status

The status word.

strData

The value to assign.

Returns: SalBoolean. bOk

SetOptions(options, flags, format)

Assigns a value to the data referenced by the low-order word of the lParam in a WM_DDE_Advise message.

Parameter
Type
Description

options

The handle to the memory object that specifies how the data is to be sent.

flags

The status word.

format

The CF_* data format.

Returns: SalBoolean. bOk

StartServer(ctrl, service, topic, item)

Creates a DDE server for the specified service, topic and item.

Parameter
Type
Description

ctrl

Target control on which to execute the call.

service

Returns: SalBoolean.

StartSession(ctrl, service, topic, item, timeout)

Starts a hot link conversation with a server application.

Parameter
Type
Description

ctrl

Target control on which to execute the call.

service

timeout

Returns: SalBoolean.

StopServer(ctrl)

Stops the DDE server associated with the specified control.

Parameter
Type
Description

ctrl

Target control on which to execute the call.

Returns: SalBoolean.

StopSession(ctrl)

Ends a hot link conversation with a server application.

Parameter
Type
Description

ctrl

Target control on which to execute the call.

Returns: SalBoolean. bOk

Last updated