Jump to content

DrgQueryFormat: Difference between revisions

From EDM2
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
;Note: This in undocumented function. Information may not be accurate.  
;Note: This is an undocumented function. Information may not be accurate.  


This function allows to query the data format of a drag operation.  
This function allows to query the data format of a drag operation.  
Line 6: Line 6:


==Syntax==
==Syntax==
  DrgQueryFormat(pditem, a, b, c, d)
  DrgQueryFormat(pditem, pszAppMech, cbBuffer, pBuffer, ulFMTIndex)


==Parameters==
==Parameters==
;pditem (PDRAGITEM) - input: Pointer to a DRAGITEM structure.
;pditem (PDRAGITEM) - input: Pointer to a DRAGITEM structure.


; a (PCSZ) - input:  
; pszAppMech (PCSZ) - input:  


; b ([[ULONG]]) - input: Buffer size of string a
; cbBuffer ([[ULONG]]) - input: Buffer size of string "pszAppMech".


; c (PCSZ) - input:  
; pBuffer (PCSZ) - input:  


; d ([[ULONG]]) - input: Buffer size of string c
; ulFMTIndex ([[ULONG]]) - input: Buffer size of string "pBuffer".


==Returns==
;rc ([[ULONG]]) - return:


[[Category:Drg]]
[[Category:Drg]]

Latest revision as of 17:26, 24 April 2025

Note
This is an undocumented function. Information may not be accurate.

This function allows to query the data format of a drag operation.

It is possible that this function was replaced by functions DrgQueryNativeRMF and DrgQueryNativeRMFLen, plus possibly DrgQueryTrueType and DrgQueryTrueTypeLen.

Syntax

DrgQueryFormat(pditem, pszAppMech, cbBuffer, pBuffer, ulFMTIndex)

Parameters

pditem (PDRAGITEM) - input
Pointer to a DRAGITEM structure.
pszAppMech (PCSZ) - input
cbBuffer (ULONG) - input
Buffer size of string "pszAppMech".
pBuffer (PCSZ) - input
ulFMTIndex (ULONG) - input
Buffer size of string "pBuffer".

Returns

rc (ULONG) - return