|
설마.. 제가 헬프도 안찾아봤을라구여 ㅡ_ㅡ;;
암만 봐두 모르겐는걸 ㅠ_ㅠ
쩝...
강재호 님이 쓰신 글 :
: 수야 님이 쓰신 글 :
: : 이노무 API 함수는 어케 쓰는지 도무지 알수가 엄네여 ㅡ_ㅡ;;
: :
: : 방법점 알려주세여 ^^;;
:
: 저도 잘 모르겠고요 그냥 헬프 복사해서 드립니다.
:
: 그럼 이만~
:
: 허접 초보 만해~
:
: The GetFileSize function obtains the uncompressed size of a file. Use the GetCompressedFileSize function to obtain the compressed size of a file.
: Note that if the return value is 0xFFFFFFFF and lpFileSizeHigh is non-NULL, an application must call GetLastError to determine whether the function has succeeded or failed. The following sample code illustrates this point:
:
: //
: // Case One: calling the function with
: // lpFileSizeHigh == NULL
:
: // Try to obtain hFile's size
: dwSize = GetFileSize (hFile, NULL) ;
:
: // If we failed ...
: if (dwSize == 0xFFFFFFFF) {
:
: // Obtain the error code.
: dwError = GetLastError() ;
:
: // Deal with that failure.
: .
: .
: .
:
: } // End of error handler
:
:
: //
: // Case Two: calling the function with
: // lpFileSizeHigh != NULL
:
: // Try to obtain hFile's huge size.
:
: dwSizeLow = GetFileSize (hFile, & dwSizeHigh) ;
:
: // If we failed ...
: if (dwSizeLow == 0xFFFFFFFF
: &&
: (dwError = GetLastError()) != NO_ERROR ){
:
: // Deal with that failure.
: .
: .
: .
:
: } // End of error handler.
:
:
: See Also
:
: GetCompressedFileSize, GetFileType
|