류짱:Beyond MySelf

System Error Code(시스템 에러 코드) 본문

Microsoft/Windows Platform

System Error Code(시스템 에러 코드)

リュちゃん 2010. 11. 26. 09:27

Windows server에서 발생하는  수 많은 에러들..... 에러 코드가 찾기 어려 울 땐 아래 사이트를 참고 하면 됩니다^^

System Error Codes
http://msdn.microsoft.com/en-us/library/ms681381.aspx

아래 에러 코드는 0x0에서 0xA 까지의 샘플 입니다. 더 많은 에러 코드들은 위 사이트에서 전부 확인 가능 합니다.

The following table provides a list of system error codes (errors 0 to 499). They are returned by the GetLastError function when many functions fail. To retrieve the description text for the error in your application, use the FormatMessage function with the FORMAT_MESSAGE_FROM_SYSTEM flag.

Constant/value

Description

ERROR_SUCCESS

0 (0x0)

The operation completed successfully.

ERROR_INVALID_FUNCTION

1 (0x1)

Incorrect function.

ERROR_FILE_NOT_FOUND

2 (0x2)

The system cannot find the file specified.

ERROR_PATH_NOT_FOUND

3 (0x3)

The system cannot find the path specified.

ERROR_TOO_MANY_OPEN_FILES

4 (0x4)

The system cannot open the file.

ERROR_ACCESS_DENIED

5 (0x5)

Access is denied.

ERROR_INVALID_HANDLE

6 (0x6)

The handle is invalid.

ERROR_ARENA_TRASHED

7 (0x7)

The storage control blocks were destroyed.

ERROR_NOT_ENOUGH_MEMORY

8 (0x8)

Not enough storage is available to process this command.

ERROR_INVALID_BLOCK

9 (0x9)

The storage control block address is invalid.

ERROR_BAD_ENVIRONMENT

10 (0xA)

The environment is incorrect.

감사합니다^^