**********************************************************************************************
thunk script used to create thunking layer for thunking control panel applets
        Copyright 2000 - Bryan Stafford, New Vision Software

NOTE: remove these comments before attempting to compile this script

command lines used to create the thunking layer:
Thunk.exe:
    thunk.exe CPL32.thk -o CPL32.asm 

MASM for 32bit object:
    ml /DIS_32 /c /W3 /nologo /coff /Fo thk32.obj CPL32.asm

MASM for 16bit object:
    ml /DIS_16 /c /W3 /nologo /Fo thk16.obj CPL32.asm

**********************************************************************************************

enablemapdirect3216 = true;

typedef unsigned long DWORD;
typedef unsigned long *LPDWORD;
typedef char *LPCSTR;


DWORD LoadLibrary16(LPCSTR lpszLibFileName)
{
    lpszLibFileName = input;
}

DWORD FreeLibrary16(LPDWORD hInst)
{
    hInst = input;
}

DWORD GetProcAddress16(LPDWORD hInst)
{
    hInst = input;
}

DWORD CPlApplet16(LPDWORD lpfnCPlApplet, LPDWORD hWndCPL, LPDWORD uMsg, LPDWORD lParam1, LPDWORD lParam2) 
{
    lpfnCPlApplet = input;
    hWndCPL = input;
    uMsg = input;
    lParam1 = input;
    lParam2 = input;
}

DWORD LoadString16(LPDWORD hInst, LPDWORD idResource, LPDWORD lpszBuffer, LPDWORD cbBuffer) 
{
    hInst = input;
    idResource = input;
    lpszBuffer = input;
    cbBuffer = input;
}