Xerox -05W User Manual page 304

Xerox user's guide printer -05w, -07w & -11w
Table of Contents

Advertisement

Dynamic Data Exchange
Example 3
All key values are defined using key macro identifiers as documented in the Key
Reference Numbers appendix.
Read the keyboard macro assigned to the Shift + F6 key sequence.
Note: The highlighted characters Slave in hWndSlaveDDE are
.
.
char buf(128);
ReadKbdMacro(141, (LPSTR)buf, 127);
.
.
ReadKbdMacro(
{
ATOM aMacro;
int iStrLen;
aMacro = (ATOM)GetSetting(
if (aMacro == -1)
return - 1;
iStrLen = GlobalGetAtomName(aMacro, szKbdMacro, iMacroLen);
GlobalDeleteAtom(aMacro);
return iStrLen;
}
GetSetting(HWND hWndSlaveDDE, HWND hWndPartner, int MenuID, int
DataGroup, int iValue)
{
DWORD lSetting;
ATOM
aItem;
char buf[16];
int data;
13-12
only applicable to TeemTalk for Windows 3.1. They are not
to be included when using Windows 95 or NT.
int iKeyMacro,
LPSTR szKbdMacro, /* Pointer to redefinition string */
int iMacroLen
)
/* Convert received Atom to string */
/* Key to be redefined */
/* Max allowed Length of
hWnd,
hWndPartner,
IDM_MACROS,
NKEYSTRING,
iKeyIndex
);
szMacroString */

Advertisement

Table of Contents
loading

This manual is also suitable for:

-07w & -11w

Table of Contents