somSelf (M_WPObject *) - input

      Pointer to the WPObject class object.

    pszTitle (PSZ) - input

      Pointer to the object title.

      A pointer to a null-terminated string which contains the initial title of the object as it is to appear when displayed on the user interface underneath an icon or on the title bar of an open object.

    pszSetupEnv (PSZ) - input

      Environment setup string.

      A pointer to a zero-terminated string which contains the environment setup string of the new object. The pszSetupEnv string is extracted when the wpSetup method is called.

      Refer to wpSetup for the description of this field for the class of the object being created.

    Folder (WPFolder *) - input

      Pointer to the folder object in which to place the new object.

      This pointer can be determined by issuing a call to the wpclsQueryFolder method.

    fLock (BOOL) - input

      Lock object flag.

      Possible values are described in the following list:

      TRUE

        The new flag remains awake until the caller issues the wpUnlockObject method on it.
      FALSE
        The newly created object is made dormant whenever the object and the folder containing the object are closed.

      wpclsNew (WPObject *) - returns

        Pointer to the new object.

        A return value of NULL indicates that an error occurred.


      [Back] [Next]