SetAppStatusInfo
Description
ÀÀ¿ëÇÁ·Î±×·¥ÀÇ ÀÌÀü »óÅ Á¤º¸¸¦ ÀúÀåÇÑ´Ù.
Syntax
Boolean SetAppStatusInfo( P_APPSTATUSINFO pASI )
Parameters
pASI APPSTATUSINFO Structure ÀÇ Æ÷ÀÎÅÍÀÌ´Ù.
Returns
Comments
¼¿ºò ÀÀ¿ëÇÁ·Î±×·¥ÀÇ ±Û·Î¹ú ¿µ¿ªÀº ´Ù¸¥ ÀÀ¿ëÇÁ·Î±×·¥°ú ÇÔ²² °øÀ¯ÇÏ¿© »ç¿ëµÇ°í ÀÖ´Ù. µû¶ó¼, ÇÁ·Î±×·¥ÀÇ ½ÇÇà Áß¿¡¸¸ À¯È¿ÇÏ´Ù. ÇÁ·Î±×·¥ÀÇ ¼º°Ý»ó ´Ù½Ã ÇØ´ç ÇÁ·Î±×·¥ÀÌ ¼öÇàµÉ ¶§ ÀÌÀüÀÇ »óÅÂÁ¤º¸¸¦ ÀúÀåÇصξî¾ß ÇÒ ÇÊ¿ä°¡ ÀÖ´Ù. ÀÌ·¯ÇÑ °æ¿ì SetAppStatusInfo¸¦ ÀÌ¿ëÇÏ¿© ÇÊ¿äÇÑ Á¤º¸¸¦ ½Ã½ºÅÛ¿¡¼ °ü¸®ÇÏ´Â µ¥ÀÌÅÍ ÀúÀå°ø°£¿¡ º¸°üÇÒ ¼ö ÀÖ´Ù.
typedef struct tagAPPSTATUSINFO {
| U32 | AppID; |
| S16 | BlobLen1; |
| P_VOID | pBlob1; |
| S16 | BlobLen2; |
| P_VOID | pBlob2; |
} APPSTATUSINFO, *P_APPSTATUSINFO;
À§¿Í °°Àº ½ºÆ®·°Ãĸ¦ »ç¿ëÇÑ´Ù.
See Also
InitASIBlock, GetAppStatusInfo
Example
struct {
| int | LastFormID; |
| char | TemporalSave[200]; |
} MyInfo;
Boolean SaveMyInfo(void)
{
APPSTATUSINFO asi;
InitASIBlock(&asi);
asi.AppID = GetCurAppID();
asi.BlobLen1 = sizeof(MyInfo);
asi.pBlob1 = &MyInfo;
return (SetAppStatusInfo(&asi));
}