3.10.4.1.23 JournalQuota (Opnum 29)
The JournalQuota method is received by the server in an RPC_REQUEST packet. In response, the server returns the maximum size, in kilobytes, that is allowed for the Messages in the journal queue of the referenced queue.
-
[propget] HRESULT JournalQuota( [out, retval] long* plJournalQuota );
plJournalQuota: A pointer to a long that specifies the maximum size, in kilobytes, that is allowed for the Messages in the JournalQueueReference.MessagePositionList of the referenced queue.
Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific error HRESULT on failure.
When processing this call, the server MUST abide by the following contract:
If IsRefreshed is FALSE call Refresh (section 3.10.4.1.29).
If Refresh returns a value other than S_OK (0x00000000), return the HRESULT returned by Refresh and take no further action.
If IsApplicationQueue is True:
Set the plJournalQuota output parameter to the value of refQueue.JournalQuota/1000.
Else:
Set the plJournalQuota output parameter to the value of 0xffffffff.
Return S_OK (0x00000000), and take no further action.