PROPID_Q_CREATE_TIME (Windows CE 5.0)

Send Feedback

Optional read-only. This property indicates the time and date when the queue was created.

  • Type Indicator
    VT_I4
  • PROPVARIANT Field
    lVal
  • Property Values
    Time when the queue was created.

Remarks

This property is set by MSMQ when MQCreateQueue is called.

An error is returned (MQ_ERROR_PROPERTY_NOTALLOWED) if an attempt is made to set this property.

The time returned is the number of seconds elapsed since midnight (00:00:00), January 1, 1970 (Coordinated Universal time) according to the system clock.

To retrieve the date and time a queue was created, specify PROPID_Q_CREATE_TIME in the MQQUEUEPROPS structure and call MQGetQueueProperties and examine its returned value.

Examples

This example shows how PROPID_Q_CREATE_TIME****is specified in the MQQUEUEPROPS structure for retrieving the date and time when the queue was created.

aPropID[i] = PROPID_Q_CREATE_TIME;    // Property identifier
aVariant[i].vt = VT_I4;               // Type indicator
i++;

Requirements

OS Versions: Windows CE 2.0 and later. Versions prior to 2.12 require the MSMQ add-on pack.
Header: Mq.h.

See Also

MQCreateQueue | MQGetQueueProperties | MQQUEUEPROPS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.