Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
05-06 00:01
관리 메뉴

zyint's blog

::SetId 본문

예전글들

::SetId

진트­ 2009. 3. 13. 08:24

ISpObjectToken::SetId

sets the CategoryId for object token.

 

HRESULT SetId(
   LPCWSTR       *pszCategoryId,
   LPCWSTR       *pszTokenId,
   BOOL           fCreateIfNotExist
);

파라미터

  • pszCategoryId
    [in] The null-terminated string name of category to set.
  • pszTokenId
    [in] The null-terminated string name of token to set.
  • fCreateIfNotExist[in] A Boolean indicating the object is to be created if not currently existing. TRUE allows the creation; FALSE does not.

 

반환 값

Value Description
S_OK Function completed successfully.
SPERR_ALREADY_INITIALIZED Category interface is already initialized.
SPERR_TOKEN_DELETED Key has been deleted.
E_INVALIDARG Either pszCategoryId and/or pszTokenId is invalid or bad.
FAILED(hr) Appropriate error message.

 

참고자료

http://msdn.microsoft.com/en-us/library/ms718352(VS.85).aspx

 

이 글은 스프링노트에서 작성되었습니다.

Comments