예전글들
::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
이 글은 스프링노트에서 작성되었습니다.