Marshal a DOFPermission into an existing buffer.
- Parameters
-
self | The DOFPermission to be marshaled. This must not be NULL. |
size | The size of the buffer in which to marshal the DOFPermission. |
buffer | The buffer in which to marshal the DOFPermission. This must not be NULL, and must contain at least size bytes. |
- Returns
- The marshaled size of the DOFPermission.
- Exceptions
-
0 | will be returned if the marshaled data does not fit in the buffer, or an invalid parameter is detected. |