नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
This function retrieves a variety of user-specific options.
Syntax
SCCRTN SccGetUserOption(
LPVOID pContext,
LONG nOption,
LPLONG lpVal
);
Parameters
pContext
[in] The source control plug-in context pointer.
nOption
[in] Option to retrieve (see Remarks for possible options).
lpVal
[out] Value associated with option.
Return Value
The source control plug-in implementation of this function is expected to return one of the following values:
| Value | Description |
|---|---|
| SCC_OK | Option was retrieved successfully. |
| SCC_E_OPNOTSUPPORTED | Option is not supported. |
| SCC_E_NONSPECIFICERROR | An unspecified error occurred. |
Remarks
The following options are supported by this command:
| User Option | Description |
|---|---|
SCC_USEROPT_CHECKOUT_LOCALVER |
Determines whether the user wants to check out local version of files. lpVal is assigned SCC_USEROPT_COLV_YES (user wants to check out local files) or SCC_USEROPT_COLV_NO. |