debugstr.h
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 2k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. /*
  2.  * debugstr.h - Debug message strings.
  3.  */
  4. #ifdef DEBUG
  5. /* TWINRESULT strings */
  6. /*
  7.  * N.b., this array of strings must match the TWINRESULTs defined in synceng.h.
  8.  * The index of the pointer to the string corresponding to a TWINRESULT tr may
  9.  * be determined as rgcpcszTwinResult[tr].
  10.  */
  11. CONST LPCTSTR rgcpcszTwinResult[] =
  12. {
  13.    TEXT("TR_SUCCESS"),
  14.    TEXT("TR_RH_LOAD_FAILED"),
  15.    TEXT("TR_SRC_OPEN_FAILED"),
  16.    TEXT("TR_SRC_READ_FAILED"),
  17.    TEXT("TR_DEST_OPEN_FAILED"),
  18.    TEXT("TR_DEST_WRITE_FAILED"),
  19.    TEXT("TR_ABORT"),
  20.    TEXT("TR_UNAVAILABLE_VOLUME"),
  21.    TEXT("TR_OUT_OF_MEMORY"),
  22.    TEXT("TR_FILE_CHANGED"),
  23.    TEXT("TR_DUPLICATE_TWIN"),
  24.    TEXT("TR_DELETED_TWIN"),
  25.    TEXT("TR_HAS_FOLDER_TWIN_SRC"),
  26.    TEXT("TR_INVALID_PARAMETER"),
  27.    TEXT("TR_REENTERED"),
  28.    TEXT("TR_SAME_FOLDER"),
  29.    TEXT("TR_SUBTREE_CYCLE_FOUND"),
  30.    TEXT("TR_NO_MERGE_HANDLER"),
  31.    TEXT("TR_MERGE_INCOMPLETE"),
  32.    TEXT("TR_TOO_DIFFERENT"),
  33.    TEXT("TR_BRIEFCASE_LOCKED"),
  34.    TEXT("TR_BRIEFCASE_OPEN_FAILED"),
  35.    TEXT("TR_BRIEFCASE_READ_FAILED"),
  36.    TEXT("TR_BRIEFCASE_WRITE_FAILED"),
  37.    TEXT("TR_CORRUPT_BRIEFCASE"),
  38.    TEXT("TR_NEWER_BRIEFCASE"),
  39.    TEXT("TR_NO_MORE")
  40. };
  41. /* CREATERECLISTPROCMSG strings */
  42. /*
  43.  * N.b., this array of strings must match the CREATERECLISTPROCs defined in
  44.  * synceng.h.  The index of the pointer to the string corresponding to a
  45.  * CREATERECLISTPROCMSG crlpm may be determined as
  46.  * rgcpcszCreateRecListMsg[crlpm].
  47.  */
  48. const LPCTSTR rgcpcszCreateRecListMsg[] =
  49. {
  50.    TEXT("CRLS_BEGIN_CREATE_REC_LIST"),
  51.    TEXT("CRLS_DELTA_CREATE_REC_LIST"),
  52.    TEXT("CRLS_END_CREATE_REC_LIST")
  53. };
  54. /* RECSTATUSPROCMSGs strings */
  55. /*
  56.  * N.b., this array of strings must match the RECSTATUSPROCMSGs defined in
  57.  * synceng.h.  The index of the pointer to the string corresponding to a
  58.  * RECSTATUSPROCMSG rspm may be determined as rgcpcszRecStatusMsg[rspm].
  59.  */
  60. CONST LPCTSTR rgcpcszRecStatusMsg[] =
  61. {
  62.    TEXT("RS_BEGIN_COPY"),
  63.    TEXT("RS_DELTA_COPY"),
  64.    TEXT("RS_END_COPY"),
  65.    TEXT("RS_BEGIN_MERGE"),
  66.    TEXT("RS_DELTA_MERGE"),
  67.    TEXT("RS_END_MERGE"),
  68.    TEXT("RS_BEGIN_DELETE"),
  69.    TEXT("RS_DELTA_DELETE"),
  70.    TEXT("RS_END_DELETE")
  71. };
  72. #endif