Computer/C, CPP, MFC

SetFilePointer()

๊ฐ„๋‹จ์ •๋ณดSetFilePointer(๋Œ€์ƒ ํŒŒ์ผ์˜ ํ•ธ๋“ค, ์˜ฎ๊ธธ ์œ„์น˜, NULL, ์‹œ์ž‘์œ„์น˜)ํŒŒ์ผ์„ ์ฒ˜์Œ ์—ด์—ˆ์„๋•Œ, ํฌ์ธํ„ฐ์˜ ์œ„์น˜๋Š” ํŒŒ์ผ์˜ ์ฒ˜์Œ, IO ์ฒ˜๋ฆฌ์— ๋”ฐ๋ผ ํŒŒ์ผํฌ์ธํ„ฐ๊ฐ€ ์ž๋™์œผ๋กœ ์ด๋™. SetFilePointer()ํŒŒ์ผ ํฌ์ธํ„ฐ๋ฅผ ์›ํ•˜๋Š” ์œ„์น˜๋กœ ์˜ฎ๊ธธ๋•Œ ์‚ฌ์šฉ.32๋น„ํŠธ์™€ 64๋น„ํŠธ๋ฅผ ๋™์‹œ์— ์ง€์›ํ•˜๊ธฐ ์œ„ํ•ด 2๋ฒˆ์งธ ์ธ์ˆ˜์™€ 3๋ฒˆ์งธ ์ธ์ˆ˜๋ฅผ ํ†ตํ•ด ๊ฐ 4๋ฐ”์ดํŠธ์”ฉ 64๋น„ํŠธ, ์˜คํ”„์…‹์„ ์ „๋‹ฌํ• ์ˆ˜ ์žˆ๋‹ค.SetFilePointerEx ๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๊ฒƒ์ด ์ข‹๋‹ค. ์›ํ˜•DWORD SetFilePointer( HANDLE hFile, LONG IDistanceToMove, PLONG lpDistanceToMoveHigh, DWORD dwMoveMethod); - HANDLE hFile: ํŒŒ์ผํฌ์ธํ„ฐ๋ฅผ ์˜ฎ๊ธฐ๊ณ ์ž ํ•˜๋Š” ๋Œ€์ƒ ํŒŒ์ผ์˜ ํ•ธ๋“ค. - LO..
EIGHTBOX
EIGHTBOX
hwaya.

programmer

๐Ÿ‹์ผ์ƒ์˜ ์†Œ์†Œํ•œ ์ˆœ๊ฐ„๋“ค๋ถ€ํ„ฐ ํฐ ๊ฟˆ๊นŒ์ง€, ํ˜ธ๊ธฐ์‹ฌ์„ ๋งŒ์กฑ์‹œํ‚ฌ ๋‹ค์–‘ํ•œ ์นดํ…Œ๊ณ ๋ฆฌ๋ฅผ ๋‹ด์€ ๋ธ”๋กœ๊ทธ ์ž…๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ , ์†Œ์†Œํ•œ ํ–‰๋™์— ๊ฐ๋™ํ•˜๋ฉฐ ๊ธฐ๋ปํ•˜๊ณ  ํ•˜๋ฃจํ•˜๋ฃจ์— ๊ฐ์‚ฌํ•˜๋Š” ์‚ฌ๋žŒ๐ŸŒต

Today Yesterday Total
์ตœ์‹ ๊ธ€