CollectionsListUpdateMarshalledPointer function (sensorsutils.h)
This routine update embedded pointers. It should be called when marshalled collection list pass between processes.
Warning
This method assumes the structure sizes stay the same during marshalling. Avoid using this method if passing the data between processes that can have different bit-ness values (e.g. 32 bit <-> 64 bit). Use CollectionsListDeserializeFromBuffer instead.
Syntax
NTSTATUS CollectionsListUpdateMarshalledPointer(
[in/out] PSENSOR_COLLECTION_LIST Collection
);
Parameters
[in/out] Collection
A pointer to a sensor collection list.
Return value
This function returns STATUS_INVALID_PARAMETER if:
- The Collection is null.
- The AllocatedSizeInBytes member of Collection is less than the acceptable minimum size (in bytes) for a sensor collection list.
Returns STATUS_SUCCESS otherwise.
Requirements
Requirement | Value |
---|---|
Header | sensorsutils.h |