Results 1 to 2 of 2

Thread: API Registry Error Codes

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Hamilton, New Zealand
    Posts
    137

    Post

    I need a list of error codes / constants that are returned by the registry API function calls.
    E.G I have ERROR_SUCCESS = &0 for a successful command but I need a list of the actual errors

    Thanks

    Matt Brown
    Senior Developer
    Nova Solutions

  2. #2
    Lively Member
    Join Date
    Dec 1999
    Posts
    106

    Post

    These are what I use...

    ' Codes returned by Reg API calls
    Private Const ERROR_NONE = 0
    Private Const ERROR_BADDB = 1
    Private Const ERROR_BADKEY = 2
    Private Const ERROR_CANTOPEN = 3
    Private Const ERROR_CANTREAD = 4
    Private Const ERROR_CANTWRITE = 5
    Private Const ERROR_OUTOFMEMORY = 6
    Private Const ERROR_INVALID_PARAMETER = 7
    Private Const ERROR_ACCESS_DENIED = 8
    Private Const ERROR_INVALID_PARAMETERS = 87
    Private Const ERROR_NO_MORE_ITEMS = 259

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width