SetInputStream Method
Sets the stream whose data should be sent.
Syntax
ANSI (Cross Platform) int SetInputStream(CloudKeysStream* sInputStream); Unicode (Windows) INT SetInputStream(CloudKeysStream* sInputStream);
#define MID_AZURESECRETS_SETINPUTSTREAM 16 CLOUDKEYS_EXTERNAL int CLOUDKEYS_CALL CloudKeys_AzureSecrets_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);
Remarks
This method sets the stream whose data should be sent when CreateSecret is called.
Note: Passing a non-null value for InputStream will cause the LocalFile property to be cleared. Similarly, setting LocalFile to a non-empty value will discard any stream set using this method.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)