Skip to content

Commit

Permalink
swap fields in AdsNotificationHeader to fit to Windows version
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Lehmann committed Sep 29, 2017
1 parent 1cdb8ed commit e181ca2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AdsLib/AdsDef.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,12 @@ struct AdsNotificationAttrib {
* @brief This structure is also passed to the callback function.
*/
struct AdsNotificationHeader {
/** Contains a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC). */
uint64_t nTimeStamp;

/** Handle for the notification. Is specified when the notification is defined. */
uint32_t hNotification;

/** Contains a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC). */
uint64_t nTimeStamp;

/** Number of bytes transferred. */
uint32_t cbSampleSize;
};
Expand Down

0 comments on commit e181ca2

Please sign in to comment.