[PR]

『新妻LOVELY×CATION』を応援しています!
水無瀬の部屋 > Programming > sample > sendsend > sendsend.h
最終更新日: 2007/03/05

   1: //*********************************************************
   2: // プロジェクト: send to 'SendTo'
   3: //   ファイル名: sendsend.h
   4: //*********************************************************
   5: #ifndef SENDSEND_HEAD_INCLUDED
   6: #define SENDSEND_HEAD_INCLUDED
   7: 
   8: 
   9: //*********************************************************
  10: // ヘッダ の インクルード
  11: //*********************************************************
  12: #ifndef TOOLS_HEAD_INCLUDED     // 冗長ガード
  13: #include <tools.h>
  14: #ifndef TOOLS_HEAD_INCLUDED     // ガード名の検査
  15: #error "? TOOLS_HEAD_INCLUDED"
  16: #endif // #ifndef TOOLS_HEAD_INCLUDED
  17: #endif // #ifndef TOOLS_HEAD_INCLUDED
  18: 
  19: 
  20: //*********************************************************
  21: // マクロ の 定義
  22: //*********************************************************
  23: /*
  24: #define ID_SENDTO         ( 0 )
  25: #define ID_STARTUP        ( 1 )
  26: #define ID_DESKTOP        ( 2 )
  27: #define ID_STARTMENU      ( 3 )
  28: #define ID_PATH           ( 4 ) // パスを指定
  29: #define COMMAND_NUM       ( 5 )
  30: */
  31: #define ID_PATH                    (  0 ) // パスを指定
  32: #define ID_STARTMENU               (  1 )
  33: #define ID_PROGRAMS                (  2 )
  34: #define ID_STARTUP                 (  3 )
  35: #define ID_ADMINTOOLS              (  4 )
  36: #define ID_SENDTO                  (  5 )
  37: #define ID_FAVORITES               (  6 )
  38: #define ID_PERSONAL                (  7 )
  39: #define ID_MYPICTURES              (  8 )
  40: #define ID_MYMUSIC                 (  9 )
  41: #define ID_MYVIDEO                 ( 10 )
  42: #define ID_DESKTOPDIRECTORY        ( 11 )
  43: //
  44: #define ID_COMMON_STARTMENU        ( 12 )
  45: #define ID_COMMON_PROGRAMS         ( 13 )
  46: #define ID_COMMON_STARTUP          ( 14 )
  47: #define ID_COMMON_ADMINTOOLS       ( 15 )
  48: #define ID_COMMON_FAVORITES        ( 16 )
  49: #define ID_COMMON_DOCUMENTS        ( 17 )
  50: #define ID_COMMON_PICTURES         ( 18 )
  51: #define ID_COMMON_MUSIC            ( 19 )
  52: #define ID_COMMON_VIDEO            ( 20 )
  53: #define ID_COMMON_DESKTOPDIRECTORY ( 21 )
  54: //
  55: #define ID_WINDOWS                 ( 22 )
  56: #define ID_SYSTEM                  ( 23 )
  57: //
  58: #define ID_QUICKLAUNCH             ( 24 )
  59: 
  60: #define COMMAND_NUM                ( 25 )
  61: 
  62: /*
  63: #define SENDTO_SENDTO     ( (DWORD)BIT( ID_SENDTO    ) )
  64: #define SENDTO_STARTUP    ( (DWORD)BIT( ID_STARTUP   ) )
  65: #define SENDTO_DESKTOP    ( (DWORD)BIT( ID_DESKTOP   ) )
  66: #define SENDTO_STARTMENU  ( (DWORD)BIT( ID_STARTMENU ) )
  67: #define SENDTO_PATH       ( (DWORD)BIT( ID_PATH      ) )    // パスを指定
  68: */
  69: #define SENDTO_PATH                    ( (DWORD)BIT( ID_PATH      ) )
  70: #define SENDTO_STARTMENU               ( (DWORD)BIT( ID_STARTMENU ) )
  71: #define SENDTO_PROGRAMS                ( (DWORD)BIT( ID_PROGRAMS ) )
  72: #define SENDTO_STARTUP                 ( (DWORD)BIT( ID_STARTUP ) )
  73: #define SENDTO_ADMINTOOLS              ( (DWORD)BIT( ID_ADMINTOOLS ) )
  74: #define SENDTO_SENDTO                  ( (DWORD)BIT( ID_SENDTO ) )
  75: #define SENDTO_FAVORITES               ( (DWORD)BIT( ID_FAVORITES ) )
  76: #define SENDTO_PERSONAL                ( (DWORD)BIT( ID_PERSONAL ) )
  77: #define SENDTO_MYPICTURES              ( (DWORD)BIT( ID_MYPICTURES ) )
  78: #define SENDTO_MYMUSIC                 ( (DWORD)BIT( ID_MYMUSIC ) )
  79: #define SENDTO_MYVIDEO                 ( (DWORD)BIT( ID_MYVIDEO ) )
  80: #define SENDTO_DESKTOPDIRECTORY        ( (DWORD)BIT( ID_DESKTOPDIRECTORY ) )
  81: //
  82: #define SENDTO_COMMON_STARTMENU        ( (DWORD)BIT( ID_COMMON_STARTMENU ) )
  83: #define SENDTO_COMMON_PROGRAMS         ( (DWORD)BIT( ID_COMMON_PROGRAMS ) )
  84: #define SENDTO_COMMON_STARTUP          ( (DWORD)BIT( ID_COMMON_STARTUP ) )
  85: #define SENDTO_COMMON_ADMINTOOLS       ( (DWORD)BIT( ID_COMMON_ADMINTOOLS ) )
  86: #define SENDTO_COMMON_FAVORITES        ( (DWORD)BIT( ID_COMMON_FAVORITES ) )
  87: #define SENDTO_COMMON_DOCUMENTS        ( (DWORD)BIT( ID_COMMON_DOCUMENTS ) )
  88: #define SENDTO_COMMON_PICTURES         ( (DWORD)BIT( ID_COMMON_PICTURES ) )
  89: #define SENDTO_COMMON_MUSIC            ( (DWORD)BIT( ID_COMMON_MUSIC ) )
  90: #define SENDTO_COMMON_VIDEO            ( (DWORD)BIT( ID_COMMON_VIDEO ) )
  91: #define SENDTO_COMMON_DESKTOPDIRECTORY ( (DWORD)BIT( ID_COMMON_DESKTOPDIRECTORY ) )
  92: //
  93: #define SENDTO_WINDOWS                 ( (DWORD)BIT( ID_WINDOWS ) )
  94: #define SENDTO_SYSTEM                  ( (DWORD)BIT( ID_SYSTEM ) )
  95: //
  96: #define SENDTO_QUICKLAUNCH             ( (DWORD)BIT( ID_QUICKLAUNCH ) )
  97: 
  98: //
  99: #define PARAM_NOTOPEN                  "/open:0"
 100: #define PARAM_NOEXT                    "/ext:0"
 101: #define PARAM_PATH                     "/path"    // パスを指定
 102: //
 103: #define PARAM_STARTMENU                "/startmenu"  //
 104: #define PARAM_PROGRAMS                 "/programs"   //
 105: #define PARAM_STARTUP                  "/startup"    //
 106: #define PARAM_ADMINTOOLS               "/admintools" //
 107: #define PARAM_SENDTO                   "/sendto"     //
 108: #define PARAM_FAVORITES                "/favorites"  //
 109: #define PARAM_PERSONAL                 "/mydoc"      //
 110: #define PARAM_MYPICTURES               "/mypict"     //
 111: #define PARAM_MYMUSIC                  "/mymusic"    //
 112: #define PARAM_MYVIDEO                  "/myvideo"    //
 113: #define PARAM_DESKTOPDIRECTORY         "/desktop"    //
 114: //
 115: #define PARAM_COMMON_STARTMENU         "/startmenu:all"
 116: #define PARAM_COMMON_PROGRAMS          "/programs:all"
 117: #define PARAM_COMMON_STARTUP           "/startup:all"
 118: #define PARAM_COMMON_ADMINTOOLS        "/admintools:all"
 119: #define PARAM_COMMON_FAVORITES         "/favorites:all"
 120: #define PARAM_COMMON_DOCUMENTS         "/mydoc:all"
 121: #define PARAM_COMMON_PICTURES          "/mypict:all"
 122: #define PARAM_COMMON_MUSIC             "/mymusic:all"
 123: #define PARAM_COMMON_VIDEO             "/myvideo:all"
 124: #define PARAM_COMMON_DESKTOPDIRECTORY  "/desktop:all"
 125: //
 126: #define PARAM_WINDOWS                  "/windows"
 127: #define PARAM_SYSTEM                   "/system"
 128: //
 129: #define PARAM_QUICKLAUNCH              "/qlaunch"
 130: 
 131: 
 132: //*********************************************************
 133: // 構造体 の 宣言
 134: //*********************************************************
 135: // SENDPARAM_t
 136: typedef struct SENDPARAM_tag
 137: {
 138: 	bool       bNoExt;
 139: 	bool       bOpenFolder; 
 140: 	DWORD      flags; // 登録先フォルダ( SENDTO_SENDTO | SENDTO_STARTUP | SENDTO_DESKTOP | ... )
 141: 	ptrlist_t *folder;
 142: } SENDPARAM_t;
 143: 
 144: 
 145: //*********************************************************
 146: // 関数 の 宣言
 147: //*********************************************************
 148: #ifdef __cplusplus
 149: extern "C" {
 150: #endif
 151: 
 152: 
 153: // sendsend.cpp
 154: int ApplicationMainProc( HINSTANCE hInstance, int argc, char **argv );
 155: 
 156: 
 157: #ifdef __cplusplus
 158: } // extern "C"
 159: #endif
 160: 
 161: 
 162: #endif // #ifndef SENDSEND_HEAD_INCLUDED
 163: 
 164: 
 165: //** end **
 166: 

参照: cmdline.h, custom.cpp, main.cpp, parambox.cpp, pathlist.cpp, select.h, sendsend.cpp


Google
ご意見・ご感想をお聞かせ下さい。匿名で送信できます。

 * 返信が必要な場合には postmaster@katsura-kotonoha.sakura.ne.jp へ直接メールしてください。

水無瀬の部屋 > sample > sendsend > sendsend.h

このページは cpp2web が出力しました。
水無瀬 優 postmaster@katsura-kotonoha.sakura.ne.jp
http://katsura-kotonoha.sakura.ne.jp/prog/code/sendsend/sendsend_h.shtml
『新妻LOVELY×CATION』を応援しています!