{(g|m)_}?{type}{Desc}
{Desc}:{Word}+
Word:[A-Z][a-z, A-Z, 0-9]*
g:全域變數,否則m
Type:
int -> n(開頭)
long -> l
unsigned int / long -> un / ul
DWORD -> dw
WORD -> w
CString / string -> m_str
char* -> null terminated string -> psz / sz
BSTR -> bstr
combo box -> cb
list control / box -> lc
CList
m_EnterText -> m_strEnter / s_strEnter / g_strEnter
CCtDlgInput
CFont -> MFC 4.0 -> MFC 5.0
int nIdxInput, nIdxOutput;
int nCntFile, nCntCar;
count -> cnt;
index -> idx;
display -> disp;
Descrption -> desc
Macro
#define XXXX_XXXX
API: GetMediaFile
沒有留言:
張貼留言