CollectionsListUpdateMarshalledPointer - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sensorsutils.h

NTSTATUS CollectionsListUpdateMarshalledPointer(
  [in/out] PSENSOR_COLLECTION_LIST Collection
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-sensorsutils-collectionslistupdatemarshalledpointer)

CollectionsListUpdateMarshalledPointer function

Description

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.

Parameters

Collection [in/out]

A pointer to a sensor collection list.

Return value

This function returns STATUS_INVALID_PARAMETER if:

Returns STATUS_SUCCESS otherwise.

Remarks

See also