Using Win32 functions in Visual FoxPro Image Gallery
Message and Message Queue
..msdn
BroadcastSystemMessage
GetQueueStatus
MQCloseQueue
MQDeleteQueue
MQHandleToFormatName
MQOpenQueue
MQPathNameToFormatName
MQPurgeQueue
PeekMessage
PostMessage
PostQuitMessage
SendMessage
Code examples:
MQDeleteQueue
..msdn    Add comment     W32 Constants      Translate this page
Deletes a queue from the directory service (in the case of public queues) or from the local computer (in the case of private queues).
Code examples:
Declaration:
HRESULT APIENTRY MQDeleteQueue(
  LPCWSTR lpwcsFormatName  
);
FoxPro declaration:
DECLARE INTEGER MQDeleteQueue IN mqrt;
    STRING lpwcsFormatName  

Parameters:
lpwcsFormatName
[in] Pointer to the format name string of the queue to be deleted.
Return value:
MQ_OK (0) indicates success.
Usage:
cQueueName = STRCONV(;
    "DIRECT=OS:mycomputer\private$\samplequeue", 5)

nResult = MQDeleteQueue(cQueueName)
? "nResult:", TRANSFORM(nResult, "@0")
My comment:
#DEFINE MQ_ERROR_ILLEGAL_FORMATNAME 0xC00E001E
#DEFINE MQ_ERROR_QUEUE_NOT_FOUND 0xC00E0003
Word Index links for the MQDeleteQueue :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2015-06-29 16:13:21
Modified: 2015-06-29 16:16:12
Visited in last 7 days: 10
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.167.250.64)
7 sec.Function: 'InetIsOffline'
14 sec.Function: 'waveInAddBuffer'
22 sec.Function: 'VirtualFreeEx'
30 sec.Function: 'mmioOpen'
39 sec.Function: 'BeginPath'
46 sec.Function: 'CreateTransaction'
54 sec.Function: 'GdipResetWorldTransform'
1.05 min.Function: 'GdipSaveImageToFile'
1.18 min.Function: 'midiOutReset'
1.33 min.Function: 'SetThreadPriority'
Google
Advertise here!