home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 June
/
VPR0106A.BIN
/
OLS
/
TCL228
/
TCL228.lzh
/
DLLSRC.lzh
/
tcdll.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-09-18
|
2KB
|
59 lines
/*-------------------------------------------
TCDLL.H
KAZUBON 1997-1998
---------------------------------------------*/
#define _WIN32_IE 0x0300
#include <windows.h>
#include <windowsx.h>
#include <winreg.h>
#include <shellapi.h>
#include <winnls.h>
#include <commctrl.h>
// UTL.C
int _strncmp(const char* d, const char* s, size_t n);
HFONT CreateMyFont(char* fontname, int fontsize,
LONG weight, LONG italic);
int ext_cmp(char *fname, char *ext);
void add_title(char *path, char *title);
void del_title(char *path);
void parse(char *dst, char *src, int n);
char* MyString(UINT id);
int GetMyRegStr(char* section, char* entry, char* val, int cbData,
char* defval);
LONG GetMyRegLong(char* section, char* entry, LONG defval);
LONG GetRegLong(HKEY rootkey, char*subkey, char* entry, LONG defval);
int GetRegStr(HKEY rootkey, char*subkey, char* entry,
char* val, int cbData, char* defval);
BOOL SetMyRegStr(char* subkey, char* entry, char* val);
BOOL SetMyRegLong(char* subkey, char* entry, DWORD val);
void WriteDebug(LPSTR s);
// FORMAT.C
void InitFormat(SYSTEMTIME* lt);
void MakeFormat(char* s, SYSTEMTIME* pt, int beat100, char* fmt);
BOOL IsDispSecond(char* fmt);
int IsDispBeat(char* fmt);
// STARTBTN.C
void SetStartButton(HWND hwnd);
void EndStartButton(void);
void SetStartButtonBmp(void);
void CheckCursorOnStartButton(void);
// STARTMENU.C
void SetStartMenu(HWND hwnd);
void EndStartMenu(void);
void InitStartMenuIE4(void);
void ClearStartMenuIE4(void);
// taskswitch.c
void InitTaskSwitch(HWND hwndClock);
void EndTaskSwitch(void);
// BMP.C
HBITMAP ReadBitmap(HWND hwnd, char* fname, BOOL b);