X-Git-Url: http://git.sourceforge.jp/view?p=ffftp%2Fffftp.git;a=blobdiff_plain;f=clipboard.c;h=658f178026a87711f748cb49f122d286ca09ac35;hp=b02130bcf055aebf5bbcb403a185abfcf5280799;hb=619b82a7a7f0c24da339c76ef9a102960ce928b0;hpb=2bf85c03c1e059a2f75dbd48ef73be5961e12414 diff --git a/clipboard.c b/clipboard.c index b02130b..658f178 100644 --- a/clipboard.c +++ b/clipboard.c @@ -1,6 +1,6 @@ -/*============================================================================= +/*============================================================================= * -* ƒNƒŠƒbƒvƒ{[ƒhŠÖŒW +* クリップボード関係 * =============================================================================== / Copyright (C) 1997-2007 Sota. All rights reserved. @@ -28,6 +28,8 @@ /============================================================================*/ #define STRICT +// IPv6対応 +#include #include #include #include @@ -39,13 +41,13 @@ -/*----- •¶Žš—ñ‚ðƒNƒŠƒbƒvƒ{[ƒh‚ɃRƒs[ ---------------------------------------- +/*----- 文字列をクリップボードにコピー ---------------------------------------- * * Parameter -* char *Str : •¶Žš—ñ +* char *Str : 文字列 * * Return Value -* ‚È‚µ +* なし *----------------------------------------------------------------------------*/ int CopyStrToClipBoard(char *Str) @@ -54,7 +56,7 @@ int CopyStrToClipBoard(char *Str) void *gBuf; HGLOBAL hGlobal; - Sts = FAIL; + Sts = FFFTP_FAIL; if(OpenClipboard(GetMainHwnd())) { if(EmptyClipboard()) @@ -67,7 +69,7 @@ int CopyStrToClipBoard(char *Str) GlobalUnlock(hGlobal); SetClipboardData(CF_TEXT, hGlobal); - Sts = SUCCESS; + Sts = FFFTP_SUCCESS; } } }