44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
/* Narrow read-only MS-W32T client, interface v4.1, Opnum6.
|
|
* Wire layout derived from Microsoft Open Specifications MS-W32T 2.2.5, 3.1.5.7.
|
|
* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-w32t/5793e908-22ef-4cea-962f-fca8a72c485a
|
|
* Slots 0..5 preserve the ordinal only. No code calls or exposes these slots;
|
|
* they are deliberately NOT definitions of the real mutating RPC operations.
|
|
*/
|
|
typedef struct {
|
|
unsigned long ulSize;
|
|
[string, unique] wchar_t *wszName;
|
|
[string, unique] wchar_t *wszValue;
|
|
[string, unique] wchar_t *wszHelp;
|
|
} RMM_W32TIME_ENTRY;
|
|
typedef struct {
|
|
unsigned long ulSize;
|
|
unsigned long eLeapIndicator;
|
|
unsigned long nStratum;
|
|
long nPollInterval;
|
|
unsigned long refidSource;
|
|
unsigned hyper qwLastSyncTicks;
|
|
hyper toRootDelay;
|
|
unsigned hyper tpRootDispersion;
|
|
long nClockPrecision;
|
|
[string, unique] wchar_t *wszSource;
|
|
hyper toSysPhaseOffset;
|
|
unsigned long ulLcState;
|
|
unsigned long ulTSFlags;
|
|
unsigned long ulClockRate;
|
|
unsigned long ulNetlogonServiceBits;
|
|
unsigned long eLastSyncResult;
|
|
unsigned hyper tpTimeLastGoodSync;
|
|
unsigned long cEntries;
|
|
[size_is(cEntries)] RMM_W32TIME_ENTRY *pEntries;
|
|
} RMM_W32TIME_STATUS;
|
|
[uuid(8fb6d884-2388-11d0-8c35-00c04fda2795), version(4.1), pointer_default(unique)]
|
|
interface RmmW32Time {
|
|
unsigned long RmmUnusedSlot0([in] handle_t binding);
|
|
unsigned long RmmUnusedSlot1([in] handle_t binding);
|
|
unsigned long RmmUnusedSlot2([in] handle_t binding);
|
|
unsigned long RmmUnusedSlot3([in] handle_t binding);
|
|
unsigned long RmmUnusedSlot4([in] handle_t binding);
|
|
unsigned long RmmUnusedSlot5([in] handle_t binding);
|
|
unsigned long RmmW32TimeQueryStatus([in] handle_t binding, [out, ref] RMM_W32TIME_STATUS **status);
|
|
}
|