Sunday, June 08, 2008
[Korea 2008] 明洞。火爐妍
撮影日付:31st MAY 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm
不是待在韓國的最後一天,卻是last feast。
珍惜和感謝可以經歷的這一切,
不是歸人只是個過客,
我不該眷戀,我唯一能做的是扎實地裝好行囊,往下一站走去。
[Cat Study Note]
windows.h: contains all Windows function definitions and data type.
HANDLE CreateFile(LPCTSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
Usage: opening existing files and creating new files
Return Value:
Successful case: an open handle to the "File"(in broad meaning)
Failed case: INVALID_HANDLE_VALUE
Q: why int main (int argc, LPTSTR argv[]) but LPCTSTR lpFileName?
--> Since lpFileName(s) will be constant(s) and changing from LPTSTR to LPCTSTR has added more restriction, the transformation is not illegal.
24.008/4.3.6.2 MM Information in MS
If support, MS should accept the message and optionally use it.
If not, MS should ignore and return MM STATUS with cause #97(0110 0001; Message type non-existent or not implemented)
4.4 specific MM
-- only one specific MM at one time
-- common MM can be initiated during a specific MM
-- if CM requests the second specific MM, can reject or delay, depends on implementation