What's the details of the return data after calling Application.RegisteredFunctions?

Application.RegisteredFunctions returns 3 columns. The last column is described as "Strings specifying the data types of the return values, and the number and data types of the arguments". Does anybody know the details of it? Is there a table
showing which string specifies which data type? Thanks!

From MSDN:
Data Types
The pxTypeText argument specifies the data type of the return value and the data types of all arguments to the DLL function or code resource. The first character of
pxTypeText specifies the data type of the return value. The remaining characters indicate the data types of all the arguments. For example, a DLL function that returns a floating-point number and takes an integer and a floating-point number as
arguments would require "BIB" for the pxTypeText argument.
The data types and structures used by Excel to exchange data with XLLs are summarized in the following two tables.
The first table lists the types supported in all versions of Excel.
Data type
Pass by value
Pass by ref (pointer)
Comments
Boolean
A
L
short [int] (0=false or 1=true)
double
B
E
char *
C, F
Null-terminated ASCII byte string
unsigned char *
D, G
Counted ASCII byte string
unsigned short [int]
H
16-bit WORD
[signed] short [int]
I
M
16-bit signed integer
[signed long] int
J
N
32-bit signed integer
FP
K
Floating-point array structure
Array
O
Three arguments are passed:
unsigned short int *
unsigned short int *
double []
XLOPER
P
Variable-type worksheet values and arrays
R
Values, arrays, and range references
In Excel 2007 the following data types were introduced to support the larger grids and long Unicode strings.
Data type
Pass by value
Pass by ref (pointer)
Comments
unsigned short *
C%, F%
Null-terminated Unicode wide-character string
unsigned short *
D%, G%
Counted Unicode wide-character string
FP12
K%
Larger grid floating-point array structure
Array
O%
Three arguments are passed:
signed int * / RW *
signed int * / COL *
double []
XLOPER12
Q
Variable-type worksheet values and arrays
U
Values, arrays, and range references
Starting in Excel 2010 the following data types were introduced:
Data Type
Pass by value
Pass by ref (pointer)
Comments
XLOPER12
X
The asynchronous handle is used to track a pending asynchronous function call by Excel and the XLL.The existence of the parameter type in the type string also designates the function as asynchronous.For more information about asynchronous functions, see
Asynchronous User-Defined Functions.
The string types F, F%, G, and G% are used for arguments that are modified-in-place.
When working with the data types displayed in the previous table, be aware of the following:
The C-language declarations assume that your compiler uses 8-byte doubles, 2-byte short integers, and 4-byte long integers by default.
All functions in DLLs and code resources are called using the __stdcall calling convention.
Any function that returns a data type by reference, that is, that returns a pointer to something, can safely return a null pointer. Excel interprets a null pointer as a #NUM! error.
Charles Excel MVP The Excel Calculation Site http://www.decisionmodels.com/

Similar Messages

  • What are the master data tables for 'Plant'?

    Hi friends,
    What are the master data tables for 'Plant' that contain below data?:
    PLANT
    NAME1
    NAME2
    LANGUAGE
    HOUSE_NUM_STREET
    PO_BOX
    POSTAL_CODE
    CITY
    COUNTRY_KEY
    REGION
    COUNTRY_CODE
    CITY_CODE
    TIME_ZONE
    TAX_JURISDICTION
    FACTORY_CALENDAR
    Thanks a lot!

    Hi,
    Plz try out following tables for your requirement.
    TOO1W
    ADRC
    J_1IMOCOMP
    T001W :  werks TYPE t001w-werks, "PLANT
            name1 TYPE t001w-name1, "PLANT DESCRIPTION
            adrnr TYPE t001w-adrnr, "PLANT ADDRESS NUMBER
    ADRC:  addrnumber TYPE adrc-addrnumber,  "ADDRESS NUMBER
             str_suppl1 TYPE adrc-str_suppl1,  "STREET2
             str_suppl2  TYPE adrc-str_suppl2, "STREET3
             street TYPE adrc-street,          "STREET
             city1 TYPE adrc-city1,            "CITY
             post_code1 TYPE adrc-post_code1,  "CITY POSTAL CODE
             post_code2 TYPE adrc-post_code2,  "PO Box postal code
             tel_number TYPE adrc-tel_number,  "TELEPHONE NUMBER
             fax_number TYPE adrc-fax_number,  "FAX NUMBER
             str_suppl3 TYPE adrc-str_suppl3,  "STREET4
             location TYPE adrc-location,      "STREET5
             city2 TYPE adrc-city2,  
    For Tax Details :
    J_1IMOCOMP :   werks TYPE j_1imocomp-werks,
                              j_1icstno TYPE j_1imocomp-j_1icstno,
                              j_1ilstno TYPE j_1imocomp-j_1ilstno,
    Hope this will help.
    Regards,
    Archana

  • The (maximum) expected data length is 6, while the returned data length is

    I would like to connect the view via the OraOLEDB.Oracle' from linked server of the MSSQL and the following column couldn't be selected.
    Msg 7347, Level 16, State 1, Line 2
    OLE DB provider 'OraOLEDB.Oracle' for linked server 'PROD' returned data that does not match expected data length for column salary.LATEST_HIRE_DATE_STATUS'. The (maximum) expected data length is 6, while the returned data length is 4.
    So I would like to change the following code from case method to decode method ? due to the view can be selected by decode method .
    CASE
    WHEN TRUNC (latest_hire_date) >= SYSDATE - 90
    AND type_of_post = 'Temp'
    THEN 'YES'
    ELSE 'NO'
    END
    AS latest_hire_date_status,
    CASE
    WHEN last_day_of_duty IS NOT NULL THEN 'REJECTED'
    ELSE 'PASSED'
    END
    AS last_day_of_duyty_status,
    Edited by: user10605622 on 2012/2/8 上午 8:01

    user10605622 wrote:
    I would like to connect the view via the OraOLEDB.Oracle' from linked server of the MSSQL and the following column couldn't be selected.
    Msg 7347, Level 16, State 1, Line 2
    OLE DB provider 'OraOLEDB.Oracle' for linked server 'PROD' returned data that does not match expected data length for column salary.LATEST_HIRE_DATE_STATUS'. The (maximum) expected data length is 6, while the returned data length is 4.
    So I would like to change the following code from case method to decode method ? due to the view can be selected by decode method .
    CASE
    WHEN TRUNC (latest_hire_date) >= SYSDATE - 90
    AND type_of_post = 'Temp'
    THEN 'YES'
    ELSE 'NO'
    END
    AS latest_hire_date_status,
    CASE
    WHEN last_day_of_duty IS NOT NULL THEN 'REJECTED'
    ELSE 'PASSED'
    END
    AS last_day_of_duyty_status,Not quiet sure what your problem is or what you are asking for?
    There's no need to use a DECODE statement when a CASE will do the same, and more, certainly if you want to check for range values rather than equality values as in your ">= SYSDATE - 90".
    Not quite sure what your error message means either. Seems to be nonesense as it says the maximum is 6 and it's getting 4, but 4 is not greater than 6 so it shouldn't be a problem.

  • IOS GoViral (Milkman class) - what are the returned properties?

    Hi guys
    I've set up the Facebbok login for my app using the GoViral class.
    Just wondering if there is a list somewhere of what you can access, and how, when listening to events?
    For example, I'm using the requestMyFacebookProfile() method to retrieve their unique user ID, but I have no idea how to access the ID via the returned data once it gets to...
    private function onFacebookEvent(e:
    GVFacebookEvent):void
    I can't see a list of the properties you can access in the docs.
    Cheers for taking a look.

    It returns a GVFacebookEvent object, what you need to do is to find that class on your docs (docs/as3doc/all-classes).
    If you need more information (like how is formed the JSON received) just read the Facebook Api documentation.

  • Can I return my MacBook Air past the return date?

    Hi, I have a question that I've been googling but I haven't been able to find an answer to anywhere. Can I return a MacBook Air past the return date to an Apple store if it is still in shrink-wrap and I have a receipt? Thanks.

    I would think you cannot return a product after the return date has passed.
    Call the Apple Store and ask them.

  • What are the master Data in SAP SD

    Hi All,
    I have a question. Even though its a naive question please bear with me.
    what are the master data in SAP SD.
    These are the one's  i know.
    1)   Customer Master Data
    2)   Material  Master Data
    But what i want to know is does the following ones come under master data?
    1) Price master data
    2) Transporters master data(we are using transportation management)
    3) Route master data
    4) Customer material info records
    5) Credit master data(iam using credit management)
    What will be the master data for Transportation management(module), CIN(country India version), credit management & rebate processing
    Thanks for your valuable time & knowledge.
    Regards,
    Pavan

    Hi Pavan,
                  Just to add some more valuable information.
    <b>Organisational master data</b> : Every company is structured in a certain way. In order to work with the SAP System your company structure has to be represented in the system. This is done with the help of various organizational structures.
    <b>Condition master data</b> : In sales and distribution, products are sold or sent to business partners or services are performed for them. Data about the products and services as well as about the business partners is the basis for sales processing. Sales processing with the SAP R/3 System requires that the master data has been stored in the system.
    <b>Material master data</b> : In addition to sales and distribution, other departments of the company such as accounting or materials management access the master data. The material master data is stored in a specific structure in order to allow access from these different views.
    <b>Document master data</b> : The processing of business transactions in sales and distribution is based on the master data. In the SAP R/3 System, business transaction are stored in the form of documents. These sales and distribution documents are structured according to certain criteria so that all necessary information in the document is stored in a systematic way.
    <b>Customer Master Data</b> : or for that matter various business partners, we maintain data for them also called as the customer master data or vendor master data like that.
    Thanks & Regards
    Sadhu Kishore

  • TS4000 What is the "correct" date and time settings for icloud reminders?

    What is the "correct" date and time settings for icloud reminders?

    Sep. 18th. We don't know what time.

  • What is the smallest data structure record in a .TXT file record to be recognized as an Apple Address Book "Data Card"?

    Hello! This is my first time in this discussion group. The question posed is the subject line itself:
    What is the smallest data structure record in a .TXT file record to be recognized as an Apple Address Book "Data Card"?
    I'm lazy! As a math instructor with 40+ students per class per semester (pCpS), I would rather not have to create 40 data cards pCpS by hand, only to expunge that info at semester's end. My college's IS department can easily supply me with First name, Last name, and eMail address info, along with a myriad of other fields. I can manipulate those data on my end to create the necessary .TXT file, but I don't know the essential structure of that file.
    Can you help me?
    Thank you in advance.
    Bill

    Hello Bill, & welcome aboard!
    No idea what  pCpS is, sorry.
    To import a text file into Address Book, it needs to be a comma delimited .csv file, like...
    Customer Name,Company,Address1,Address2,City,State,Zip
    Customer 1,Company 1,2233 W Seventh Street,Unit 543,Seattle,WA,99099
    Customer 2,Company 2,1 Park Avenue,,New York,NY,10001
    Customer 3,Company 3,65 Loma Linda Parkway,,San Jose,CA,94321
    Customer 4,Company 4,89988 E 23rd Street,B720,Oakland,CA,99899
    Customer 5,Company 5,432 1st Avenue,,Seattle,WA,99876
    Customer 6,Company 6,76765 NE 92nd Street,,Seattle,WA,98009
    Customer 7,Company 7,8976 Poplar Street,,Coupeville,WA,98976
    Customer 8,Company 8,7677 4th Ave North,,Seattle,WA ,89876
    Customer 9,Company 9,4556 Fauntleroy Avenue,,West Seattle,WA,98987
    Customer 10,Company 10,4 Bell Street,,Cincinnati,OH,89987
    Customer 11,Company 11,4001 Beacon Ave North,,Seattle,WA,90887
    Customer 12,Company 12,63 Dehli Street,,Noida,India,898877-8879
    Customer 13,Company 13,63 Dehli Street,,Noida,India,898877-8879
    Customer 14,Company 14,63 Dehli Street,,Noida,India,898877-8879
    Customer 15,Company 15,4847 Spirit Lake Drive,,Bellevue,WA,98006
    Customer 16,Company 16,444 Clark Avenue,,West Seattle,WA,88989
    Customer 17,Company 17,6601 E Stallion,,Scottsdale,AZ,85254
    Customer 18,Company 18,801 N 34th Street,,Seattle,WA,98103
    Customer 19,Company 19,15925 SE 92nd,,Newcastle,WA,99898
    Customer 20,Company 20,3335 NW 220th,2nd Floor,Edmonds,WA,99890
    Customer 21,Company 21,444 E Greenway,,Scottsdale,AZ,85654
    Customer 22,Company 22,4 Railroad Drive,,Moclips,WA,98988
    Customer 23,Company 23,89887 E 64th,,Scottsdale,AZ,87877
    Customer 24,Company 24,15620 SE 43rd Street,,Bellevue,WA,98006
    Customer 25,Company 25,123 Smalltown,,Redmond,WA,98998
    Try Address Book Importer...
    http://www.sillybit.com/abee/

  • What is the Maximum Data can a file adapter can send at a time.

    Hi ,
    What is the Maximum Data can a file adapter can send at a time.Is there any maximum limit data can adapters will send.
    can any one help on this.
    regrads
    Raghu

    Hi Reddy,
    I have raised the same question and I got correct answer.
    Refer the below thread which will give u information.
    Wat is the maximu size of data XI can handle
    Thnx
    Chirag

  • What is the new data structure for .RTM files in LV8?

    We have software that translates our LV
    program to another language.  Part of that software package reads RTM
    files, decodes them, replaces text, and resaves them.  That code is
    broken for menus that are saved in LV8+, however.  What is the new data
    structure?
    The simple attached zip file has vi's which
    are not ours but serve to illustrate the point.  If it's run on an
    older RTM file, it correctly outputs and XML version of it, on newer
    RTM files it just throws an error.
    -- This is the second time I posted this.  I was curious what the Solution? icon did on somebody elses post and I apparently marked the whole thread as solved (there should really be an undo on that feature btw --
    Attachments:
    RunTime_Menu_to_XML.zip ‏33 KB

    Hi Thomas,
     What error are you getting when running the program?  I was actually able to run it without errors in LV 8.6.  
    There are ways to programmatically read and customize RTM files in LabVIEW.  I hope that the following links will help:
    http://zone.ni.com/reference/en-XX/help/371361B-01/lvhowto/customizing_shortcut_menus_programm/
    http://digital.ni.com/public.nsf/allkb/17803AA31C8C07C986256CFD0080D609?OpenDocument
    Cheers, 
    Marti C
    Applications Engineer
    National Instruments
    NI Medical

  • What is the Released date for IPhone 5?

    What is the Released date for IPhone 5?

    When Apple makes an announcement.
    Based on the past 4 years, the original iPhone was released in the summer of 2007.
    The iPhone 3G was released in the summer of 2008.
    The iPhone 3GS was released in the summer of 2009.
    The iPhone 4 was released this past summer.

  • What's the maximal data amount to be sent by mail?

    What's the maximal data amount to be sent by mail?

    Most ISP's will spit back an attachment that's over 10MB, some less than that.

  • What  are the usual date field validations

    Hi all,
    can you please tell me what  are the usual date field validations in selection Screen
    Thanks and regards ,
    Madhavi pilla

    Once you declare it as TYPE SY-DATUM, usually that is enough.  Sometimes we will also check that it is not less than '18000101' or greater than '99991231'.  Or if you have a specific date range that applies to your program you could check the field contents against that. I hope this helps.
    - April King

  • What are the different data update in CRM through middle ware?

    HI,
    What are the different data update in CRM through middle ware?
    Regards,
    babu

    Hi
    Through Middlware the data can be of three types
    BUSINESS OBJECTS
    CONDITION OBJECTS
    CUSTOMIZING OBJECTS
    hope it gives some clarity
    reward if helpful
    regards
    VENU

  • SAP LSO:  What is the suspend data limit on the LSO Repository out of the box?

    What is the suspend data limit on the LSO Repository out of the box?  What is this value set to by default in the SAP LSO?
    Thanks in advance!

    This laptop is equipped with SATA I, which is 150Gbit/s. You wont reach the maximum speed of your SSD but it will be much faster then your current old school spinner drive. An SSD will always outperform a normal HDD. Plus you should see a bump in battery life as well.
    Hope this helps!
    Sean
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

Maybe you are looking for

  • How to create a standard order with using the Scheduling agreement.

    Hi All, Could any body tell me step by step process of creating a standard order using the Scheduling agreement reference. Thanks, srinivas.

  • Install an old leopard on a new i5 MACBOOK PRO...

    i just bought a new macbook pro 15" i5 with snow leopard on it.. may i install an older version of leopard like the basic 10.5 ??

  • Dependant(?) Data Merging

    Windows 7, InDesign CS4, Excel 2010 I hope this makes sense:      I have a project that involves making labels for about 800 SKUs. I've merged data before when making labels like this and it worked great (it's been a while though). Anyway, this proje

  • Set Up Users in PS 9.1  - Which pages belong to which module

    Hello all, I'm trying to set up some users in our PS Financials 9.1 environment but I have a little problem. I don't have much PS experience yet and so I don't know which pages belong to which modules so it is difficult to set up permission lists and

  • Camera Raw with Canon G15

    I am using Photoshop CS5 and Camera RAW 6.7 whichcthe adobe website tells me supports my Canon Powershot G15's RAW format, however when I try to open a RAW image Photoshop says the image was taken by an unsupported camera.