Changeset 95338 in vbox for trunk/include/VBox/HostServices
- Timestamp:
- Jun 21, 2022 9:20:50 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestPropertySvc.h
r95334 r95338 71 71 * 72 72 * @returns IPRT status code 73 * @param pszName the string to check, must be valid Utf8 74 * @param cbName the number of bytes @a pszName points to, including the terminating character. 75 */ 76 DECLINLINE(int) GuestPropValidateName(const char *pszName, uint32_t cbName) 73 * @param pszName The string to check, must be valid Utf8 74 * @param cbName The number of bytes @a pszName points to, including the 75 * terminating character. 76 */ 77 DECLINLINE(int) GuestPropValidateName(const char *pszName, size_t cbName) 77 78 { 78 79 /* Property name is expected to be at least 1 charecter long plus terminating character. */ … … 96 97 * @retval VERR_TOO_MUCH_DATA if guest property value size exceeds limits. 97 98 * @retval VERR_INVALID_PARAMETER if guest property does not correspond to all other criteria. 98 * @param pszValue the string to check, must be valid Utf899 * @param cbValue the length in bytes of @a pszValue, including the100 * terminator 99 * @param pszValue The string to check, must be valid utf-8. 100 * @param cbValue The size of of @a pszValue in bytes, including the 101 * terminator. 101 102 * @thread HGCM 102 103 */ 103 DECLINLINE(int) GuestPropValidateValue(const char *pszValue, uint32_t cbValue)104 DECLINLINE(int) GuestPropValidateValue(const char *pszValue, size_t cbValue) 104 105 { 105 106 AssertPtrReturn(pszValue, VERR_INVALID_POINTER);
Note:
See TracChangeset
for help on using the changeset viewer.