Results 1 to 3 of 3

Thread: Syntax Question (I think)

Threaded View

  1. #1

    Thread Starter
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,500

    Syntax Question (I think)

    Hi,

    Can you tell me please the meaning and purpose of " <MarshalAs(UnmanagedType.U4)> " in the following code?


    Code:
    Private Declare Function mixerOpen Lib "winmm.dll" _
            (ByRef phmx As Integer, <MarshalAs(UnmanagedType.U4)> ByVal uMxId As Integer, ByVal _
            dwCallback As Integer, ByVal dwInstance As Integer, ByVal fdwOpen As Integer) As Integer
    In particular the purpose of anything between the 'Less than' and 'Greater than' characters.

    Poppa.
    Last edited by Poppa Mintin; Aug 12th, 2012 at 11:15 AM. Reason: Spelling !
    Along with the sunshine there has to be a little rain sometime.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width