#include <gforth/0.7.9_20151126/libcc.h>
#include <w32api/wtypes.h>
#include <w32api/wingdi.h>
#define CALLBACK_OLDFONTENUMPROCA_(I) \
Cell libgfgdi_LTX_gforth_cb_OLDFONTENUMPROCA__##I (void* x0, void* x1, UCell x2, Cell x3) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(Cell)(x1); \
  sp[-3]=(x2); \
  sp[-4]=(x3); \
  sp+=-4; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_OLDFONTENUMPROCA_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_OLDFONTENUMPROCA_[2] = {
  0, 0,};
CALLBACK_OLDFONTENUMPROCA_(0)
CALLBACK_OLDFONTENUMPROCA_(1)
const Address libgfgdi_LTX_gforth_callbacks_OLDFONTENUMPROCA_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_OLDFONTENUMPROCA__0,
  (Address)libgfgdi_LTX_gforth_cb_OLDFONTENUMPROCA__1,
};
#define CALLBACK_OLDFONTENUMPROCW_(I) \
Cell libgfgdi_LTX_gforth_cb_OLDFONTENUMPROCW__##I (void* x0, void* x1, UCell x2, Cell x3) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(Cell)(x1); \
  sp[-3]=(x2); \
  sp[-4]=(x3); \
  sp+=-4; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_OLDFONTENUMPROCW_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_OLDFONTENUMPROCW_[2] = {
  0, 0,};
CALLBACK_OLDFONTENUMPROCW_(0)
CALLBACK_OLDFONTENUMPROCW_(1)
const Address libgfgdi_LTX_gforth_callbacks_OLDFONTENUMPROCW_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_OLDFONTENUMPROCW__0,
  (Address)libgfgdi_LTX_gforth_cb_OLDFONTENUMPROCW__1,
};
#define CALLBACK_GOBJENUMPROC_(I) \
Cell libgfgdi_LTX_gforth_cb_GOBJENUMPROC__##I (void* x0, Cell x1) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(x1); \
  sp+=-2; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_GOBJENUMPROC_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_GOBJENUMPROC_[2] = {
  0, 0,};
CALLBACK_GOBJENUMPROC_(0)
CALLBACK_GOBJENUMPROC_(1)
const Address libgfgdi_LTX_gforth_callbacks_GOBJENUMPROC_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_GOBJENUMPROC__0,
  (Address)libgfgdi_LTX_gforth_cb_GOBJENUMPROC__1,
};
#define CALLBACK_LINEDDAPROC_(I) \
void libgfgdi_LTX_gforth_cb_LINEDDAPROC__##I (Cell x0, Cell x1, Cell x2) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(x0); \
  sp[-2]=(x1); \
  sp[-3]=(x2); \
  sp+=-3; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_LINEDDAPROC_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
; \
}
Xt* libgfgdi_LTX_gforth_cbips_LINEDDAPROC_[2] = {
  0, 0,};
CALLBACK_LINEDDAPROC_(0)
CALLBACK_LINEDDAPROC_(1)
const Address libgfgdi_LTX_gforth_callbacks_LINEDDAPROC_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_LINEDDAPROC__0,
  (Address)libgfgdi_LTX_gforth_cb_LINEDDAPROC__1,
};
#define CALLBACK_LPFNDEVMODE_(I) \
UCell libgfgdi_LTX_gforth_cb_LPFNDEVMODE__##I (void* x0, void* x1, void* x2, void* x3, void* x4, void* x5, void* x6, UCell x7) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(Cell)(x1); \
  sp[-3]=(Cell)(x2); \
  sp[-4]=(Cell)(x3); \
  sp[-5]=(Cell)(x4); \
  sp[-6]=(Cell)(x5); \
  sp[-7]=(Cell)(x6); \
  sp[-8]=(x7); \
  sp+=-8; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_LPFNDEVMODE_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_LPFNDEVMODE_[2] = {
  0, 0,};
CALLBACK_LPFNDEVMODE_(0)
CALLBACK_LPFNDEVMODE_(1)
const Address libgfgdi_LTX_gforth_callbacks_LPFNDEVMODE_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_LPFNDEVMODE__0,
  (Address)libgfgdi_LTX_gforth_cb_LPFNDEVMODE__1,
};
#define CALLBACK_LPFNDEVCAPS_(I) \
UCell libgfgdi_LTX_gforth_cb_LPFNDEVCAPS__##I (void* x0, void* x1, UCell x2, void* x3, void* x4) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(Cell)(x1); \
  sp[-3]=(x2); \
  sp[-4]=(Cell)(x3); \
  sp[-5]=(Cell)(x4); \
  sp+=-5; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_LPFNDEVCAPS_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_LPFNDEVCAPS_[2] = {
  0, 0,};
CALLBACK_LPFNDEVCAPS_(0)
CALLBACK_LPFNDEVCAPS_(1)
const Address libgfgdi_LTX_gforth_callbacks_LPFNDEVCAPS_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_LPFNDEVCAPS__0,
  (Address)libgfgdi_LTX_gforth_cb_LPFNDEVCAPS__1,
};
#define CALLBACK_MFENUMPROC_(I) \
Cell libgfgdi_LTX_gforth_cb_MFENUMPROC__##I (void* x0, void* x1, void* x2, Cell x3, Cell x4) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(Cell)(x1); \
  sp[-3]=(Cell)(x2); \
  sp[-4]=(x3); \
  sp[-5]=(x4); \
  sp+=-5; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_MFENUMPROC_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_MFENUMPROC_[2] = {
  0, 0,};
CALLBACK_MFENUMPROC_(0)
CALLBACK_MFENUMPROC_(1)
const Address libgfgdi_LTX_gforth_callbacks_MFENUMPROC_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_MFENUMPROC__0,
  (Address)libgfgdi_LTX_gforth_cb_MFENUMPROC__1,
};
#define CALLBACK_ENHMFENUMPROC_(I) \
Cell libgfgdi_LTX_gforth_cb_ENHMFENUMPROC__##I (void* x0, void* x1, void* x2, Cell x3, Cell x4) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(Cell)(x1); \
  sp[-3]=(Cell)(x2); \
  sp[-4]=(x3); \
  sp[-5]=(x4); \
  sp+=-5; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_ENHMFENUMPROC_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_ENHMFENUMPROC_[2] = {
  0, 0,};
CALLBACK_ENHMFENUMPROC_(0)
CALLBACK_ENHMFENUMPROC_(1)
const Address libgfgdi_LTX_gforth_callbacks_ENHMFENUMPROC_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_ENHMFENUMPROC__0,
  (Address)libgfgdi_LTX_gforth_cb_ENHMFENUMPROC__1,
};
#define CALLBACK_ABORTPROC_(I) \
Cell libgfgdi_LTX_gforth_cb_ABORTPROC__##I (void* x0, Cell x1) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(x1); \
  sp+=-2; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_ABORTPROC_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_ABORTPROC_[2] = {
  0, 0,};
CALLBACK_ABORTPROC_(0)
CALLBACK_ABORTPROC_(1)
const Address libgfgdi_LTX_gforth_callbacks_ABORTPROC_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_ABORTPROC__0,
  (Address)libgfgdi_LTX_gforth_cb_ABORTPROC__1,
};
#define CALLBACK_ICMENUMPROCA_(I) \
Cell libgfgdi_LTX_gforth_cb_ICMENUMPROCA__##I (void* x0, Cell x1) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(x1); \
  sp+=-2; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_ICMENUMPROCA_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_ICMENUMPROCA_[2] = {
  0, 0,};
CALLBACK_ICMENUMPROCA_(0)
CALLBACK_ICMENUMPROCA_(1)
const Address libgfgdi_LTX_gforth_callbacks_ICMENUMPROCA_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_ICMENUMPROCA__0,
  (Address)libgfgdi_LTX_gforth_cb_ICMENUMPROCA__1,
};
#define CALLBACK_ICMENUMPROCW_(I) \
Cell libgfgdi_LTX_gforth_cb_ICMENUMPROCW__##I (void* x0, Cell x1) \
{ \
  stackpointers * SPs = get_gforth_SPs(); \
  Cell *oldsp=SPs->spx; Cell *oldrp=SPs->rpx; char *oldlp=SPs->lpx; \
  Float *oldfp=SPs->fpx; user_area *oldup=SPs->upx; Cell old_magic=SPs->magic; \
  Cell stack[GFSS], rstack[GFSS], lstack[GFSS]; Float fstack[GFSS]; \
  SPs->spx=stack+GFSS-1; SPs->rpx=rstack+GFSS; SPs->lpx=(char*)(lstack+GFSS); SPs->fpx=fstack+GFSS-1; SPs->upx=gforth_main_UP; SPs->magic=GFORTH_MAGIC; \
  Cell*  sp=SPs->spx; \
  Float* fp=SPs->fpx; \
  sp[-1]=(Cell)(x0); \
  sp[-2]=(x1); \
  sp+=-2; \
  SPs->spx=sp; SPs->fpx=fp; gforth_engine(libgfgdi_LTX_gforth_cbips_ICMENUMPROCW_[I], SPs); \
  SPs->spx=oldsp; SPs->rpx=oldrp; SPs->lpx=oldlp; SPs->fpx=oldfp; SPs->upx=oldup; SPs->magic=old_magic; \
  return sp[-1]; \
}
Xt* libgfgdi_LTX_gforth_cbips_ICMENUMPROCW_[2] = {
  0, 0,};
CALLBACK_ICMENUMPROCW_(0)
CALLBACK_ICMENUMPROCW_(1)
const Address libgfgdi_LTX_gforth_callbacks_ICMENUMPROCW_[2] = {
  (Address)libgfgdi_LTX_gforth_cb_ICMENUMPROCW__0,
  (Address)libgfgdi_LTX_gforth_cb_ICMENUMPROCW__1,
};
ptrpair libgfgdi_LTX_gforth_c_AddFontResourceW_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=AddFontResourceW((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_AnimatePalette_auua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=AnimatePalette((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_Arc_annnnnnnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=8, farg0=-1;
  sp[8]=Arc((void *)(sp[8]),sp[7],sp[6],sp[5],sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+8;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_BitBlt_annnnannu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=8, farg0=-1;
  sp[8]=BitBlt((void *)(sp[8]),sp[7],sp[6],sp[5],sp[4],(void *)(sp[3]),sp[2],sp[1],sp[0]);
  x.sp = sp+8;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CancelDC_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=CancelDC((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_Chord_annnnnnnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=8, farg0=-1;
  sp[8]=Chord((void *)(sp[8]),sp[7],sp[6],sp[5],sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+8;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ChoosePixelFormat_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=ChoosePixelFormat((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CloseMetaFile_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CloseMetaFile((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CombineRgn_aaan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=CombineRgn((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CopyMetaFileW_aa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)CopyMetaFileW((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateBitmap_nnuua_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=(Cell)CreateBitmap(sp[4],sp[3],sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateBitmapIndirect_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateBitmapIndirect((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateBrushIndirect_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateBrushIndirect((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateCompatibleBitmap_ann_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=(Cell)CreateCompatibleBitmap((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateDiscardableBitmap_ann_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=(Cell)CreateDiscardableBitmap((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateCompatibleDC_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateCompatibleDC((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateDCW_aaaa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=(Cell)CreateDCW((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateDIBitmap_aauaau_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=(Cell)CreateDIBitmap((void *)(sp[5]),(void *)(sp[4]),sp[3],(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateDIBPatternBrush_au_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)CreateDIBPatternBrush((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateDIBPatternBrushPt_au_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)CreateDIBPatternBrushPt((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateEllipticRgn_nnnn_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=(Cell)CreateEllipticRgn(sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateEllipticRgnIndirect_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateEllipticRgnIndirect((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateFontIndirectW_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateFontIndirectW((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateFontW_nnnnnuuuuuuuua_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=13, farg0=-1;
  sp[13]=(Cell)CreateFontW(sp[13],sp[12],sp[11],sp[10],sp[9],sp[8],sp[7],sp[6],sp[5],sp[4],sp[3],sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+13;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateHatchBrush_nu_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)CreateHatchBrush(sp[1],sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateICW_aaaa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=(Cell)CreateICW((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateMetaFileW_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateMetaFileW((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreatePalette_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreatePalette((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreatePen_nnu_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=(Cell)CreatePen(sp[2],sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreatePenIndirect_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreatePenIndirect((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreatePolyPolygonRgn_aann_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=(Cell)CreatePolyPolygonRgn((void *)(sp[3]),(void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreatePatternBrush_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreatePatternBrush((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateRectRgn_nnnn_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=(Cell)CreateRectRgn(sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateRectRgnIndirect_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateRectRgnIndirect((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateRoundRectRgn_nnnnnn_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=(Cell)CreateRoundRectRgn(sp[5],sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateScalableFontResourceW_uaaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=CreateScalableFontResourceW(sp[3],(void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateSolidBrush_u_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateSolidBrush(sp[0]);
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_DeleteDC_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=DeleteDC((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_DeleteMetaFile_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=DeleteMetaFile((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_DeleteObject_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=DeleteObject((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_DescribePixelFormat_anua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=DescribePixelFormat((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_DeviceCapabilitiesW_aanaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=DeviceCapabilitiesW((void *)(sp[4]),(void *)(sp[3]),sp[2],(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_DrawEscape_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=DrawEscape((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_Ellipse_annnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=Ellipse((void *)(sp[4]),sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EnumFontFamiliesExW_aaanu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=EnumFontFamiliesExW((void *)(sp[4]),(void *)(sp[3]),(void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EnumFontFamiliesW_aaan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=EnumFontFamiliesW((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EnumFontsW_aaan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=EnumFontsW((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EnumObjects_anan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=EnumObjects((void *)(sp[3]),sp[2],(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EqualRgn_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=EqualRgn((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_Escape_annaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=Escape((void *)(sp[4]),sp[3],sp[2],(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ExtEscape_annana_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=ExtEscape((void *)(sp[5]),sp[4],sp[3],(void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ExcludeClipRect_annnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=ExcludeClipRect((void *)(sp[4]),sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ExtCreateRegion_aua_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=(Cell)ExtCreateRegion((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ExtFloodFill_annuu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=ExtFloodFill((void *)(sp[4]),sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_FillRgn_aaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=FillRgn((void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_FloodFill_annu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=FloodFill((void *)(sp[3]),sp[2],sp[1],sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_FrameRgn_aaann_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=FrameRgn((void *)(sp[4]),(void *)(sp[3]),(void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetROP2_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetROP2((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetAspectRatioFilterEx_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetAspectRatioFilterEx((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetBkColor_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetBkColor((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetDCBrushColor_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetDCBrushColor((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetDCPenColor_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetDCPenColor((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetBkMode_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetBkMode((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetBitmapBits_ana_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetBitmapBits((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetBitmapDimensionEx_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetBitmapDimensionEx((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetBoundsRect_aau_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetBoundsRect((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetBrushOrgEx_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetBrushOrgEx((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCharWidthW_auua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetCharWidthW((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCharWidth32W_auua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetCharWidth32W((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCharWidthFloatW_auua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetCharWidthFloatW((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCharABCWidthsW_auua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetCharABCWidthsW((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCharABCWidthsFloatW_auua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetCharABCWidthsFloatW((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetClipBox_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetClipBox((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetClipRgn_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetClipRgn((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetMetaRgn_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetMetaRgn((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCurrentObject_au_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)GetCurrentObject((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCurrentPositionEx_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetCurrentPositionEx((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetDeviceCaps_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetDeviceCaps((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetDIBits_aauuaau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=6, farg0=-1;
  sp[6]=GetDIBits((void *)(sp[6]),(void *)(sp[5]),sp[4],sp[3],(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+6;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetFontData_auuau_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=GetFontData((void *)(sp[4]),sp[3],sp[2],(void *)(sp[1]),sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetGlyphOutlineW_auuauaa_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=6, farg0=-1;
  sp[6]=GetGlyphOutlineW((void *)(sp[6]),sp[5],sp[4],(void *)(sp[3]),sp[2],(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+6;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetGraphicsMode_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetGraphicsMode((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetMapMode_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetMapMode((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetMetaFileBitsEx_aua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetMetaFileBitsEx((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetMetaFileW_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)GetMetaFileW((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetNearestColor_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetNearestColor((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetNearestPaletteIndex_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetNearestPaletteIndex((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetObjectType_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetObjectType((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetOutlineTextMetricsW_aua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetOutlineTextMetricsW((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetPaletteEntries_auua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetPaletteEntries((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetPixel_ann_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetPixel((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetPixelFormat_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetPixelFormat((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetPolyFillMode_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetPolyFillMode((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetRasterizerCaps_au_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetRasterizerCaps((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetRandomRgn_aan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetRandomRgn((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetRegionData_aua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetRegionData((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetRgnBox_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetRgnBox((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetStockObject_n_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)GetStockObject(sp[0]);
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetStretchBltMode_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetStretchBltMode((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetSystemPaletteEntries_auua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetSystemPaletteEntries((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetSystemPaletteUse_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetSystemPaletteUse((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextCharacterExtra_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetTextCharacterExtra((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextAlign_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetTextAlign((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextColor_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetTextColor((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextExtentPointW_aana_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetTextExtentPointW((void *)(sp[3]),(void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextExtentPoint32W_aana_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetTextExtentPoint32W((void *)(sp[3]),(void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextExtentExPointW_aannaaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=6, farg0=-1;
  sp[6]=GetTextExtentExPointW((void *)(sp[6]),(void *)(sp[5]),sp[4],sp[3],(void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+6;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextCharset_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetTextCharset((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextCharsetInfo_aau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetTextCharsetInfo((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_TranslateCharsetInfo_aau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=TranslateCharsetInfo((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetFontLanguageInfo_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetFontLanguageInfo((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCharacterPlacementW_aannau_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=GetCharacterPlacementW((void *)(sp[5]),(void *)(sp[4]),sp[3],sp[2],(void *)(sp[1]),sp[0]);
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetFontUnicodeRanges_aa_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetFontUnicodeRanges((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetGlyphIndicesW_aanau_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=GetGlyphIndicesW((void *)(sp[4]),(void *)(sp[3]),sp[2],(void *)(sp[1]),sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextExtentPointI_aana_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetTextExtentPointI((void *)(sp[3]),(void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextExtentExPointI_aannaaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=6, farg0=-1;
  sp[6]=GetTextExtentExPointI((void *)(sp[6]),(void *)(sp[5]),sp[4],sp[3],(void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+6;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCharWidthI_auuaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=GetCharWidthI((void *)(sp[4]),sp[3],sp[2],(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetCharABCWidthsI_auuaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=GetCharABCWidthsI((void *)(sp[4]),sp[3],sp[2],(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_AddFontResourceExW_aua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=AddFontResourceExW((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_RemoveFontResourceExW_aua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=RemoveFontResourceExW((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_AddFontMemResourceEx_auaa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=(Cell)AddFontMemResourceEx((void *)(sp[3]),sp[2],(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_RemoveFontMemResourceEx_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=RemoveFontMemResourceEx((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateFontIndirectExW_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateFontIndirectExW((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetViewportExtEx_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetViewportExtEx((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetViewportOrgEx_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetViewportOrgEx((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetWindowExtEx_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetWindowExtEx((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetWindowOrgEx_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetWindowOrgEx((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_IntersectClipRect_annnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=IntersectClipRect((void *)(sp[4]),sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_InvertRgn_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=InvertRgn((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_LineTo_ann_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=LineTo((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_MaskBlt_annnnannannu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=11, farg0=-1;
  sp[11]=MaskBlt((void *)(sp[11]),sp[10],sp[9],sp[8],sp[7],(void *)(sp[6]),sp[5],sp[4],(void *)(sp[3]),sp[2],sp[1],sp[0]);
  x.sp = sp+11;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PlgBlt_aaannnnann_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=9, farg0=-1;
  sp[9]=PlgBlt((void *)(sp[9]),(void *)(sp[8]),(void *)(sp[7]),sp[6],sp[5],sp[4],sp[3],(void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+9;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_OffsetClipRgn_ann_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=OffsetClipRgn((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_OffsetRgn_ann_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=OffsetRgn((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PatBlt_annnnu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=PatBlt((void *)(sp[5]),sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_Pie_annnnnnnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=8, farg0=-1;
  sp[8]=Pie((void *)(sp[8]),sp[7],sp[6],sp[5],sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+8;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PlayMetaFile_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=PlayMetaFile((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PaintRgn_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=PaintRgn((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PolyPolygon_aaan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=PolyPolygon((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PtInRegion_ann_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=PtInRegion((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PtVisible_ann_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=PtVisible((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_RectInRegion_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=RectInRegion((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_RectVisible_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=RectVisible((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_Rectangle_annnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=Rectangle((void *)(sp[4]),sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_RestoreDC_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=RestoreDC((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ResetDCW_aa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)ResetDCW((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_RealizePalette_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=RealizePalette((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_RemoveFontResourceW_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=RemoveFontResourceW((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_RoundRect_annnnnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=6, farg0=-1;
  sp[6]=RoundRect((void *)(sp[6]),sp[5],sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+6;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ResizePalette_au_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=ResizePalette((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SaveDC_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=SaveDC((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SelectClipRgn_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SelectClipRgn((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ExtSelectClipRgn_aan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=ExtSelectClipRgn((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetMetaRgn_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=SetMetaRgn((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SelectObject_aa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)SelectObject((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SelectPalette_aan_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=(Cell)SelectPalette((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetBkColor_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetBkColor((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetDCBrushColor_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetDCBrushColor((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetDCPenColor_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetDCPenColor((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetBkMode_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetBkMode((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetBitmapBits_aua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=SetBitmapBits((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetBoundsRect_aau_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=SetBoundsRect((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetDIBits_aauuaau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=6, farg0=-1;
  sp[6]=SetDIBits((void *)(sp[6]),(void *)(sp[5]),sp[4],sp[3],(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+6;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetDIBitsToDevice_annuunnuuaau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=11, farg0=-1;
  sp[11]=SetDIBitsToDevice((void *)(sp[11]),sp[10],sp[9],sp[8],sp[7],sp[6],sp[5],sp[4],sp[3],(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+11;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetMapperFlags_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetMapperFlags((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetGraphicsMode_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetGraphicsMode((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetMapMode_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetMapMode((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetLayout_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetLayout((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetLayout_a_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetLayout((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetMetaFileBitsEx_ua_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)SetMetaFileBitsEx(sp[1],(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetPaletteEntries_auua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetPaletteEntries((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetPixel_annu_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetPixel((void *)(sp[3]),sp[2],sp[1],sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetPixelV_annu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetPixelV((void *)(sp[3]),sp[2],sp[1],sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetPixelFormat_ana_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=SetPixelFormat((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetPolyFillMode_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetPolyFillMode((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_StretchBlt_annnnannnnu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=10, farg0=-1;
  sp[10]=StretchBlt((void *)(sp[10]),sp[9],sp[8],sp[7],sp[6],(void *)(sp[5]),sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+10;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetRectRgn_annnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=SetRectRgn((void *)(sp[4]),sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_StretchDIBits_annnnnnnnaauu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=12, farg0=-1;
  sp[12]=StretchDIBits((void *)(sp[12]),sp[11],sp[10],sp[9],sp[8],sp[7],sp[6],sp[5],sp[4],(void *)(sp[3]),(void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+12;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetROP2_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetROP2((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetStretchBltMode_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetStretchBltMode((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetSystemPaletteUse_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetSystemPaletteUse((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetTextCharacterExtra_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetTextCharacterExtra((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetTextColor_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetTextColor((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetTextAlign_au_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetTextAlign((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetTextJustification_ann_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=SetTextJustification((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_UpdateColors_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=UpdateColors((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_AlphaBlend_annnnannnnu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=10, farg0=-1;
  sp[10]=AlphaBlend((void *)(sp[10]),sp[9],sp[8],sp[7],sp[6],(void *)(sp[5]),sp[4],sp[3],sp[2],sp[1],*(BLENDFUNCTION*)&sp[0]);
  x.sp = sp+10;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GdiAlphaBlend_annnnannnnu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=10, farg0=-1;
  sp[10]=GdiAlphaBlend((void *)(sp[10]),sp[9],sp[8],sp[7],sp[6],(void *)(sp[5]),sp[4],sp[3],sp[2],sp[1],*(BLENDFUNCTION*)&sp[0]);
  x.sp = sp+10;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_TransparentBlt_annnnannnnu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=10, farg0=-1;
  sp[10]=TransparentBlt((void *)(sp[10]),sp[9],sp[8],sp[7],sp[6],(void *)(sp[5]),sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+10;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GdiTransparentBlt_annnnannnnu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=10, farg0=-1;
  sp[10]=GdiTransparentBlt((void *)(sp[10]),sp[9],sp[8],sp[7],sp[6],(void *)(sp[5]),sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+10;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GradientFill_aauauu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=GradientFill((void *)(sp[5]),(void *)(sp[4]),sp[3],(void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GdiGradientFill_aauauu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=GdiGradientFill((void *)(sp[5]),(void *)(sp[4]),sp[3],(void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PlayMetaFileRecord_aaau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=PlayMetaFileRecord((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EnumMetaFile_aaan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=EnumMetaFile((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CloseEnhMetaFile_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CloseEnhMetaFile((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CopyEnhMetaFileW_aa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)CopyEnhMetaFileW((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateEnhMetaFileW_aaaa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=(Cell)CreateEnhMetaFileW((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_DeleteEnhMetaFile_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=DeleteEnhMetaFile((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EnumEnhMetaFile_aaaaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=EnumEnhMetaFile((void *)(sp[4]),(void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetEnhMetaFileW_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)GetEnhMetaFileW((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetEnhMetaFileBits_aua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetEnhMetaFileBits((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetEnhMetaFileDescriptionW_aua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetEnhMetaFileDescriptionW((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetEnhMetaFileHeader_aua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetEnhMetaFileHeader((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetEnhMetaFilePaletteEntries_aua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetEnhMetaFilePaletteEntries((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetEnhMetaFilePixelFormat_aua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetEnhMetaFilePixelFormat((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetWinMetaFileBits_auana_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=GetWinMetaFileBits((void *)(sp[4]),sp[3],(void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PlayEnhMetaFile_aaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=PlayEnhMetaFile((void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PlayEnhMetaFileRecord_aaau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=PlayEnhMetaFileRecord((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetEnhMetaFileBits_ua_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)SetEnhMetaFileBits(sp[1],(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetWinMetaFileBits_uaaa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=(Cell)SetWinMetaFileBits(sp[3],(void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GdiComment_aua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GdiComment((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextMetricsW_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetTextMetricsW((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_AngleArc_annurr_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=1;
  sp[3]=AngleArc((void *)(sp[3]),sp[2],sp[1],sp[0],fp[1],fp[0]);
  x.sp = sp+3;
  x.fp = fp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PolyPolyline_aaau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=PolyPolyline((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetWorldTransform_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetWorldTransform((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetWorldTransform_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetWorldTransform((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ModifyWorldTransform_aau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=ModifyWorldTransform((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CombineTransform_aaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=CombineTransform((void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateDIBSection_aauaau_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=(Cell)CreateDIBSection((void *)(sp[5]),(void *)(sp[4]),sp[3],(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetDIBColorTable_auua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetDIBColorTable((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetDIBColorTable_auua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetDIBColorTable((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetColorAdjustment_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetColorAdjustment((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetColorAdjustment_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetColorAdjustment((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateHalftonePalette_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateHalftonePalette((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_StartDocW_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=StartDocW((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EndDoc_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=EndDoc((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_StartPage_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=StartPage((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EndPage_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=EndPage((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_AbortDoc_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=AbortDoc((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetAbortProc_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetAbortProc((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_AbortPath_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=AbortPath((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ArcTo_annnnnnnn_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=8, farg0=-1;
  sp[8]=ArcTo((void *)(sp[8]),sp[7],sp[6],sp[5],sp[4],sp[3],sp[2],sp[1],sp[0]);
  x.sp = sp+8;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_BeginPath_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=BeginPath((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CloseFigure_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=CloseFigure((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EndPath_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=EndPath((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_FillPath_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=FillPath((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_FlattenPath_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=FlattenPath((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetPath_aaan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=GetPath((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PathToRegion_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)PathToRegion((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PolyDraw_aaan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=PolyDraw((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SelectClipPath_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SelectClipPath((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetArcDirection_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetArcDirection((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetMiterLimit_ara_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=0;
  sp[1]=SetMiterLimit((void *)(sp[1]),fp[0],(void *)(sp[0]));
  x.sp = sp+1;
  x.fp = fp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_StrokeAndFillPath_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=StrokeAndFillPath((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_StrokePath_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=StrokePath((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_WidenPath_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=WidenPath((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ExtCreatePen_uuaua_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=(Cell)ExtCreatePen(sp[4],sp[3],(void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetMiterLimit_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetMiterLimit((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetArcDirection_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GetArcDirection((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetObjectW_ana_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetObjectW((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_MoveToEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=MoveToEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_TextOutW_annan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=TextOutW((void *)(sp[4]),sp[3],sp[2],(void *)(sp[1]),sp[0]);
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ExtTextOutW_annuaaua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=7, farg0=-1;
  sp[7]=ExtTextOutW((void *)(sp[7]),sp[6],sp[5],sp[4],(void *)(sp[3]),(void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+7;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PolyTextOutW_aan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=PolyTextOutW((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreatePolygonRgn_ann_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=(Cell)CreatePolygonRgn((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_DPtoLP_aan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=DPtoLP((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_LPtoDP_aan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=LPtoDP((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_Polygon_aan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=Polygon((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_Polyline_aan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=Polyline((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PolyBezier_aau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=PolyBezier((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PolyBezierTo_aau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=PolyBezierTo((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_PolylineTo_aau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=PolylineTo((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetViewportExtEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetViewportExtEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetViewportOrgEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetViewportOrgEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetWindowExtEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetWindowExtEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetWindowOrgEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetWindowOrgEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_OffsetViewportOrgEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=OffsetViewportOrgEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_OffsetWindowOrgEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=OffsetWindowOrgEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ScaleViewportExtEx_annnna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=ScaleViewportExtEx((void *)(sp[5]),sp[4],sp[3],sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ScaleWindowExtEx_annnna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=-1;
  sp[5]=ScaleWindowExtEx((void *)(sp[5]),sp[4],sp[3],sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+5;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetBitmapDimensionEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetBitmapDimensionEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetBrushOrgEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=SetBrushOrgEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetTextFaceW_ana_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetTextFaceW((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetKerningPairsW_aua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetKerningPairsW((void *)(sp[2]),sp[1],(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetDCOrgEx_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetDCOrgEx((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_FixBrushOrgEx_anna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=FixBrushOrgEx((void *)(sp[3]),sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_UnrealizeObject_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=UnrealizeObject((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GdiFlush__n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=-1, farg0=-1;
  sp[-1]=GdiFlush();
  x.sp = sp+-1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GdiSetBatchLimit_u_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=GdiSetBatchLimit(sp[0]);
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GdiGetBatchLimit__u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=-1, farg0=-1;
  sp[-1]=GdiGetBatchLimit();
  x.sp = sp+-1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetICMMode_an_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetICMMode((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CheckColorsInGamut_aaau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=CheckColorsInGamut((void *)(sp[3]),(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetColorSpace_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)GetColorSpace((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetLogColorSpaceW_aau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetLogColorSpaceW((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_CreateColorSpaceW_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)CreateColorSpaceW((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetColorSpace_aa_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)SetColorSpace((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_DeleteColorSpace_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=DeleteColorSpace((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetICMProfileW_aaa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=GetICMProfileW((void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetICMProfileW_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetICMProfileW((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_GetDeviceGammaRamp_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=GetDeviceGammaRamp((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SetDeviceGammaRamp_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=SetDeviceGammaRamp((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ColorMatchToTarget_aau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=ColorMatchToTarget((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_EnumICMProfilesW_aan_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=EnumICMProfilesW((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_UpdateICMRegKeyW_uaau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=UpdateICMRegKeyW(sp[3],(void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_ColorCorrectPalette_aauu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=ColorCorrectPalette((void *)(sp[3]),(void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglCopyContext_aau_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=wglCopyContext((void *)(sp[2]),(void *)(sp[1]),sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglCreateContext_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)wglCreateContext((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglCreateLayerContext_an_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=(Cell)wglCreateLayerContext((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglDeleteContext_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=wglDeleteContext((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglGetCurrentContext__a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=-1, farg0=-1;
  sp[-1]=(Cell)wglGetCurrentContext();
  x.sp = sp+-1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglGetCurrentDC__a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=-1, farg0=-1;
  sp[-1]=(Cell)wglGetCurrentDC();
  x.sp = sp+-1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglGetProcAddress_a_a(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=(Cell)wglGetProcAddress((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglMakeCurrent_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=wglMakeCurrent((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglShareLists_aa_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=wglShareLists((void *)(sp[1]),(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglUseFontBitmapsW_auuu_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=3, farg0=-1;
  sp[3]=wglUseFontBitmapsW((void *)(sp[3]),sp[2],sp[1],sp[0]);
  x.sp = sp+3;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_SwapBuffers_a_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=0, farg0=-1;
  sp[0]=SwapBuffers((void *)(sp[0]));
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglUseFontOutlinesW_auuurrna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=5, farg0=1;
  sp[5]=wglUseFontOutlinesW((void *)(sp[5]),sp[4],sp[3],sp[2],fp[1],fp[0],sp[1],(void *)(sp[0]));
  x.sp = sp+5;
  x.fp = fp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglDescribeLayerPlane_annua_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=wglDescribeLayerPlane((void *)(sp[4]),sp[3],sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglSetLayerPaletteEntries_annna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=wglSetLayerPaletteEntries((void *)(sp[4]),sp[3],sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglGetLayerPaletteEntries_annna_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=4, farg0=-1;
  sp[4]=wglGetLayerPaletteEntries((void *)(sp[4]),sp[3],sp[2],sp[1],(void *)(sp[0]));
  x.sp = sp+4;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglRealizeLayerPalette_ann_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=2, farg0=-1;
  sp[2]=wglRealizeLayerPalette((void *)(sp[2]),sp[1],sp[0]);
  x.sp = sp+2;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglSwapLayerBuffers_au_n(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=wglSwapLayerBuffers((void *)(sp[1]),sp[0]);
  x.sp = sp+1;
  return x;
}
ptrpair libgfgdi_LTX_gforth_c_wglSwapMultipleBuffers_ua_u(GFORTH_ARGS)
{
  Cell MAYBE_UNUSED *sp = x.sp;
  Float MAYBE_UNUSED *fp = x.fp;
  int MAYBE_UNUSED arg0=1, farg0=-1;
  sp[1]=wglSwapMultipleBuffers(sp[1],(void *)(sp[0]));
  x.sp = sp+1;
  return x;
}
hash_128 gflibcc_hash_gdi = "\x52\x8F\x38\x7B\x79\x07\x94\xB7\xDE\x8A\x5B\x1F\x29\xDE\x18\x12";
